Ignore:
Timestamp:
Mar 10, 2016, 2:38:50 PM (4 years ago)
Author:
lindanl
Message:

Multiple input files can run on separate threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.h

    r4959 r4967  
    2424    void grepCodeGen(std::string moduleName, re::RE * re_ast, bool isNameExpression = false);
    2525   
    26     bool openMMap(const std::string & fileName);
    27    
    28     void closeMMap();
    29 
    30     void doGrep();
     26    void doGrep(const std::string & fileName);
    3127   
    3228    re::CC *  grepCodepoints();
     
    3834private:
    3935   
    40     bool finalLineIsUnterminated() const;
     36    bool finalLineIsUnterminated(char * fileBuffer, int fileSize) const;
    4137
    4238    main_fcn_T mMainFcn;
    4339   
    4440    bool mIsNameExpression;
    45     std::string mFileName;
    46     size_t mFileSize;
    47     char * mFileBuffer;
    4841    llvm::ExecutionEngine * mEngine;
    4942};
Note: See TracChangeset for help on using the changeset viewer.