Ignore:
Timestamp:
Jan 14, 2017, 3:49:56 PM (3 years ago)
Author:
nmedfort
Message:

Changes working towards simplifying accessing stream elements + some modifications to simplify include / forward declarations within the CodeGen? library.

File:
1 edited

Legend:

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

    r5257 r5260  
    77#define KERNEL_INTERFACE_H
    88
    9 #include <string>
    10 #include <vector>
    11 #include <llvm/IR/Type.h>
    12 #include <IR_Gen/idisa_builder.h>
    13 #include <kernels/streamset.h>
     9#include <string>  // for string
     10#include <vector>  // for vector
     11namespace IDISA { class IDISA_Builder; }
     12namespace llvm { class Module; }
     13namespace llvm { class StructType; }
     14namespace llvm { class Type; }
     15namespace llvm { class Value; }
    1416
    1517struct Binding {
     
    4850   
    4951    // Add ExternalLinkage method declarations for the kernel to a given client module.
    50     void addKernelDeclarations(Module * client);
     52    void addKernelDeclarations(llvm::Module * client);
    5153    virtual void createInstance() = 0;
    52     void setInitialArguments(std::vector<Value *> initialParameters);
     54    void setInitialArguments(std::vector<llvm::Value *> args);
    5355    llvm::Value * getInstance() const { return mKernelInstance; }
    5456
     
    100102    IDISA::IDISA_Builder * const iBuilder;
    101103    std::string mKernelName;
    102     std::vector<Value *> mInitialArguments;
     104    std::vector<llvm::Value *> mInitialArguments;
    103105    std::vector<Binding> mStreamSetInputs;
    104106    std::vector<Binding> mStreamSetOutputs;
Note: See TracChangeset for help on using the changeset viewer.