Ignore:
Timestamp:
Dec 19, 2016, 12:58:29 PM (2 years ago)
Author:
cameron
Message:

Distinguishing between StreamType? and StreamSetType?; fixing StreamSetBlock? pointer calculations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IDISA/types/streamtype.h

    r5217 r5229  
    1111class StreamType : public llvm::Type {
    1212
    13     StreamType(llvm::LLVMContext & ctx, unsigned NumElements, unsigned FieldWidth);
     13    StreamType(llvm::LLVMContext & ctx, unsigned FieldWidth);
    1414
    1515public:
     
    1919    };
    2020
    21     static StreamType * get(llvm::LLVMContext & ctx, unsigned NumElements, unsigned FieldWidth);
    22 
    23     unsigned getNumElements() const {
    24         return mNumElements;
    25     }
     21    static StreamType * get(llvm::LLVMContext & ctx, unsigned FieldWidth);
    2622
    2723    unsigned getFieldWidth() const {
     
    3026
    3127    StreamType * getStreamElementType() const {
    32         return get(getContext(), 1, mFieldWidth);
     28        return get(getContext(), mFieldWidth);
    3329    }
    3430
     
    4339    }
    4440private:
    45     unsigned mNumElements;
    4641    unsigned mFieldWidth;
    4742};
Note: See TracChangeset for help on using the changeset viewer.