Re: Simple change in dot dumper -- Display profile count and branch probability

2013-04-23 Thread Richard Biener
On Tue, Apr 23, 2013 at 7:40 AM, Xinliang David Li wrote: > Hi, this is a follow up simple patch to support 'slim' graph dump: > when -slim option is specified (e.g, > -fdump-tree-optimized-graph-slim), do not dump the boby. Ok. Thanks, Richard. > 2013-04-22 Xinliang David Li > > * c

Re: Simple change in dot dumper -- Display profile count and branch probability

2013-04-22 Thread Xinliang David Li
Hi, this is a follow up simple patch to support 'slim' graph dump: when -slim option is specified (e.g, -fdump-tree-optimized-graph-slim), do not dump the boby. 2013-04-22 Xinliang David Li * cfghhooks.c (dump_bb_for_graph): Support 'slim' graph dump. Index: cfghooks.c ==

Re: Simple change in dot dumper -- Display profile count and branch probability

2013-04-22 Thread Diego Novillo
On 2013-04-21 02:37 , Xinliang David Li wrote: * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. * Makefile.in: New dependency. Looks OK. Diego.

Re: Simple change in dot dumper -- Display profile count and branch probability

2013-04-20 Thread Xinliang David Li
Thanks. The patch is revised. David 2013-04-20 Xinliang David Li * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. * Makefile.in: New dependency. Index: cfghooks.c ===

Re: Simple change in dot dumper -- Display profile count and branch probability

2013-04-20 Thread Steven Bosscher
On Sun, Apr 21, 2013 at 12:47 AM, Xinliang David Li wrote: > Index: graph.c > === > --- graph.c (revision 198108) > +++ graph.c (working copy) > @@ -110,6 +110,9 @@ draw_cfg_node (pretty_printer *pp, int f >else > { >