Ignore:
Timestamp:
May 10, 2017, 4:26:11 PM (2 years ago)
Author:
nmedfort
Message:

Large refactoring step. Removed IR generation code from Kernel (formally KernelBuilder?) and moved it into the new KernelBuilder? class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/cc_kernel.h

    r5436 r5440  
    1515class DirectCharacterClassKernelBuilder final : public BlockOrientedKernel {
    1616public:   
    17     DirectCharacterClassKernelBuilder(const std::unique_ptr<kernel::KernelBuilder> & b, std::string ccSetName, std::vector<re::CC *> charClasses, unsigned codeUnitSize);
    18     void generateDoBlockMethod() override;
     17    DirectCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, std::vector<re::CC *> charClasses, unsigned codeUnitSize);
     18    void generateDoBlockMethod(const std::unique_ptr<KernelBuilder> & iBuilder) override;
    1919private:
    2020    const std::vector<re::CC *> mCharClasses;
     
    2525class ParabixCharacterClassKernelBuilder final : public pablo::PabloKernel {
    2626public:
    27     ParabixCharacterClassKernelBuilder(const std::unique_ptr<kernel::KernelBuilder> & b, std::string ccSetName, const std::vector<re::CC *> & charClasses, unsigned codeUnitSize);
     27    ParabixCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, const std::vector<re::CC *> & charClasses, unsigned codeUnitSize);
    2828protected:
    2929    void generatePabloMethod() override;
Note: See TracChangeset for help on using the changeset viewer.