1 | #ifndef _TRITON_IR_PRINT_H_ |
---|---|
2 | #define _TRITON_IR_PRINT_H_ |
3 | |
4 | #include "builder.h" |
5 | |
6 | namespace triton{ |
7 | namespace ir{ |
8 | |
9 | class module; |
10 | class function; |
11 | class basic_block; |
12 | class instruction; |
13 | |
14 | void print(module &mod, std::ostream& os); |
15 | void print(function &func, std::ostream& os); |
16 | void print(basic_block &bb, std::ostream& os); |
17 | void print(instruction &instr, std::ostream& os); |
18 | |
19 | } |
20 | } |
21 | |
22 | #endif |
23 |