File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,8 @@ ControlFlowLiveness::ControlFlowLiveness(ControlFlow const& _controlFlow):
26
26
mainLiveness(std::make_unique<SSACFGLiveness>(*_controlFlow.mainGraph)),
27
27
functionLiveness(_controlFlow.functionGraphs | ranges::views::transform([](auto const & _cfg) { return std::make_unique<SSACFGLiveness>(*_cfg); }) | ranges::to<std::vector>)
28
28
{ }
29
+
30
+ std::string ControlFlowLiveness::toDot () const
31
+ {
32
+ return controlFlow.get ().toDot (this );
33
+ }
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ struct ControlFlowLiveness{
34
34
std::reference_wrapper<ControlFlow const > controlFlow;
35
35
std::unique_ptr<SSACFGLiveness> mainLiveness;
36
36
std::vector<std::unique_ptr<SSACFGLiveness>> functionLiveness;
37
+
38
+ std::string toDot () const ;
37
39
};
38
40
39
41
struct ControlFlow
You can’t perform that action at this time.
0 commit comments