Ignore:
Timestamp:
Oct 16, 2015, 7:54:25 PM (4 years ago)
Author:
cameron
Message:

Parameterize PabloCompiler? on bitBlockType

Location:
icGREP/icgrep-devel/icgrep/pablo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.cpp

    r4838 r4839  
    5555namespace pablo {
    5656
    57 PabloCompiler::PabloCompiler()
     57PabloCompiler::PabloCompiler(Type * bitBlockType)
    5858: mMod(nullptr)
    5959, mBuilder(nullptr)
    6060, mCarryManager(nullptr)
    61     , mBitBlockType(VectorType::get(IntegerType::get(getGlobalContext(), 64), BLOCK_SIZE/64))
     61, mBitBlockType(bitBlockType)
    6262, iBuilder(mBitBlockType)
    6363, mInputType(nullptr)
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.h

    r4838 r4839  
    7474
    7575public:
    76     PabloCompiler();
     76    PabloCompiler(Type * bitBlockType);
    7777    ~PabloCompiler();
    7878    Function * compile(pablo::PabloFunction * function);
Note: See TracChangeset for help on using the changeset viewer.