Jlm
cne.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_HLS_OPT_CNE_HPP
7 #define JLM_HLS_OPT_CNE_HPP
8 
10 
11 namespace jlm::hls
12 {
13 
14 // FIXME
15 // The CommonNodeElimination optimization should be generalized such that it can be used for both
16 // the LLVM and HLS backend.
17 
24 {
25  class Statistics;
26 
27 public:
28  ~CommonNodeElimination() noexcept override;
29 
32  {}
33 
34  void
35  Run(rvsdg::RvsdgModule & module, util::StatisticsCollector & statisticsCollector) override;
36 };
37 
38 }
39 
40 #endif
Common Node Elimination This is mainly a copy of the CNE optimization in the LLVM backend with the ad...
Definition: cne.hpp:24
~CommonNodeElimination() noexcept override
void Run(rvsdg::RvsdgModule &module, util::StatisticsCollector &statisticsCollector) override
Perform RVSDG transformation.
Definition: cne.cpp:623
Represents an RVSDG transformation.