Ignore:
Timestamp:
Oct 26, 2017, 8:31:35 AM (18 months ago)
Author:
cameron
Message:

createIndexedAdvance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.hpp

    r5440 r5709  
    104104    PabloAST * createAdvance(PabloAST * expr, PabloAST * shiftAmount, const llvm::StringRef & prefix);
    105105
     106    inline PabloAST * createIndexedAdvance(PabloAST * expr, PabloAST * indexStream, const int64_t shiftAmount) {
     107        return createIndexedAdvance(expr, indexStream, mPb->getInteger(shiftAmount));
     108    }
     109   
     110    PabloAST * createIndexedAdvance(PabloAST * expr, PabloAST * indexStream, PabloAST * shiftAmount);
     111   
     112    inline PabloAST * createIndexedAdvance(PabloAST * expr, PabloAST * indexStream, const int64_t shiftAmount, const llvm::StringRef & prefix) {
     113        return createIndexedAdvance(expr, indexStream, mPb->getInteger(shiftAmount), prefix);
     114    }
     115   
     116    PabloAST * createIndexedAdvance(PabloAST * expr, PabloAST * indexStream, PabloAST * shiftAmount, const llvm::StringRef & prefix);
     117   
    106118    inline PabloAST * createLookahead(PabloAST * expr, const int64_t shiftAmount) {
    107119        if (shiftAmount == 0) {
Note: See TracChangeset for help on using the changeset viewer.