Commit b0e2d008 by Dwarakanath Rajagopal Committed by Dwarakanath Rajagopal

ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump ...

2009-04-13  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>                                                                   
                                                                                                                                
        * ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump                                                         
        file_name:line_number type locator of the call site.

From-SVN: r146014
parent 82e738a5
2009-04-13 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump
file_name:line_number type locator of the call site.
2009-04-13 Vladimir Makarov <vmakarov@redhat.com> 2009-04-13 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c: Put blank after comma. * genautomata.c: Put blank after comma.
......
...@@ -900,10 +900,12 @@ cgraph_decide_inlining_of_small_functions (void) ...@@ -900,10 +900,12 @@ cgraph_decide_inlining_of_small_functions (void)
cgraph_node_name (edge->callee), cgraph_node_name (edge->callee),
edge->callee->global.insns); edge->callee->global.insns);
fprintf (dump_file, fprintf (dump_file,
" to be inlined into %s\n" " to be inlined into %s in %s:%i\n"
" Estimated growth after inlined into all callees is %+i insns.\n" " Estimated growth after inlined into all callees is %+i insns.\n"
" Estimated badness is %i, frequency %.2f.\n", " Estimated badness is %i, frequency %.2f.\n",
cgraph_node_name (edge->caller), cgraph_node_name (edge->caller),
gimple_filename ((const_gimple) edge->call_stmt),
gimple_lineno ((const_gimple) edge->call_stmt),
cgraph_estimate_growth (edge->callee), cgraph_estimate_growth (edge->callee),
cgraph_edge_badness (edge), cgraph_edge_badness (edge),
edge->frequency / (double)CGRAPH_FREQ_BASE); edge->frequency / (double)CGRAPH_FREQ_BASE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment