8#include <nlohmann/json.hpp>
37 const nlohmann::json& desc,
38 bool skip_if_not_applicable =
true,
39 size_t loopnest_index = 0
57 const nlohmann::json& desc,
58 bool skip_if_not_applicable =
true
60 T transformation(T::from_json(
builder, desc));
61 if (!transformation.can_be_applied(
builder, analysis_manager)) {
62 if (!skip_if_not_applicable) {
63 throw transformations::
64 InvalidTransformationException(
"Transformation " + transformation.name() +
" cannot be applied.");
69 transformation.apply(
builder, analysis_manager);
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
Definition function_builder.h:10