Ignore:
Timestamp:
Jul 7, 2018, 10:21:29 PM (10 months ago)
Author:
xwa163
Message:
  1. Improve RE_Compiler for multiplexing
  2. Use faster approach for LineBreakStream? generating in LZParabix_grep
File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.h

    r6089 r6127  
    4141public:
    4242   
    43     Parabix_CC_Compiler(pablo::PabloBlock * scope, std::vector<pablo::PabloAST *> basisBitSet, cc::BitNumbering b = BitNumbering::LittleEndian);
     43    Parabix_CC_Compiler(pablo::PabloBlock * scope, std::vector<pablo::PabloAST *> basisBitSet, cc::BitNumbering b = BitNumbering::LittleEndian, bool fakeBasisBits = false);
    4444   
    4545    pablo::PabloAST * compileCC(const re::CC *cc) override;
     
    5656
    5757private:
    58     pablo::PabloAST * getBasisVar(const unsigned n) const;
     58    template<typename PabloBlockOrBuilder>
     59    pablo::PabloAST * getBasisVar(const unsigned n, PabloBlockOrBuilder & pb) const;
    5960    template<typename PabloBlockOrBuilder>
    6061    pablo::PabloAST * bit_pattern_expr(const unsigned pattern, unsigned selected_bits, PabloBlockOrBuilder & pb);
     
    7677    std::vector<pablo::PabloAST *>  mBasisBit;
    7778    unsigned                        mEncodingMask;
     79    bool mFakeBasisBits;
    7880};
    7981
Note: See TracChangeset for help on using the changeset viewer.