6 #ifndef JLM_BACKEND_HLS_UTIL_VIEW_HPP
7 #define JLM_BACKEND_HLS_UTIL_VIEW_HPP
31 std::unordered_map<rvsdg::Output *, ViewColors> & outputColor,
32 std::unordered_map<rvsdg::Input *, ViewColors> & inputColor,
33 std::unordered_map<rvsdg::Output *, ViewColors> & tailLabel);
38 std::unordered_map<rvsdg::Output *, ViewColors> & outputColor,
39 std::unordered_map<rvsdg::Input *, ViewColors> & inputColor,
40 std::unordered_map<rvsdg::Output *, ViewColors> & tailLabel);
49 std::unordered_map<rvsdg::Output *, ViewColors> & outputColor,
50 std::unordered_map<rvsdg::Input *, ViewColors> & inputColor,
51 std::unordered_map<rvsdg::Output *, ViewColors> & tailLabel);
56 const std::string & fileName,
57 std::unordered_map<rvsdg::Output *, ViewColors> outputColor,
58 std::unordered_map<rvsdg::Input *, ViewColors> inputColor,
59 std::unordered_map<rvsdg::Output *, ViewColors> tailLabel);
67 const std::string & fileName,
68 std::unordered_map<rvsdg::Output *, ViewColors> outputColor,
69 std::unordered_map<rvsdg::Input *, ViewColors> inputColor,
70 std::unordered_map<rvsdg::Output *, ViewColors> tailLabel);
75 DotToSvg(
const std::string & fileName);
100 Run(rvsdg::
RvsdgModule & rvsdgModule, util::StatisticsCollector & statisticsCollector) override;
106 dumpDot.
Run(rvsdgModule, statisticsCollector);
Represent acyclic RVSDG subgraphs.
void DumpDot(llvm::LlvmRvsdgModule &rvsdgModule, const std::string &file_name)
std::string RegionToDot(rvsdg::Region *region, std::unordered_map< rvsdg::Output *, ViewColors > &outputColor, std::unordered_map< rvsdg::Input *, ViewColors > &inputColor, std::unordered_map< rvsdg::Output *, ViewColors > &tailLabel)
void DotToSvg(const std::string &file_name)
void ViewDot(rvsdg::Region *region, FILE *out, std::unordered_map< rvsdg::Output *, ViewColors > &outputColor, std::unordered_map< rvsdg::Input *, ViewColors > &inputColor, std::unordered_map< rvsdg::Output *, ViewColors > &tailLabel)
std::string ToDot(rvsdg::Region *region, std::unordered_map< rvsdg::Output *, ViewColors > &outputColor, std::unordered_map< rvsdg::Input *, ViewColors > &inputColor, std::unordered_map< rvsdg::Output *, ViewColors > &tailLabel)
std::string ViewcolorToString(const ViewColors &color)