diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-15 10:35:59 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-15 10:35:59 +0000 |
commit | 15c999e300ce4b964596356967085d8e5f21cb4f (patch) | |
tree | 58c9805dc7bf2a381e5910b508a1fe957bbb0de5 /gcc/ipa-inline-analysis.c | |
parent | 7af74943825a005cc2966a4d4e8ef3f2dab26f11 (diff) | |
download | gcc-15c999e300ce4b964596356967085d8e5f21cb4f.tar.gz |
2013-05-15 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (ipa_print_node_jump_functions): Print symbol order in
header, print symbol order instead of node uid, print more information
about indirect edge targets.
(ipa_make_edge_direct_to_target): Print symbol order instead of node
uids.
(ipa_make_edge_direct_to_target): Likewise.
(remove_described_reference): Likewise.
(propagate_controlled_uses): Likewise.
(ipa_print_node_params): Also print symbol order.
(ipcp_transform_function): Print symbol order instead of node uids.
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Likewise.
(cgraph_get_create_real_symbol_node): Likewise.
* ipa-cp.c (print_lattice): Likewise.
(print_all_lattices): Likewise.
(determine_versionability): Likewise.
(initialize_node_lattices): Likewise.
(estimate_local_effects): Likewise.
(update_profiling_info): Likewise.
(create_specialized_node): Likewise.
(perhaps_add_new_callers): Likewise.
(decide_about_value): Likewise.
(decide_whether_version_node): Likewise.
(identify_dead_nodes): Likewise.
* ipa-inline-analysis.c (dump_inline_edge_summary): Likewise.
(dump_inline_summary): Likewise.
(estimate_node_size_and_time): Likewise.
(inline_analyze_function): Likewise.
* ipa-inline.c (report_inline_failed_reason): Likewise.
(want_early_inline_function_p): Likewise.
(edge_badness): Likewise.
(update_edge_key): Likewise.
(inline_small_functions): Likewise. Add dumping of order to two other
dumps.
* ipa-pure-const.c (pure_const_read_summary): Print symbol order
instead of node uids.
(propagate_pure_const): Likewise.
(propagate_pure_const): Likewise.
* ipa-utils.c (dump_cgraph_node_set): Likewise.
* lto-cgraph.c (input_node): Explicitly specify we dump uid.
* lto-symtab.c (lto_cgraph_replace_node): Print symbol order instead
of node uids.
* tree-pretty-print.c (dump_function_header): Likewise.
* tree-sra.c (convert_callers_for_node): Dump in traditional format.
Print symbol order instead of node uids.
lto/
* lto-partition.c (lto_balanced_map): Print symbol order instead
of node uids.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198925 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
-rw-r--r-- | gcc/ipa-inline-analysis.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index 8d66325237b..c6f127ebbd2 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -1291,7 +1291,7 @@ dump_inline_edge_summary (FILE *f, int indent, struct cgraph_node *node, fprintf (f, "%*s%s/%i %s\n%*s loop depth:%2i freq:%4i size:%2i" " time: %2i callee size:%2i stack:%2i", - indent, "", cgraph_node_name (callee), callee->uid, + indent, "", cgraph_node_name (callee), callee->symbol.order, !edge->inline_failed ? "inlined" : cgraph_inline_failed_string (edge-> inline_failed), indent, "", es->loop_depth, edge->frequency, @@ -1357,7 +1357,7 @@ dump_inline_summary (FILE *f, struct cgraph_node *node) size_time_entry *e; int i; fprintf (f, "Inline summary for %s/%i", cgraph_node_name (node), - node->uid); + node->symbol.order); if (DECL_DISREGARD_INLINE_LIMITS (node->symbol.decl)) fprintf (f, " always_inline"); if (s->inlinable) @@ -2870,7 +2870,8 @@ estimate_node_size_and_time (struct cgraph_node *node, { bool found = false; fprintf (dump_file, " Estimating body: %s/%i\n" - " Known to be false: ", cgraph_node_name (node), node->uid); + " Known to be false: ", cgraph_node_name (node), + node->symbol.order); for (i = predicate_not_inlined_condition; i < (predicate_first_dynamic_condition @@ -3650,7 +3651,7 @@ inline_analyze_function (struct cgraph_node *node) if (dump_file) fprintf (dump_file, "\nAnalyzing function: %s/%u\n", - cgraph_node_name (node), node->uid); + cgraph_node_name (node), node->symbol.order); if (optimize && !node->thunk.thunk_p) inline_indirect_intraprocedural_analysis (node); compute_inline_parameters (node, false); |