Node Sinking Optimization.
More...
#include <pull.hpp>
Node Sinking Optimization.
Definition at line 23 of file pull.hpp.
◆ ~NodeSinking()
| jlm::llvm::NodeSinking::~NodeSinking |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ NodeSinking()
| jlm::llvm::NodeSinking::NodeSinking |
( |
| ) |
|
|
inline |
◆ collectDependentNodes()
Collects all nodes that (in-)directly dependent on node.
- Parameters
-
| node | A node for which to compute the dependent nodes. |
- Returns
- A set of all the dependent nodes.
Definition at line 161 of file pull.cpp.
◆ Run()
Perform RVSDG transformation.
- Note
- This method is expected to be called multiple times. An implementation is required to reset the objects' internal state to ensure correct behavior after every invocation.
- Parameters
-
| module | RVSDG module the transformation is performed on. |
| statisticsCollector | Statistics collector for collecting transformation statistics. |
Implements jlm::rvsdg::Transformation.
Definition at line 398 of file pull.cpp.
◆ sinkDependentNodesIntoGamma()
| size_t jlm::llvm::NodeSinking::sinkDependentNodesIntoGamma |
( |
rvsdg::GammaNode & |
gammaNode | ) |
|
|
static |
Sink all nodes that are dependent on gammaNode and are from the same region as gammaNode into the gamma node's subregions.
- Parameters
-
- Returns
- The number of dependent nodes that were sunk into the gamma node.
Definition at line 215 of file pull.cpp.
◆ sortByDepth()
Sort nodes by their depth.
- Parameters
-
- Returns
- A sorted vector of nodes.
- Precondition
- All nodes in
must be from the same region.
Definition at line 187 of file pull.cpp.
The documentation for this class was generated from the following files: