|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Applies TrivialLoopElimination to a set of maps. More...
#include <sdfg/passes/trivial_loop_elimination_pass.h>
Public Member Functions | |
| TrivialLoopEliminationPass (std::vector< structured_control_flow::Map * > &maps) | |
| ~TrivialLoopEliminationPass () override=default | |
| bool | run_pass (builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override |
| std::string | name () override |
| Public Member Functions inherited from sdfg::passes::Pass | |
| Pass ()=default | |
| Pass (const Options &options) | |
| virtual | ~Pass ()=default |
| virtual std::vector< OptionSpec > | options () |
| bool | run (builder::SDFGBuilder &builder, bool create_report=false) |
| bool | run (builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager, bool create_report=false) |
| virtual bool | run_pass (builder::SDFGBuilder &builder) |
| virtual void | invalidates (analysis::AnalysisManager &analysis_manager, bool applied) |
Additional Inherited Members | |
| Protected Member Functions inherited from sdfg::passes::Pass | |
| template<class T> | |
| T | option (const OptionKey< T > &key, T fallback=T{}) const |
Applies TrivialLoopElimination to a set of maps.
Eliminated maps are removed from the input vector in-place and replaced by the maps that were direct children of their body (which are, in turn, also eliminated if trivial).
| sdfg::passes::TrivialLoopEliminationPass::TrivialLoopEliminationPass | ( | std::vector< structured_control_flow::Map * > & | maps | ) |
|
overridedefault |
|
inlineoverridevirtual |
Implements sdfg::passes::Pass.
|
overridevirtual |
Reimplemented from sdfg::passes::Pass.