Ignore:
Timestamp:
Jan 15, 2018, 4:07:07 PM (13 months ago)
Author:
nmedfort
Message:

Removed Variadic functionality; allowed for deferred creation of statement names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/codegenstate.h

    r5828 r5834  
    123123    }
    124124
    125     inline Var * createVar(String * name, llvm::Type * const type = nullptr) {
    126         return createVar(reinterpret_cast<PabloAST *>(name), type);
    127     }
     125    Var * createVar(String * name, llvm::Type * const type = nullptr);
    128126
    129127    Count * createCount(PabloAST * expr);
     
    165163    And * createAnd(PabloAST * expr1, PabloAST * expr2, String * name);
    166164
    167     And * createAnd(llvm::Type * const type, const unsigned reserved) {
    168         return createAnd(type, reserved, nullptr);
    169     }
    170 
    171     And * createAnd(llvm::Type * const type, const unsigned reserved, String * name);
    172 
    173165    Or * createOr(PabloAST * expr1, PabloAST * expr2) {
    174166        return createOr(expr1, expr2, nullptr);
     
    181173    Or * createOr(PabloAST * expr1, PabloAST * expr2, String * name);
    182174
    183     Or * createOr(llvm::Type * const type, const unsigned reserved) {
    184         return createOr(type, reserved, nullptr);
    185     }
    186 
    187     Or * createOr(llvm::Type * const type, const unsigned reserved, String * name);
    188 
    189175    Xor * createXor(PabloAST * expr1, PabloAST * expr2) {
    190176        return createXor(expr1, expr2, nullptr);
     
    196182
    197183    Xor * createXor(PabloAST * expr1, PabloAST * expr2, String * name);
    198 
    199     Xor * createXor(llvm::Type * const type, const unsigned reserved) {
    200         return createXor(type, reserved, nullptr);
    201     }
    202 
    203     Xor * createXor(llvm::Type * const type, const unsigned reserved, String * name);
    204184
    205185    Sel * createSel(PabloAST * condition, PabloAST * trueExpr, PabloAST * falseExpr) {
     
    357337    }
    358338
    359     Var * createVar(PabloAST * name, llvm::Type * const type);
    360 
    361339private:       
    362340    PabloKernel * const         mParent;
Note: See TracChangeset for help on using the changeset viewer.