Ignore:
Timestamp:
Nov 6, 2016, 8:37:11 PM (3 years ago)
Author:
nmedfort
Message:

Initial work on adding types to PabloAST and mutable Var objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_toolchain.cpp

    r5156 r5202  
    5656static cl::bits<PabloCompilationFlags>
    5757    PabloOptimizationsOptions(cl::values(clEnumVal(DisableSimplification, "Disable Pablo Simplification pass (not recommended)"),
    58                                          clEnumVal(PabloSinkingPass, "Moves all instructions into the innermost legal If-scope so that they are only executed when needed."),
     58                                         clEnumVal(EnableCodeMotion, "Moves statements into the innermost legal If-scope and moves invariants out of While-loops."),
    5959#ifdef ENABLE_MULTIPLEXING
    6060                                         clEnumVal(EnableMultiplexing, "combine Advances whose inputs are mutual exclusive into the fewest number of advances possible (expensive)."),
     
    181181    }
    182182   
    183 #ifndef NDEBUG
     183    #ifndef NDEBUG
    184184    PabloVerifier::verify(*function, "creation");
    185 #endif
    186    
     185    #endif
     186
    187187    // Scan through the pablo code and perform DCE and CSE
    188188
     
    235235    }
    236236#endif
    237     if (PabloOptimizationsOptions.isSet(PabloSinkingPass)) {
     237    if (PabloOptimizationsOptions.isSet(EnableCodeMotion)) {
    238238        READ_CYCLE_COUNTER(sinking_start);
    239239        CodeMotionPass::optimize(*function);
Note: See TracChangeset for help on using the changeset viewer.