6 #ifndef JLM_TOOLING_COMMANDGRAPH_HPP
7 #define JLM_TOOLING_COMMANDGRAPH_HPP
13 #include <unordered_set>
65 auto pointer = node.get();
66 Nodes_.insert(std::move(node));
73 static std::vector<CommandGraph::Node *>
76 static std::unique_ptr<CommandGraph>
79 return std::make_unique<CommandGraph>();
85 std::unordered_set<std::unique_ptr<Node>>
Nodes_;
179 std::unique_ptr<Edge> edge(
new Edge(*
this, sink));
180 auto pointer = edge.get();
214 [[nodiscard]]
const Edge *
261 std::unordered_set<Edge *>::const_iterator
it_;
279 const std::unordered_set<std::unique_ptr<Edge>>::const_iterator & it)
284 [[nodiscard]]
const Edge *
331 std::unordered_set<std::unique_ptr<Edge>>::const_iterator
it_;
std::string Edge(jlm::rvsdg::Output *output, jlm::rvsdg::Input *input, std::unordered_map< rvsdg::Output *, ViewColors > &tailLabel, bool back_edge=false)