Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (2 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

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

    r5202 r5217  
    22#define PABLO_SIMPLIFIER_HPP
    33
    4 #include <pablo/codegenstate.h>
    5 
    64namespace pablo {
    75
    8 class PabloFunction;
     6class PabloKernel;
     7class PabloAST;
     8class Variadic;
     9class Statement;
     10class PabloBlock;
     11
    912struct ExpressionTable;
    1013
     
    1316    struct VariableTable;
    1417public:
    15     static bool optimize(PabloFunction & function);
     18    static bool optimize(PabloKernel * kernel);
    1619protected:
    1720    Simplifier() = default;
     
    2023    static PabloAST * fold(Statement * const stmt, PabloBlock * const block);
    2124    static void redundancyElimination(PabloBlock * const block, ExpressionTable * et = nullptr, VariableTable * const vt = nullptr);
    22     static void deadCodeElimination(PabloFunction & f);
     25    static void deadCodeElimination(PabloKernel * const kernel);
    2326    static void deadCodeElimination(PabloBlock * const block);
    2427    static void strengthReduction(PabloBlock * const block);
Note: See TracChangeset for help on using the changeset viewer.