Ignore:
Timestamp:
Jan 29, 2016, 3:38:47 PM (4 years ago)
Author:
nmedfort
Message:

Incorporated a few common case boolean optimizations in the Simplifier.

File:
1 edited

Legend:

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

    r4919 r4922  
    1010
    1111class Simplifier {
     12    friend class DistributivePass;
    1213public:
    1314    static bool optimize(PabloFunction & function);
     
    1516    Simplifier() = default;
    1617private:
    17     static void negationsShouldImmediatelySucceedTheirLiteral(PabloBlock * const block);
    18     static void eliminateRedundantCode(PabloBlock * const block, ExpressionTable * predecessor = nullptr);
    19     static PabloAST * fold(Variadic * const var, PabloBlock * const block);
     18    static void redundancyElimination(PabloBlock * const block, ExpressionTable * predecessor = nullptr);
     19    static PabloAST * fold(Variadic * var, PabloBlock * const block);
    2020    static PabloAST * fold(Statement * const stmt, PabloBlock * const block);
    2121    static void deadCodeElimination(PabloBlock * const block);
Note: See TracChangeset for help on using the changeset viewer.