6 #ifndef JLM_LLVM_OPT_PULL_HPP
7 #define JLM_LLVM_OPT_PULL_HPP
65 static std::vector<rvsdg::Node *>
Node Sinking Optimization.
static std::vector< rvsdg::Node * > sortByDepth(const util::HashSet< rvsdg::Node * > &nodes)
static util::HashSet< rvsdg::Node * > collectDependentNodes(const rvsdg::Node &node)
void Run(rvsdg::RvsdgModule &module, util::StatisticsCollector &statisticsCollector) override
Perform RVSDG transformation.
static size_t sinkDependentNodesIntoGamma(rvsdg::GammaNode &gammaNode)
~NodeSinking() noexcept override
Conditional operator / pattern matching.
Represent acyclic RVSDG subgraphs.
Global memory state passed between functions.
void pullin_top(rvsdg::GammaNode *gamma)
void pull(rvsdg::GammaNode *gamma)