Ignore:
Timestamp:
Jul 10, 2015, 4:51:39 PM (4 years ago)
Author:
nmedfort
Message:

Initial introduction of a PabloFunction? type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.h

    r4622 r4657  
    1313#include <string>
    1414
     15
     16namespace pablo {
     17    class PabloFunction;
     18}
     19
    1520namespace cc {
    1621
     
    2227    using Vars = std::vector<pablo::Var *>;
    2328
    24     CC_Compiler(pablo::PabloBlock & entry, const Encoding & encoding, const std::string basis_pattern = "basis");
    25 
    26     const Vars & getBasisBits(const CC_NameMap & nameMap) const;
     29    CC_Compiler(pablo::PabloFunction & function, const Encoding & encoding, const std::string prefix = "basis");
    2730
    2831    pablo::Assign * compileCC(const re::CC *cc);
     
    7477}
    7578
    76 inline const CC_Compiler::Vars & CC_Compiler::getBasisBits(const CC_NameMap &) const {
    77     return mBasisBit;
    78 }
    79 
    8079inline pablo::PabloBuilder & CC_Compiler::getBuilder() {
    8180    return mBuilder;
Note: See TracChangeset for help on using the changeset viewer.