diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-26 16:47:58 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-26 16:47:58 +0000 |
commit | f4b3647a2d4a6c1e7638d0ef8e16af439df68524 (patch) | |
tree | 5059e53a87ca0ad87ef8f5e4d61bdce408a23bc3 /gcc/rtl.h | |
parent | 7c5db9528380f04ca9bb1f9fca257c38da2df12b (diff) | |
download | gcc-f4b3647a2d4a6c1e7638d0ef8e16af439df68524.tar.gz |
gcc/
* doc/invoke.texi: Remove -dv documentation. Fix up graph dump related
documentation. Document the '-graph' dump option. Complete the '-slim'
dump option documentation.
* common.opt (Variable graph_dump_format): Remove.
* flag-types.h (enum graph_dump_types): Remove.
* flags.h (dump_for_graph): Remove.
* opts.c (decode_d_option): Remove -dv handling.
* sched-int.h (print_insn, print_pattern, print_value): Move prototypes
from here ...
* rtl.h: ...to here. Add note that these functions ought to be in
another file.
* sched-vis.c (print_insn): Add detailed dump for insn notes.
* print-rtl.c (dump_for_graph): Remove.
(print_rtx): Remove dump_for_graph related code.
* graph.c: Almost complete re-write to dump DOT (GraphViz) dumps
instead of VCG dumps.
* graph.h (print_rtl_graph_with_bb): Update prototype.
* passes.c (finish_optimization_passes): Fix profile dump finishing.
Unconditionally loop over graph dumps to finalize.
(execute_function_dump): Split code to dump graphs to separate block.
(execute_one_pass): Don't set TDF_GRAPH here, let the dump option
decoders do their job.
* ddg.c (vcg_print_ddg): Make it a DEBUG_FUNCTION.
* toplev.c: Don't include graph.h.
* tree-optimize.c: Don't include graph.h.
testsuite/
* testsuite/gcc.dg/20050811-1.c: Change -dv option to -graph option
to -fdump-rtl-all.
* testsuite/gcc.dg/pr37858.c: Remove -dv option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193821 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index 5617dc145d1..90b13429bb6 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2605,6 +2605,14 @@ extern int print_rtl_single (FILE *, const_rtx); extern int print_rtl_single_with_indent (FILE *, const_rtx, int); extern void print_inline_rtx (FILE *, const_rtx, int); +/* Functions in sched-vis.c. These must be outside INSN_SCHEDULING as + sched-vis.c is compiled always. FIXME: Ideally these functions would + not be in sched-vis.c but in rtl.c, because they are not only used + by the scheduler anymore but for all "slim" RTL dumping. */ +extern void print_insn (char *, const_rtx, int); +extern void print_pattern (char *, const_rtx, int); +extern void print_value (char *, const_rtx, int); + /* In function.c */ extern void reposition_prologue_and_epilogue_notes (void); extern int prologue_epilogue_contains (const_rtx); |