graph.c: Include sbitmap.h and cfgloop.h.
commit13475df132847150db59393cc88cd12915cef52f
authorSteven Bosscher <steven@gcc.gnu.org>
Wed, 12 Dec 2012 13:21:41 +0000 (12 13:21 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Wed, 12 Dec 2012 13:21:41 +0000 (12 13:21 +0000)
tree0065c0275ba2790fa72c6483563e1ce5917c5a6f
parentaf9acf911f1f6e0511414fa4d148a5e13edde08a
graph.c: Include sbitmap.h and cfgloop.h.

* graph.c: Include sbitmap.h and cfgloop.h.
(draw_cfg_nodes_no_loops): New function to dump basic blocks in
topological order if the function does not have a loop tree.
Handle unreachable blocks also.
(draw_cfg_nodes_for_loop): New function to dump basic blocks in
one loop tree node as a named cluster of nodes.
(draw_cfg_nodes): New function to draw all CFG nodes.
(draw_cfg_edges): New function to draw all CFG edges.
(print_graph_cfg): Simplify using the new functions.
* Makefile.in (graph.o): Fix dependencies.

From-SVN: r194446
gcc/ChangeLog
gcc/Makefile.in
gcc/graph.c