Ignore:
Timestamp:
Mar 18, 2017, 1:20:50 AM (2 years ago)
Author:
nmedfort
Message:

Work on non carry collapsing mode. Beginning work on pablo-level phi nodes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/codegenstate.h

    r5340 r5368  
    3333namespace pablo { class Or; }
    3434namespace pablo { class PabloKernel; }
     35namespace pablo { class Phi; }
    3536namespace pablo { class ScanThru; }
    3637namespace pablo { class ScanTo; }
     
    4243namespace pablo { class Zeroes; }
    4344
    44 
    4545namespace pablo {
    4646
     
    275275    While * createWhile(PabloAST * condition, PabloBlock * body);
    276276
     277    Phi * createPhi(llvm::Type * type = nullptr) {
     278        return createPhi(type, nullptr);
     279    }
     280
     281    Phi * createPhi(llvm::Type * type, const llvm::StringRef & prefix) {
     282        return createPhi(type, makeName(prefix));
     283    }
     284
     285    Phi * createPhi(llvm::Type * type, String * name);
     286
    277287    llvm::Type * getStreamSetTy(const unsigned NumElements = 1, const unsigned FieldWidth = 1) {
    278288        return mParent->getStreamSetTy(NumElements, FieldWidth);
Note: See TracChangeset for help on using the changeset viewer.