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

Rewrite of the CarryManager? to support non-carry-collapsing loops.

File:
1 edited

Legend:

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

    r5220 r5227  
    7878    void CreateBlockAlignedStore(Value * const value, Value * const ptr, std::initializer_list<Value *> indices);
    7979
     80    Value * CreateMalloc(Type * type, Value * size);
     81    Value * CreateAlignedMalloc(Type *type, Value * size, const unsigned alignment);
     82    void CreateFree(Value * ptr);
     83    void CreateAlignedFree(Value * ptr);
     84    Value * CreateRealloc(Value * ptr, Value * size);
     85    Value * CreateAlignedRealloc(Value * ptr, Value * size, const unsigned alignment);
     86    void CreateMemZero(Value * ptr, Value * size, const unsigned alignment = 1);
     87
    8088    void CallPrintRegister(const std::string & regName, Value * const value);
    8189    void CallPrintInt(const std::string & name, Value * const value);
     
    145153    }
    146154
     155    inline llvm::ConstantInt * getSize(const size_t value) const {
     156        return ConstantInt::get(getSizeTy(), value);
     157    }
     158
     159    PointerType * getVoidPtrTy() const;
     160
    147161    inline VectorType * getBitBlockType() const {
    148162        return mBitBlockType;
     163    }
     164
     165    inline unsigned getCacheAlignment() const {
     166        return mCacheLineAlignment;
    149167    }
    150168
Note: See TracChangeset for help on using the changeset viewer.