Ignore:
Timestamp:
Oct 16, 2015, 10:49:26 AM (4 years ago)
Author:
cameron
Message:

Encapsulation of bitblock and carry pack construction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IDISA/idisa_builder.h

    r4827 r4837  
    3636   
    3737    Type * getBitBlockType() { return mBitBlockType;}
     38    Value * bitCast(Value * a) {return a->getType() == mBitBlockType ? a : mLLVMBuilder->CreateBitCast(a, mBitBlockType);}
    3839    int getBitBlockWidth() { return mBitBlockWidth;}
     40   
     41   
    3942    Constant * allZeroes() {return mZeroInitializer;}
    4043    Constant * allOnes() {return mOneInitializer;}
     
    7275   
    7376    Value * bitblock_any(Value * a);
    74 
    75 
     77    Value * simd_and(Value * a, Value * b);
     78    Value * simd_or(Value * a, Value * b);
     79    Value * simd_xor(Value * a, Value * b);
     80    Value * simd_not(Value * a);
     81   
    7682private:
    7783    Module * mMod;
Note: See TracChangeset for help on using the changeset viewer.