Ignore:
Timestamp:
May 6, 2017, 4:05:05 PM (2 years ago)
Author:
nmedfort
Message:

Continued refactoring work.

File:
1 edited

Legend:

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

    r5431 r5435  
    99
    1010#include <unordered_map>
     11#include <memory>
    1112namespace IDISA { class IDISA_Builder; }
    1213namespace llvm { class Function; }
     
    3637protected:
    3738
    38     void initializeKernelData();
     39    void initializeKernelData(IDISA::IDISA_Builder * const builder);
    3940
    40     void compile();
     41    void compile(IDISA::IDISA_Builder * const builder);
    4142
    4243private:
    4344
    44     void examineBlock(const PabloBlock * const block);
     45    void examineBlock(IDISA::IDISA_Builder * const builder, const PabloBlock * const block);
    4546
    46     void compileBlock(const PabloBlock * const block);
     47    void compileBlock(IDISA::IDISA_Builder * const builder, const PabloBlock * const block);
    4748
    48     void compileStatement(const Statement * stmt);
     49    void compileStatement(IDISA::IDISA_Builder * const builder, const Statement * stmt);
    4950
    50     void compileIf(const If * ifStmt);
     51    void compileIf(IDISA::IDISA_Builder * const builder, const If * ifStmt);
    5152
    52     void compileWhile(const While * whileStmt);
     53    void compileWhile(IDISA::IDISA_Builder * const builder, const While * whileStmt);
    5354
    54     llvm::Value * compileExpression(const PabloAST * expr, const bool ensureLoaded = true) const;
     55    llvm::Value * compileExpression(IDISA::IDISA_Builder * const builder, const PabloAST * expr, const bool ensureLoaded = true) const;
    5556
    5657private:
    5758
    58     IDISA::IDISA_Builder *          iBuilder;
    5959    PabloKernel * const             mKernel;
    6060    CarryManager * const            mCarryManager;
Note: See TracChangeset for help on using the changeset viewer.