Ignore:
Timestamp:
Sep 14, 2016, 2:56:54 PM (3 years ago)
Author:
nmedfort
Message:

Work on multiplexing and distribution passes + a few AST modification bug fixes.

File:
1 edited

Legend:

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

    r4927 r5156  
    1414public:
    1515    static bool optimize(PabloFunction & function);
     16    static void dce(PabloBlock * const block);
    1617protected:
    1718    Simplifier() = default;
    1819private:
    19     static void redundancyElimination(PabloBlock * const block, ExpressionTable * predecessor = nullptr);
     20    static void redundancyElimination(PabloFunction & function, PabloBlock * const block, ExpressionTable * predecessor = nullptr);
    2021    static PabloAST * fold(Variadic * var, PabloBlock * const block);
    2122    static PabloAST * fold(Statement * const stmt, PabloBlock * const block);
    22     static void deadCodeElimination(PabloBlock * const block);
    2323    static void strengthReduction(PabloBlock * const block);
    2424    static bool isSuperfluous(const Assign * const assign);
Note: See TracChangeset for help on using the changeset viewer.