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

Continued work on eliminating BlockNo?

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

Legend:

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

    r5298 r5307  
    363363}
    364364
    365 
    366365Value * IDISA_Builder::simd_and(Value * a, Value * b) {
    367366    return a->getType() == b->getType() ? CreateAnd(a, b) : CreateAnd(bitCast(a), bitCast(b));
  • 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.