Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (2 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

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

    r5202 r5217  
    1414
    1515namespace pablo {
    16     class PabloFunction;
     16    class PabloKernel;
    1717    class Var;
    1818}
     
    2323
    2424class CC_Compiler{
    25 
    26     friend pablo::PabloFunction * ParabixCharacterClassFunction(const std::string &, const std::vector<re::CC *> &, const unsigned);
    27 
     25    friend class ParabixCharacterClassKernelBuilder;
    2826public:
    2927
    3028    using Vars = std::vector<pablo::Var *>;
    3129
    32     CC_Compiler(pablo::PabloFunction & function, const unsigned encodingBits = 8, const std::string prefix = "basis");
     30    CC_Compiler(pablo::PabloKernel * kernel, const unsigned encodingBits = 8, const std::string prefix = "basis");
    3331
    3432    pablo::PabloAST * compileCC(const re::CC *cc);
    3533
    36     pablo::PabloAST *compileCC(const re::CC *cc, pablo::PabloBlock & block);
     34    pablo::PabloAST * compileCC(const re::CC *cc, pablo::PabloBlock & block);
    3735
    3836    pablo::PabloAST * compileCC(const re::CC *cc, pablo::PabloBuilder & builder);
     
    9189}
    9290
    93 pablo::PabloFunction * ParabixCharacterClassFunction(const std::string & name, const std::vector<re::CC *> & charClasses, const unsigned basisBitsCount);
    94 
    9591}
    9692
Note: See TracChangeset for help on using the changeset viewer.