Mercurial > hg > CbC > CbC_gcc
comparison gcc/sel-sched-dump.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Instruction scheduling pass. Log dumping infrastructure. | 1 /* Instruction scheduling pass. Log dumping infrastructure. |
2 Copyright (C) 2006, 2007, 2008, 2010 Free Software Foundation, Inc. | 2 Copyright (C) 2006-2017 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
19 | 19 |
20 | 20 |
21 #ifndef GCC_SEL_SCHED_DUMP_H | 21 #ifndef GCC_SEL_SCHED_DUMP_H |
22 #define GCC_SEL_SCHED_DUMP_H | 22 #define GCC_SEL_SCHED_DUMP_H |
23 | 23 |
24 #include "sel-sched-ir.h" | |
25 | 24 |
26 | 25 |
27 /* These values control the dumping of control flow graph to the .dot file. */ | 26 /* These values control the dumping of control flow graph to the .dot file. */ |
28 enum sel_dump_cfg_def | 27 enum sel_dump_cfg_def |
29 { | 28 { |
109 | 108 |
110 extern void dump_vinsn_1 (vinsn_t, int); | 109 extern void dump_vinsn_1 (vinsn_t, int); |
111 extern void dump_vinsn (vinsn_t); | 110 extern void dump_vinsn (vinsn_t); |
112 extern void debug_vinsn (vinsn_t); | 111 extern void debug_vinsn (vinsn_t); |
113 | 112 |
113 extern void debug (vinsn_def &ref); | |
114 extern void debug (vinsn_def *ptr); | |
115 extern void debug_verbose (vinsn_def &ref); | |
116 extern void debug_verbose (vinsn_def *ptr); | |
117 | |
118 | |
114 /* These values control dumping of expressions. The meaning of the fields | 119 /* These values control dumping of expressions. The meaning of the fields |
115 is explained in sel-sched-ir.h. */ | 120 is explained in sel-sched-ir.h. */ |
116 enum dump_expr_def | 121 enum dump_expr_def |
117 { | 122 { |
118 /* Dump the vinsn behind this expression. */ | 123 /* Dump the vinsn behind this expression. */ |
143 }; | 148 }; |
144 | 149 |
145 extern void dump_expr_1 (expr_t, int); | 150 extern void dump_expr_1 (expr_t, int); |
146 extern void dump_expr (expr_t); | 151 extern void dump_expr (expr_t); |
147 extern void debug_expr (expr_t); | 152 extern void debug_expr (expr_t); |
153 | |
154 extern void debug (expr_def &ref); | |
155 extern void debug (expr_def *ptr); | |
156 extern void debug_verbose (expr_def &ref); | |
157 extern void debug_verbose (expr_def *ptr); | |
158 | |
148 | 159 |
149 /* A enumeration for dumping flags of an insn. The difference from | 160 /* A enumeration for dumping flags of an insn. The difference from |
150 dump_insn_rtx_def is that these fields are for insns in stream only. */ | 161 dump_insn_rtx_def is that these fields are for insns in stream only. */ |
151 enum dump_insn_def | 162 enum dump_insn_def |
152 { | 163 { |
182 extern bool sched_dump_to_dot_p; | 193 extern bool sched_dump_to_dot_p; |
183 | 194 |
184 | 195 |
185 /* Functions from sel-sched-dump.c. */ | 196 /* Functions from sel-sched-dump.c. */ |
186 extern void sel_print (const char *fmt, ...) ATTRIBUTE_PRINTF_1; | 197 extern void sel_print (const char *fmt, ...) ATTRIBUTE_PRINTF_1; |
187 extern const char * sel_print_insn (const_rtx, int); | 198 extern const char * sel_print_insn (const rtx_insn *, int); |
188 extern void free_sel_dump_data (void); | 199 extern void free_sel_dump_data (void); |
189 | 200 |
190 extern void block_start (void); | 201 extern void block_start (void); |
191 extern void block_finish (void); | 202 extern void block_finish (void); |
192 extern int get_print_blocks_num (void); | 203 extern int get_print_blocks_num (void); |
212 extern void debug_expr (expr_t); | 223 extern void debug_expr (expr_t); |
213 extern void debug_av_set (av_set_t); | 224 extern void debug_av_set (av_set_t); |
214 extern void debug_lv_set (regset); | 225 extern void debug_lv_set (regset); |
215 extern void debug_ilist (ilist_t); | 226 extern void debug_ilist (ilist_t); |
216 extern void debug_blist (blist_t); | 227 extern void debug_blist (blist_t); |
228 extern void debug (vec<rtx> &ref); | |
229 extern void debug (vec<rtx> *ptr); | |
217 extern void debug_insn_vector (rtx_vec_t); | 230 extern void debug_insn_vector (rtx_vec_t); |
218 extern void debug_hard_reg_set (HARD_REG_SET); | 231 extern void debug_hard_reg_set (HARD_REG_SET); |
219 extern rtx debug_mem_addr_value (rtx); | 232 extern rtx debug_mem_addr_value (rtx); |
220 #endif | 233 #endif |