Ignore:
Timestamp:
Dec 28, 2016, 7:21:28 PM (3 years ago)
Author:
nmedfort
Message:

Cleaned up memory leaks + some warning messages.

File:
1 edited

Legend:

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

    r5239 r5240  
    2828public:
    2929
    30     IDISA_Builder(Module * m, unsigned archBitWidth, unsigned bitBlockWidth, unsigned stride, unsigned CacheAlignment=64)
    31     : CBuilder(m, archBitWidth, CacheAlignment)
    32     , mBitBlockWidth(bitBlockWidth)
    33     , mStride(stride)
    34     , mBitBlockType(VectorType::get(IntegerType::get(getContext(), 64), bitBlockWidth / 64))
    35     , mZeroInitializer(Constant::getNullValue(mBitBlockType))
    36     , mOneInitializer(Constant::getAllOnesValue(mBitBlockType))
    37     , mPrintRegisterFunction(nullptr) {
     30    IDISA_Builder(Module * m, unsigned archBitWidth, unsigned bitBlockWidth, unsigned stride, unsigned CacheAlignment=64);
    3831
    39     }
    40 
    41     virtual ~IDISA_Builder() {}
     32    virtual ~IDISA_Builder();
    4233   
    4334    std::string getBitBlockTypeName() const;  // A short string such as v4i64 or i256.
Note: See TracChangeset for help on using the changeset viewer.