6 #ifndef JLM_LLVM_OPT_DEADNODEELIMINATION_HPP
7 #define JLM_LLVM_OPT_DEADNODEELIMINATION_HPP
64 run(rvsdg::Region & region);
67 Run(rvsdg::RvsdgModule & module, util::StatisticsCollector & statisticsCollector) override;
86 SweepGamma(rvsdg::GammaNode & gammaNode) const;
89 SweepTheta(rvsdg::ThetaNode & thetaNode) const;
95 SweepPhi(rvsdg::PhiNode & phiNode) const;
Dead Node Elimination context class.
Dead Node Elimination statistics class.
Dead Node Elimination Optimization.
void SweepRegion(rvsdg::Region ®ion) const
void SweepGamma(rvsdg::GammaNode &gammaNode) const
void SweepStructuralNode(rvsdg::StructuralNode &node) const
static void SweepDelta(rvsdg::DeltaNode &deltaNode)
void run(rvsdg::Region ®ion)
void MarkOutput(const jlm::rvsdg::Output &output)
void Run(rvsdg::RvsdgModule &module, util::StatisticsCollector &statisticsCollector) override
Perform RVSDG transformation.
std::unique_ptr< Context > Context_
void SweepRvsdg(rvsdg::Graph &rvsdg) const
void SweepLambda(rvsdg::LambdaNode &lambdaNode) const
void SweepTheta(rvsdg::ThetaNode &thetaNode) const
~DeadNodeElimination() noexcept override
void MarkRegion(const rvsdg::Region ®ion)
void SweepPhi(rvsdg::PhiNode &phiNode) const
Global memory state passed between functions.