Ignore:
Timestamp:
Feb 7, 2017, 3:23:42 PM (2 years ago)
Author:
nmedfort
Message:

Continued work on eliminating BlockNo?

File:
1 edited

Legend:

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

    r5297 r5307  
    1010#include <vector>  // for vector
    1111namespace IDISA { class IDISA_Builder; }
     12namespace llvm { class ConstantInt; }
    1213namespace llvm { class Function; }
    1314namespace llvm { class Module; }
     
    1718namespace llvm { class Value; }
    1819
     20
    1921struct Binding {
    20     llvm::Type * type;
    21     std::string name;
    22     Binding(llvm::Type * type, const std::string & name) : type(type), name(name) {}
    23     Binding(llvm::Type * type, std::string && name) : type(type), name(name) {}
     22    Binding(llvm::Type * type, const std::string & name, const unsigned step = 0)
     23    : type(type), name(name), step(step) {
     24
     25    }
     26
     27    llvm::Type *        type;
     28    std::string         name;
     29    const unsigned      step;
    2430};
    2531
Note: See TracChangeset for help on using the changeset viewer.