|
Jlm
|
Optimization that attempts to unroll loops (thetas). More...
#include <unroll.hpp>


Classes | |
| class | Statistics |
Public Member Functions | |
| ~LoopUnrolling () noexcept override | |
| LoopUnrolling (const size_t factor) | |
| void | Run (rvsdg::RvsdgModule &module, util::StatisticsCollector &statisticsCollector) override |
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. More... | |
Private Attributes | |
| size_t | factor_ |
Optimization that attempts to unroll loops (thetas).
Definition at line 23 of file unroll.hpp.
|
overridedefaultnoexcept |
|
inlineexplicit |
Definition at line 30 of file unroll.hpp.
|
overridevirtual |
Given a module all inner most loops (thetas) are found and unrolled if possible. All nodes in the module are traversed and if a theta is found and is the inner most theta then an attempt is made to unroll it.
| module | Module where the innermost loops are unrolled |
| statisticsCollector | Statistics collector for collecting loop unrolling statistics. |
Implements jlm::rvsdg::Transformation.
Definition at line 525 of file unroll.cpp.
|
private |
Definition at line 47 of file unroll.hpp.