#include <sdfg/transformations/rpc_node_transform.h>
|
| | RPCNodeTransform (structured_control_flow::ControlFlowNode &node, const std::string &target, const std::string &category, sdfg::passes::rpc::RpcContext &rpc_context, bool enable_fusion=true, bool normalize=true, bool schedule_loops=true, bool print_steps=false) |
| virtual std::string | name () const override |
| | Get the name of this transformation.
|
| virtual bool | can_be_applied (sdfg::builder::StructuredSDFGBuilder &builder, sdfg::analysis::AnalysisManager &analysis_manager) override |
| | Check if this transformation can be safely applied.
|
| virtual void | apply (sdfg::builder::StructuredSDFGBuilder &builder, sdfg::analysis::AnalysisManager &analysis_manager) override |
| | Apply this transformation to the SDFG.
|
| passes::rpc::RpcOptResponse & | applied_recipe () const |
| void | to_json (nlohmann::json &j) const override |
| | Serialize this transformation to JSON.
|
| std::variant< std::unique_ptr< passes::rpc::RpcOptResponse >, std::string > | parse_rpc_response (HttpResult result) |
| virtual | ~Transformation ()=default |
| virtual void | set_report (PassReportConsumer *report) |
| | Set the report consumer for transformation feedback.
|
| virtual bool | try_apply (builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) |
| | Attempt to apply the transformation if possible.
|
◆ RPCNodeTransform()
◆ applied_recipe()
◆ apply()
◆ can_be_applied()
Check if this transformation can be safely applied.
- Parameters
-
| builder | The SDFG builder |
| analysis_manager | The analysis manager providing necessary analyses |
- Returns
- true if all preconditions are met
Implements sdfg::transformations::Transformation.
◆ name()
| virtual std::string sdfg::transformations::RPCNodeTransform::name |
( |
| ) |
const |
|
overridevirtual |
◆ parse_rpc_response()
◆ to_json()
| void sdfg::transformations::RPCNodeTransform::to_json |
( |
nlohmann::json & | j | ) |
const |
|
overridevirtual |
Serialize this transformation to JSON.
- Parameters
-
| j | JSON object to populate with transformation description |
- Exceptions
-
| std::logic_error | if not implemented |
Implements sdfg::transformations::Transformation.
The documentation for this class was generated from the following file: