|
Jlm
|
#include <Transformation.hpp>


Classes | |
| class | Statistics |
Public Member Functions | |
| ~TransformationSequence () noexcept override | |
| TransformationSequence (std::vector< std::shared_ptr< Transformation > > transformations, DotWriter &dotWriter, const bool dumpRvsdgGraphs) | |
| void | Run (RvsdgModule &rvsdgModule, util::StatisticsCollector &statisticsCollector) override |
| Perform RVSDG transformations. | |
Public Member Functions inherited from jlm::rvsdg::Transformation | |
| virtual | ~Transformation () noexcept |
| Transformation (std::string_view Name) | |
| const std::string_view & | GetName () const noexcept |
| void | Run (RvsdgModule &module) |
| Perform RVSDG transformation. | |
Static Public Member Functions | |
| static void | CreateAndRun (RvsdgModule &rvsdgModule, util::StatisticsCollector &statisticsCollector, std::vector< std::shared_ptr< Transformation > > transformations, DotWriter &dotWriter, const bool dumpRvsdgGraphs) |
| Creates a transformation sequence and invokes its Run() method. | |
Private Member Functions | |
| void | DumpDotGraphs (RvsdgModule &rvsdgModule, const util::FilePath &filePath, const std::string &passName, size_t numPass) const |
Private Attributes | |
| DotWriter & | DotWriter_ |
| bool | dumpRvsdgGraphs_ |
| std::vector< std::shared_ptr< Transformation > > | Transformations_ |
Sequentially applies a list of RVSDG transformations.
Definition at line 71 of file Transformation.hpp.
|
overridedefaultnoexcept |
|
inlineexplicit |
Definition at line 78 of file Transformation.hpp.
|
inlinestatic |
Creates a transformation sequence and invokes its Run() method.
| rvsdgModule | RVSDG module the transformation is performed on. |
| statisticsCollector | Statistics collector for collecting transformation statistics. |
| transformations | The transformations that are sequentially applied to rvsdgModule. |
| dotWriter | The DOT writer for dumping the RVSDG graphs. |
| dumpRvsdgGraphs | Determines whether to dump the RVSDG graphs. |
Definition at line 107 of file Transformation.hpp.
|
private |
Definition at line 134 of file Transformation.cpp.
|
overridevirtual |
Perform RVSDG transformations.
| rvsdgModule | RVSDG module the transformation is performed on. |
| statisticsCollector | Statistics collector for collecting transformation statistics. |
Implements jlm::rvsdg::Transformation.
Definition at line 79 of file Transformation.cpp.
|
private |
Definition at line 129 of file Transformation.hpp.
|
private |
Definition at line 130 of file Transformation.hpp.
|
private |
Definition at line 131 of file Transformation.hpp.