Searched refs:RematGraph (Results 1 – 1 of 1) sorted by relevance
346 struct RematGraph { struct363 RematGraph(const std::function<bool(Instruction &)> &MaterializableCallback, in RematGraph() function435 template <> struct GraphTraits<RematGraph *> {436 using NodeRef = RematGraph::RematNode *;437 using ChildIteratorType = RematGraph::RematNode **;439 static NodeRef getEntryNode(RematGraph *G) { return G->EntryNode; } in getEntryNode()2282 const SmallMapVector<Instruction *, std::unique_ptr<RematGraph>, 8> in rewriteMaterializableInstructions() argument2300 RematGraph *RG = E.second.get(); in rewriteMaterializableInstructions()2301 ReversePostOrderTraversal<RematGraph *> RPOT(RG); in rewriteMaterializableInstructions()3038 SmallMapVector<Instruction *, std::unique_ptr<RematGraph>, 8> AllRemats; in doRematerializations()[all …]