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/pipeline.h

    r4970 r4974  
    1 #ifndef PIPELINE_H
    2 #define PIPELINE_H
    31/*
    42 *  Copyright (c) 2016 International Characters.
    53 *  This software is licensed to the public under the Open Software License 3.0.
    64 */
    7 
     5#ifndef PIPELINE_H
     6#define PIPELINE_H
    87
    98#include <IDISA/idisa_builder.h>
    10 #include <llvm/IR/Function.h>
    11 #include <llvm/IR/Module.h>
    129#include "kernel.h"
    1310
    1411namespace llvm {
    15     class Value;
    1612    class Module;
    17     class ExecutionEngine;
    18     class VectorType;
    19     class PointerType;
    20     class Constant;
    21     class FunctionType;
    2213    class Function;
    23     class BasicBlock;
    2414    class Type;
    2515}
    2616
    27 namespace pablo { class PabloFunction; class PabloBlock; }
     17namespace pablo {
     18    class PabloFunction;
     19    class PabloBlock;
     20}
    2821
    2922using namespace llvm;
    3023
    31 class PipelineBuilder{
     24namespace kernel {
     25
     26class PipelineBuilder {
    3227public:
    33         PipelineBuilder(Module * m, IDISA::IDISA_Builder * b);
     28    PipelineBuilder(llvm::Module * m, IDISA::IDISA_Builder * b);
     29
    3430        ~PipelineBuilder();
    3531
     
    3834
    3935private:
    40         Module *                            mMod;
     36    llvm::Module *                      mMod;
    4137    IDISA::IDISA_Builder *              iBuilder;
    4238    KernelBuilder *                     mS2PKernel;
    4339    KernelBuilder *                     mICgrepKernel;   
    4440    KernelBuilder *                     mScanMatchKernel;
    45     Type*                               mBitBlockType;
     41    llvm::Type*                         mBitBlockType;
    4642    int                                 mBlockSize;
    4743};
    4844
     45}
     46
    4947#endif // PIPELINE_H
Note: See TracChangeset for help on using the changeset viewer.