docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
debug_dump_pass.h
Go to the documentation of this file.
1#pragma once
2#include "sdfg/passes/pass.h"
3
4namespace sdfg::passes {
5
7private:
8 std::string name_;
9 bool dump_json_;
10 bool dump_dot_;
11 size_t counter_ = 0;
12
13public:
14 DebugDumpPass(const std::string& name, bool dump_json = true, bool dump_dot = true);
15
16 std::string name() override {
17 return "DebugDumpPass";
18 }
19
21
22 static bool dump(const StructuredSDFG& sdfg, const std::string& type, bool dump_json = true, bool dump_dot = true);
23 static bool dump(
24 const StructuredSDFG& sdfg,
25 const std::filesystem::path& dir,
26 const std::string& type,
27 bool dump_json = true,
28 bool dump_dot = true
29 );
30};
31
32
33} // namespace sdfg::passes
Definition structured_sdfg.h:30
Definition analysis.h:53
Note: Even though the class references unique_ptr, it will never delete an SDFG it has a reference to...
Definition structured_sdfg_builder.h:44
static bool dump(const StructuredSDFG &sdfg, const std::filesystem::path &dir, const std::string &type, bool dump_json=true, bool dump_dot=true)
std::string name() override
Definition debug_dump_pass.h:16
DebugDumpPass(const std::string &name, bool dump_json=true, bool dump_dot=true)
static bool dump(const StructuredSDFG &sdfg, const std::string &type, bool dump_json=true, bool dump_dot=true)
bool run_pass(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Definition pass.h:11
Definition function_builder.h:10
Definition approximate_math.h:12
Definition analysis.h:7