docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
loop_distribute.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace sdfg {
7namespace transformations {
8
27
28public:
35
41
46 virtual std::string name() const override;
47
54 virtual bool
56
62 virtual void apply(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) override;
63
68 virtual void to_json(nlohmann::json& j) const override;
69
77};
78
79} // namespace transformations
80} // 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
Base class for all structured control flow nodes in a StructuredSDFG.
Definition control_flow_node.h:44
Base class for structured loop constructs.
Definition structured_loop.h:244
LoopDistribute(structured_control_flow::StructuredLoop &loop)
Construct a loop distribute transformation on the first child of the loop.
virtual std::string name() const override
Get the name of this transformation.
static LoopDistribute from_json(builder::StructuredSDFGBuilder &builder, const nlohmann::json &j)
Deserialize a loop distribute transformation from JSON.
LoopDistribute(structured_control_flow::StructuredLoop &loop, structured_control_flow::ControlFlowNode &child)
Construct a loop distribute transformation.
virtual void apply(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Apply the loop distribute transformation.
virtual void to_json(nlohmann::json &j) const override
Serialize this transformation to JSON.
virtual bool can_be_applied(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Check if this transformation can be applied.
Base class for all SDFG transformations.
Definition transformation.h:25
Definition function_builder.h:10
Definition loop_parallelization.h:8
Definition analysis.h:7