Ignore:
Timestamp:
Jul 15, 2016, 10:04:55 PM (3 years ago)
Author:
cameron
Message:

Initial doSegment support; pipeline generation

File:
1 edited

Legend:

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

    r5063 r5086  
    77
    88#include <IDISA/idisa_builder.h>
     9#include <kernels/interface.h>
    910#include <kernels/kernel.h>
    1011
    11 namespace llvm {
    12     class Module;
    13     class Function;
    14     class Type;
    15 }
     12void generatePipelineLoop(IDISA::IDISA_Builder * iBuilder, std::vector<kernel::KernelBuilder *> kernels, std::vector<llvm::Value *> instances, llvm::Value * totalBytes);
    1613
    17 namespace pablo {
    18     class PabloFunction;
    19     class PabloBlock;
    20     class PabloKernel;
    21 }
    22 
    23 using namespace llvm;
    24 
    25 namespace kernel {
    26 
    27 class PipelineBuilder {
    28 public:
    29     PipelineBuilder(llvm::Module * m, IDISA::IDISA_Builder * b);
    30 
    31     ~PipelineBuilder();
    32 
    33     llvm::Function * ExecuteKernels(pablo::PabloFunction * function, bool isNameExpression, bool CountOnly, bool UTF_16);
    34 
    35 private:
    36     llvm::Module *                      mMod;
    37     IDISA::IDISA_Builder *              iBuilder;
    38     llvm::Type *                        mBitBlockType;
    39     int                                 mBlockSize;
    40 };
    41 
    42 }
    4314
    4415#endif // PIPELINE_H
Note: See TracChangeset for help on using the changeset viewer.