+2020-01-08 Martin Liska <mliska@suse.cz>
+
+ * ipa-fnsummary.c (dump_ipa_call_summary): Use symtab_node::dump_name.
+ (ipa_call_context::estimate_size_and_time): Likewise.
+ (inline_analyze_function): Likewise.
+
2020-01-08 Martin Liska <mliska@suse.cz>
* cgraph.c (cgraph_node::dump): Use systematically
int i;
fprintf (f,
- "%*s%s/%i %s\n%*s freq:%4.2f",
- indent, "", callee->name (), callee->order,
+ "%*s%s %s\n%*s freq:%4.2f",
+ indent, "", callee->dump_name (),
!edge->inline_failed
? "inlined" : cgraph_inline_failed_string (edge-> inline_failed),
indent, "", edge->sreal_frequency ().to_double ());
if (dump_file && (dump_flags & TDF_DETAILS))
{
bool found = false;
- fprintf (dump_file, " Estimating body: %s/%i\n"
- " Known to be false: ", m_node->name (),
- m_node->order);
+ fprintf (dump_file, " Estimating body: %s\n"
+ " Known to be false: ", m_node->dump_name ());
for (i = predicate::not_inlined_condition;
i < (predicate::first_dynamic_condition
push_cfun (DECL_STRUCT_FUNCTION (node->decl));
if (dump_file)
- fprintf (dump_file, "\nAnalyzing function: %s/%u\n",
- node->name (), node->order);
+ fprintf (dump_file, "\nAnalyzing function: %s\n", node->dump_name ());
if (opt_for_fn (node->decl, optimize) && !node->thunk.thunk_p)
inline_indirect_intraprocedural_analysis (node);
compute_fn_summary (node, false);
best_varpool_pos = varpool_pos;
}
if (dump_file)
- fprintf (dump_file, "Step %i: added %s/%i, size %i, "
+ fprintf (dump_file, "Step %i: added %s, size %i, "
"cost %" PRId64 "/%" PRId64 " "
"best %" PRId64 "/%" PRId64", step %i\n", i,
- order[i]->name (), order[i]->order,
+ order[i]->dump_name (),
partition->insns, cost, internal,
best_cost, best_internal, best_i);
/* Partition is too large, unwind into step when best cost was reached and