docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
loop_report.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <unordered_map>
5
7
8namespace sdfg {
9namespace codegen {
10
12private:
13 std::unordered_map<std::string, size_t> report_;
14
15public:
17
18 const std::unordered_map<std::string, size_t>& report() const {
19 return this->report_;
20 }
21
23
25
27
29
31};
32
33
34} // namespace codegen
35} // namespace sdfg
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
bool accept(sdfg::structured_control_flow::For &node) override
const std::unordered_map< std::string, size_t > & report() const
Definition loop_report.h:18
bool accept(sdfg::structured_control_flow::Map &node) override
bool accept(sdfg::structured_control_flow::Block &node) override
LoopReport(sdfg::builder::StructuredSDFGBuilder &builder, sdfg::analysis::AnalysisManager &analysis_manager)
bool accept(sdfg::structured_control_flow::While &node) override
bool accept(sdfg::structured_control_flow::Reduce &node) override
A control flow node representing a basic block with dataflow computations.
Definition block.h:42
Represents a traditional for-loop with sequential execution.
Definition for.h:43
Represents a parallel map loop with configurable scheduling.
Definition map.h:47
Represents a loop with an associative/commutative reduction carried dependency.
Definition reduce.h:106
Represents a while-loop with condition-controlled iteration.
Definition while.h:37
Very specific implementation, that technically visits the SDFG of an StructuredSDFGBuilder and not ju...
Definition structured_sdfg_visitor.h:16
Definition function_builder.h:10
Definition argument_registry.h:10
Definition analysis.h:7