Ignore:
Timestamp:
Feb 22, 2017, 4:23:51 PM (2 years ago)
Author:
nmedfort
Message:

Added a simple CreateAssert? function in CBuilder and ReadOnly? flag for getStreamSetBufferPtr method to prevent expanding input stream sets. Begun work on CarryManager? to preallocate variable-length carry data slots.

File:
1 edited

Legend:

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

    r5337 r5340  
    3333   
    3434    llvm::Value * CreateMalloc(llvm::Type * type, llvm::Value * size);
    35    
     35
    3636    llvm::Value * CreateAlignedMalloc(llvm::Type * type, llvm::Value * size, const unsigned alignment);
    3737   
     
    109109    virtual llvm::StoreInst *  CreateAtomicStoreRelease(llvm::Value * val, llvm::Value * ptr);
    110110   
     111    // Warning! this class must be compiled in debug mode or the check will be ignored.
     112    void CreateAssert(llvm::Value * toCheck, llvm::StringRef failureMessage);
     113
    111114protected:
    112115    llvm::Module *      mMod;
Note: See TracChangeset for help on using the changeset viewer.