Ignore:
Timestamp:
Sep 11, 2015, 4:57:13 PM (4 years ago)
Author:
nmedfort
Message:

More reassociation pass work.

File:
1 edited

Legend:

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

    r4766 r4768  
    1010class BooleanReassociationPass {
    1111public:
    12     using Graph = boost::adjacency_list<boost::hash_setS, boost::vecS, boost::bidirectionalS, PabloAST *>;
     12    using Graph = boost::adjacency_list<boost::hash_setS, boost::vecS, boost::bidirectionalS, PabloAST *, PabloAST *>;
    1313    using Vertex = Graph::vertex_descriptor;
    1414    using Map = std::unordered_map<const PabloAST *, Vertex>;
     
    2323    void processScope(PabloFunction & function, PabloBlock & block);
    2424    void summarizeAST(PabloBlock & block, Graph & G) const;
    25     void resolveUsages(const Vertex u, PabloAST * expr, PabloBlock & block, Graph & G, Map & M) const;
     25    static bool summarizeGraph(PabloBlock & block, Graph & G);
     26    void resolveUsages(const Vertex u, PabloAST * expr, PabloBlock & block, Graph & G, Map & M, Statement * ignoreIfThis = nullptr) const;
    2627    bool redistributeAST(PabloBlock & block, Graph & G) const;
    2728private:
Note: See TracChangeset for help on using the changeset viewer.