Jlm
CommonNodeElimination.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2017 Nico Reißmann <nico.reissmann@gmail.com>
3  * See COPYING for terms of redistribution.
4  */
5 
6 #ifndef JLM_LLVM_OPT_CNE_HPP
7 #define JLM_LLVM_OPT_CNE_HPP
8 
10 
11 namespace jlm::llvm
12 {
13 
21 {
22 public:
23  class Context;
24  class Statistics;
25 
26  ~CommonNodeElimination() noexcept override;
27 
30  {}
31 
32  void
33  Run(rvsdg::RvsdgModule & module, util::StatisticsCollector & statisticsCollector) override;
34 };
35 
36 }
37 
38 #endif
Common Node Elimination Discovers simple nodes, region arguments and structural node outputs that are...
~CommonNodeElimination() noexcept override
void Run(rvsdg::RvsdgModule &module, util::StatisticsCollector &statisticsCollector) override
Perform RVSDG transformation.
Represents an RVSDG transformation.
Transformation(std::string_view Name)
Global memory state passed between functions.