Ignore:
Timestamp:
Feb 29, 2016, 3:46:35 PM (3 years ago)
Author:
cameron
Message:

Refactor and encapsulate grep codegen/execution in GrepEngine?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain.cpp

    r4944 r4946  
    99#include <fstream>
    1010
    11 #include "utf_encoding.h"
    12 #include "pablo/pablo_compiler.h"
    1311#include <llvm/IR/Function.h>
    1412#include <llvm/IR/Module.h>
     
    5351#include <pablo/printer_pablos.h>
    5452
    55 #include "do_grep.h"
    56 
    5753using namespace pablo;
    5854
     
    113109#endif
    114110
    115 static cl::opt<bool> DisableAVX2("disable-AVX2", cl::init(false), cl::desc("disable AVX2 instruction set."), cl::cat(cPabloOptimizationsOptions));
     111static cl::OptionCategory dCodeGenOptions("Code Generation Options", "These options control code generation.");
     112
     113static cl::opt<bool> DisableAVX2("disable-AVX2", cl::init(false), cl::desc("disable AVX2 instruction set."), cl::cat(dCodeGenOptions));
     114
     115static cl::opt<int> BlockSize("BlockSize", cl::init(0), cl::desc("specify a block size (defaults to widest SIMD register width in bits)."), cl::cat(dCodeGenOptions));
     116
    116117
    117118re::RE * regular_expression_passes(const Encoding encoding, re::RE * re_ast)  {
     
    378379    }
    379380}
    380 
Note: See TracChangeset for help on using the changeset viewer.