dead_code_elimination.hpp 472 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
#ifndef MIGRAPH_GUARD_RTGLIB_DEAD_CODE_ELIMINATION_HPP
#define MIGRAPH_GUARD_RTGLIB_DEAD_CODE_ELIMINATION_HPP

#include <string>
#include <migraph/instruction_ref.hpp>
6
#include <migraph/config.hpp>
Paul's avatar
Paul committed
7

8
9
namespace migraph {
inline namespace MIGRAPH_INLINE_NS {
Paul's avatar
Paul committed
10
11
12
13
14
15
16
17
18

struct program;

struct dead_code_elimination
{
    std::string name() const { return "dead_code_elimination"; }
    void apply(program& p) const;
};

19
} // namespace MIGRAPH_INLINE_NS
Paul's avatar
Paul committed
20
21
22
} // namespace migraph

#endif