6 #ifndef JLM_LLVM_OPT_DEADNODEELIMINATION_HPP
7 #define JLM_LLVM_OPT_DEADNODEELIMINATION_HPP
64 run(rvsdg::Region & region);
86 sweepGamma(rvsdg::GammaNode & gammaNode) const;
89 sweepTheta(rvsdg::ThetaNode & thetaNode) const;
95 sweepPhi(rvsdg::PhiNode & phiNode) const;
static jlm::util::StatisticsCollector statisticsCollector
Dead Node Elimination context class.
Dead Node Elimination statistics class.
Dead Node Elimination Optimization.
void sweepStructuralNode(rvsdg::StructuralNode &node) const
static void sweepDelta(rvsdg::DeltaNode &deltaNode)
void sweepGamma(rvsdg::GammaNode &gammaNode) const
void sweepLambda(rvsdg::LambdaNode &lambdaNode) const
void run(rvsdg::Region ®ion)
void Run(rvsdg::RvsdgModule &module, util::StatisticsCollector &statisticsCollector) override
Perform RVSDG transformation.
std::unique_ptr< Context > Context_
void markRegion(const rvsdg::Region ®ion)
void sweepPhi(rvsdg::PhiNode &phiNode) const
void sweepRvsdg(rvsdg::Graph &rvsdg) const
~DeadNodeElimination() noexcept override
static void removeNode(rvsdg::Node &node)
void markOutput(const rvsdg::Output &output)
void sweepRegion(rvsdg::Region ®ion) const
void sweepTheta(rvsdg::ThetaNode &thetaNode) const
Global memory state passed between functions.