docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
loop_unit_stride.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace sdfg {
7namespace transformations {
8
60
61 std::string strided_container_name_;
62
63public:
69
70 virtual std::string name() const override;
71
72 virtual bool
74
75 virtual void apply(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) override;
76
77 virtual void to_json(nlohmann::json& j) const override;
78
80
85 std::string strided_container_name() const;
86};
87
88} // namespace transformations
89} // 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 structured loop constructs.
Definition structured_loop.h:244
virtual void to_json(nlohmann::json &j) const override
Serialize this transformation to JSON.
LoopUnitStride(structured_control_flow::StructuredLoop &loop)
Construct a LoopUnitStride transformation.
virtual bool can_be_applied(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Check if this transformation can be safely applied.
static LoopUnitStride from_json(builder::StructuredSDFGBuilder &builder, const nlohmann::json &j)
virtual void apply(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Apply this transformation to the SDFG.
std::string strided_container_name() const
Get the name of the container holding the strided (original) value.
virtual std::string name() const override
Get the name of this transformation.
Base class for all SDFG transformations.
Definition transformation.h:25
Definition function_builder.h:10
Definition loop_parallelization.h:8
Definition analysis.h:7