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 davi...@google.com 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

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-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 davi...@google.com * cfghhooks.c (dump_bb_for_graph): Support 'slim' graph dump. Index:

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

2013-04-21 Thread Xinliang David Li
Thanks. The patch is revised. David 2013-04-20 Xinliang David Li davi...@google.com * 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:

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

2013-04-20 Thread Xinliang David Li
Hi, the graph dump file currently does not show any profile information. The following simple patch fixed that. Ok for trunk? thanks, David 2013-04-20 Xinliang David Li davi...@google.com * graph.c (draw_cfg_node): Add count and frequency info. (draw_cfg_node_succ_edges):

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 {