Ignore:
Timestamp:
Dec 19, 2016, 3:37:57 PM (2 years ago)
Author:
cameron
Message:

Use unsigned in preference to uint64_t for element counts and field widths

Location:
icGREP/icgrep-devel/icgrep/IDISA
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IDISA/idisa_builder.cpp

    r5230 r5231  
    575575}
    576576
    577 Type * IDISA_Builder::getStreamTy(const uint64_t FieldWidth) {
     577Type * IDISA_Builder::getStreamTy(const unsigned FieldWidth) {
    578578    const auto f = mStreamTypes.find(FieldWidth);
    579579    if (LLVM_LIKELY(f != mStreamTypes.end())) {
  • icGREP/icgrep-devel/icgrep/IDISA/idisa_builder.h

    r5230 r5231  
    171171    }
    172172
    173     inline Type * getStreamSetTy(const uint64_t NumElements = 1, const uint64_t FieldWidth = 1) {
     173    inline Type * getStreamSetTy(const unsigned NumElements = 1, const unsigned FieldWidth = 1) {
    174174        return ArrayType::get(getStreamTy(FieldWidth), NumElements);
    175175    }
    176176   
    177     Type * getStreamTy(const uint64_t FieldWidth = 1);
     177    Type * getStreamTy(const unsigned FieldWidth = 1);
    178178
    179179    inline llvm::AllocaInst * CreateCacheAlignedAlloca(llvm::Type * Ty, llvm::Value * ArraySize = nullptr) {
Note: See TracChangeset for help on using the changeset viewer.