Ignore:
Timestamp:
May 16, 2017, 4:13:53 PM (2 years ago)
Author:
nmedfort
Message:

Bug fix check in for DumpTrace?, compilation of DoBlock? / DoFinalBlock? functions. Pablo CodeMotionPass? optimized and enabled by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/grep_kernel.h

    r5440 r5454  
    1212namespace kernel {
    1313
    14 class ICgrepKernelBuilder: public pablo::PabloKernel {
     14struct RegularExpressionOptimizer {
     15    RegularExpressionOptimizer(re::RE * re_ast);
     16protected:
     17    re::RE * const  mRE;
     18    std::string     mSignature;
     19};
     20
     21class ICGrepKernel : public RegularExpressionOptimizer, public pablo::PabloKernel {
    1522public:
    16     ICgrepKernelBuilder(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, re::RE * const re_ast);   
     23    ICGrepKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, re::RE * const re_ast);
    1724    std::string makeSignature(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
    1825    bool isCachable() const override { return true; }
    1926protected:
    2027    void generatePabloMethod() override;
    21 private:
    22     re::RE * const  mRE;
    23     std::string     mSignature;
    2428};
    2529
Note: See TracChangeset for help on using the changeset viewer.