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

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

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

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.hpp

    r5230 r5231  
    191191    }
    192192
    193     Type * getStreamTy(const uint64_t FieldWidth = 1) {
     193    Type * getStreamTy(const unsigned FieldWidth = 1) {
    194194        return mPb->getStreamTy(FieldWidth);
    195195    }
    196196   
    197     Type * getStreamSetTy(const uint64_t NumElements = 1, const uint64_t FieldWidth = 1) {
     197    Type * getStreamSetTy(const unsigned NumElements = 1, const unsigned FieldWidth = 1) {
    198198        return mPb->getStreamSetTy(NumElements, FieldWidth);
    199199    }
  • icGREP/icgrep-devel/icgrep/pablo/codegenstate.h

    r5230 r5231  
    258258    While * createWhile(PabloAST * condition, PabloBlock * body);
    259259
    260     Type * getStreamTy(const uint64_t FieldWidth = 1) {
     260    Type * getStreamTy(const unsigned FieldWidth = 1) {
    261261        return mParent->getStreamTy(FieldWidth);
    262262    }
    263263   
    264     Type * getStreamSetTy(const uint64_t NumElements = 1, const uint64_t FieldWidth = 1) {
     264    Type * getStreamSetTy(const unsigned NumElements = 1, const unsigned FieldWidth = 1) {
    265265        return mParent->getStreamSetTy(NumElements, FieldWidth);
    266266    }
Note: See TracChangeset for help on using the changeset viewer.