aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_print.hpp')
-rw-r--r--src/ir_print.hpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ir_print.hpp b/src/ir_print.hpp
index 1292779ac4..dde5aaea67 100644
--- a/src/ir_print.hpp
+++ b/src/ir_print.hpp
@@ -12,11 +12,14 @@
#include <stdio.h>
-void ir_print(CodeGen *codegen, FILE *f, IrExecutable *executable, int indent_size, IrPass pass);
-void ir_print_instruction(CodeGen *codegen, FILE *f, IrInstruction *instruction, int indent_size, IrPass pass);
-void ir_print_const_expr(CodeGen *codegen, FILE *f, ZigValue *value, int indent_size, IrPass pass);
-void ir_print_basic_block(CodeGen *codegen, FILE *f, IrBasicBlock *bb, int indent_size, IrPass pass);
+void ir_print_src(CodeGen *codegen, FILE *f, IrExecutableSrc *executable, int indent_size);
+void ir_print_gen(CodeGen *codegen, FILE *f, IrExecutableGen *executable, int indent_size);
+void ir_print_inst_src(CodeGen *codegen, FILE *f, IrInstSrc *inst, int indent_size);
+void ir_print_inst_gen(CodeGen *codegen, FILE *f, IrInstGen *inst, int indent_size);
+void ir_print_basic_block_src(CodeGen *codegen, FILE *f, IrBasicBlockSrc *bb, int indent_size);
+void ir_print_basic_block_gen(CodeGen *codegen, FILE *f, IrBasicBlockGen *bb, int indent_size);
-const char* ir_instruction_type_str(IrInstructionId id);
+const char* ir_inst_src_type_str(IrInstSrcId id);
+const char* ir_inst_gen_type_str(IrInstGenId id);
#endif