aboutsummaryrefslogtreecommitdiff
path: root/gcc/graph.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-12-03 13:16:55 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-12-03 13:16:55 +0000
commit825a3863f03bef59c547c964a4ce06a0379e3fc1 (patch)
tree29ba79d1c1e035b8c748132503bb060cb0248dfd /gcc/graph.h
parent7a8baf28b810873eae40eb993bb3cd4d823770a4 (diff)
* rtl.h (print_insn_with_notes): Prototype.
* sched-vis.c (print_insn_with_notes): Export it. * gimple-pretty-print.h (gimple_dump_bb_for_graph): Prototype. * gimple-pretty-print.c (print_gimple_expr): Flush the buffer. (pp_gimple_stmt_1): Don't do it here. (gimple_dump_bb_for_graph): New function. * tree-pretty-print.c (print_generic_expr): Flush the buffer here. (dump_generic_node): Don't flush the buffer here. * graph.h (print_rtl_graph_with_bb): Rename to print_graph_cfg. * graph.c: Include gimple.h, dumpfile.h, and gimple-pretty-print.h. (draw_cfg_node): Handle GIMPLE basic blocks also. (print_rtl_graph_with_bb): Rename to print_graph_cfg. * passes.c (finish_optimization_passes): Don't finish graph dumps here. (execute_function_dump): Use print_graph_cfg. Enable dumping the CFG for GIMPLE also. (pass_init_dump_file): Wrap in TV_DUMP. Set up CFG graph dumps. (pass_fini_dump_file): Wrap in TV_DUMP. Finish graph dumps. (execute_one_pass): Don't set up graph dumps here. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194085 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graph.h')
-rw-r--r--gcc/graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graph.h b/gcc/graph.h
index 892ebb7edb5..d99c70200e2 100644
--- a/gcc/graph.h
+++ b/gcc/graph.h
@@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_GRAPH_H
#define GCC_GRAPH_H
-extern void print_rtl_graph_with_bb (const char *, tree);
+extern void print_graph_cfg (const char *, tree);
extern void clean_graph_dump_file (const char *);
extern void finish_graph_dump_file (const char *);