Ignore:
Timestamp:
Mar 15, 2016, 10:20:07 PM (3 years ago)
Author:
nmedfort
Message:

Added the kernel instance class; removed original mmap file access in favour of the boost mmap system. corrected PrintRegister? routine.

File:
1 edited

Legend:

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

    r4968 r4974  
    88
    99#include <IDISA/idisa_builder.h>
    10 #include <llvm/IR/Function.h>
    11 #include <llvm/IR/Module.h>
    1210#include "kernel.h"
    1311
    1412namespace llvm {
    15     class Value;
    1613    class Module;
    17     class ExecutionEngine;
    18     class VectorType;
    19     class PointerType;
    20     class Constant;
    21     class FunctionType;
    2214    class Function;
    23     class BasicBlock;
    2415    class Type;
    2516}
     
    2718namespace pablo { class PabloFunction; class PabloBlock; }
    2819
    29 using namespace llvm;
     20namespace kernel {
    3021
    3122class SymbolTableBuilder {
    3223public:
    33     SymbolTableBuilder(Module * m, IDISA::IDISA_Builder * b);
     24    SymbolTableBuilder(llvm::Module * m, IDISA::IDISA_Builder * b);
    3425    ~SymbolTableBuilder();
    3526    void createKernels();
    36     void ExecuteKernels();
     27    llvm::Function * ExecuteKernels();
     28
    3729protected:
    3830
     
    4335
    4436private:
    45     Module *                            mMod;
     37    llvm::Module *                      mMod;
    4638    IDISA::IDISA_Builder *              iBuilder;
    4739    KernelBuilder *                     mS2PKernel;
     
    4941    KernelBuilder *                     mSortingKernel;
    5042    unsigned                            mLongestLookahead;
    51     int                                 mFileBufIdx;
    52     int                                 mFileSizeIdx;
    53     int                                 mFileNameIdx;
    54     Type*                               mBitBlockType;
     43    llvm::Type *                        mBitBlockType;
    5544    int                                 mBlockSize;
    5645};
    5746
     47}
     48
    5849#endif // SYMBOLTABLEPIPELINE_H
Note: See TracChangeset for help on using the changeset viewer.