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/IR_Gen/idisa_builder.h

    r5298 r5307  
    119119    }
    120120
     121    llvm::VectorType * getStreamTy(const unsigned FieldWidth = 1) {
     122        return llvm::VectorType::get(llvm::IntegerType::getIntNTy(getContext(), FieldWidth), 0);
     123    }
     124
    121125    inline llvm::ArrayType * getStreamSetTy(const unsigned NumElements = 1, const unsigned FieldWidth = 1) {
    122126        return llvm::ArrayType::get(getStreamTy(FieldWidth), NumElements);
    123     }
    124    
    125     llvm::VectorType * getStreamTy(const unsigned FieldWidth = 1) {
    126         return llvm::VectorType::get(llvm::IntegerType::getIntNTy(getContext(), FieldWidth), 0);
    127127    }
    128128
Note: See TracChangeset for help on using the changeset viewer.