Ignore:
Timestamp:
Oct 5, 2015, 8:30:12 AM (4 years ago)
Author:
cameron
Message:

Encapsulating all-zeroes and all-ones initializers within IDISA builder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carry_manager.h

    r4816 r4821  
    4040public:
    4141 
    42     CarryManager(IRBuilder <> * b, VectorType * bitBlockType, ConstantAggregateZero * zero, IDISA::IDISA_Builder * idb)
     42    CarryManager(IRBuilder <> * b, IDISA::IDISA_Builder * idb)
    4343    : mPACK_SIZE(BLOCK_SIZE)
    4444    , mITEMS_PER_PACK(1)
    4545    , mBuilder(b)
    46     , mBitBlockType(bitBlockType)
    47     , mZeroInitializer(zero)
    48     , mOneInitializer(ConstantVector::getAllOnesValue(bitBlockType))
    4946    , iBuilder(idb)
     47    , mPackBuilder(idb)
     48    , mBitBlockType(idb->getBitBlockType())
    5049    , mPabloRoot(nullptr)
    5150    , mCurrentScope(nullptr)
     
    122121    unsigned mITEMS_PER_PACK;
    123122    IRBuilder <> * mBuilder;
    124     VectorType * mBitBlockType;
    125     Constant * mZeroInitializer;
    126     Constant * mOneInitializer;
    127123    IDISA::IDISA_Builder * iBuilder;
     124    IDISA::IDISA_Builder * mPackBuilder;
     125    Type * mBitBlockType;
    128126    PabloBlock * mPabloRoot;
    129127    PabloBlock * mCurrentScope;
Note: See TracChangeset for help on using the changeset viewer.