Ignore:
Timestamp:
Jul 15, 2015, 5:01:42 PM (4 years ago)
Author:
nmedfort
Message:

Modified function signature of the existing external UCD functions to match that of the JITed function. Updated pablo_compiler to produce the correct CallInsts?.

File:
1 edited

Legend:

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

    r4668 r4674  
    100100    #endif
    101101
    102     typedef std::unordered_map<const pablo::PabloAST *, Value*>    ASTToValueMap;
    103     typedef std::unordered_map<const pablo::String *, Value*>      StringToValueMap;
     102    typedef std::unordered_map<const pablo::PabloAST *, Value *>   ASTToValueMap;
     103    typedef std::unordered_map<const pablo::String *, Function *>  CalleeMap;
    104104    typedef std::vector<Value*>                                    CarryQueueVector;
    105105
     
    113113private:
    114114    void GenerateFunction(PabloFunction & function);
    115     void DeclareFunctions(ExecutionEngine * engine);
     115    void DeclareFunctions(ExecutionEngine * const engine);
    116116    void Examine(PabloFunction & function);
    117117    void Examine(PabloBlock & block);
    118     void DeclareCallFunctions(PabloFunction & function, ExecutionEngine * engine);
     118    void DeclareCallFunctions(ExecutionEngine * const engine);
    119119    void SetOutputValue(Value * marker, const unsigned index);
    120120
     
    174174
    175175    std::map<std::string, void *>       mExternalMap;
    176     StringToValueMap                    mCalleeMap;
     176    CalleeMap                           mCalleeMap;
    177177
    178178    Constant *                          mPrintRegisterFunction;
Note: See TracChangeset for help on using the changeset viewer.