diff options
author | Jan Hubicka <jh@suse.cz> | 2013-09-01 19:47:21 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-09-01 17:47:21 +0000 |
commit | 08f835dc74bccf078cb1cad4f3e20dda6d457d74 (patch) | |
tree | e2e4f83196fb64438ea666e999658cda183b0cf5 /gcc/ipa-inline-analysis.c | |
parent | 0adad9c5b470715ead5e012b9114cc87198531fd (diff) | |
download | gcc-08f835dc74bccf078cb1cad4f3e20dda6d457d74.zip gcc-08f835dc74bccf078cb1cad4f3e20dda6d457d74.tar.gz gcc-08f835dc74bccf078cb1cad4f3e20dda6d457d74.tar.bz2 |
Makefile.in: Add ipa-profile.o
* Makefile.in: Add ipa-profile.o
(ipa.o, ipa-devrit.o, ipa-inline-analysis.o): Adjust dependencies.
* cgraph.c (struct cgraph_propagate_frequency_data,
cgraph_propagate_frequency_1, cgraph_propagate_frequency): Move to
ipa-profile.c; replace cgraph_ by ipa_ prefix.
* cgraph.h (cgraph_propagate_frequency): Remove.
* ipa-inline-analysis.c: Include ipa-utils.h; drop duplicated cfgloop.h.
(inline_update_callee_summaries): Update.
* ipa-profile.c: New file.
* ipa-utils.h (ipa_propagate_frequency): Declare.
* ipa.c: Do not include pointer-set.h, hash-table.h, lto-streamer.h,
data-streamer.h, value-prof.h
(symtab_remove_unreachable_nodes): Update profile.
(struct histogram_entry, histogram, histogram_pool, histogram_hash,
account_time_size, cmp_counts, dump_histogram,
ipa_profile_generate_summary, ipa_profile_write_summary,
ipa_profile_read_summary, ipa_profile, gate_ipa_profile,
pass_data_ipa_profile, pass_ipa_profile, make_pass_ipa_profile):
Move to ipa-profile.c
From-SVN: r202154
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
-rw-r--r-- | gcc/ipa-inline-analysis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index 722ba51..fb0c838 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -87,8 +87,8 @@ along with GCC; see the file COPYING3. If not see #include "ipa-inline.h" #include "alloc-pool.h" #include "cfgloop.h" -#include "cfgloop.h" #include "tree-scalar-evolution.h" +#include "ipa-utils.h" /* Estimate runtime of function can easilly run into huge numbers with many nested loops. Be sure we can compute time * INLINE_SIZE_SCALE * 2 in an @@ -3102,7 +3102,7 @@ inline_update_callee_summaries (struct cgraph_node *node, int depth) + callee_info->estimated_self_stack_size; if (inline_summary (node->global.inlined_to)->estimated_stack_size < peak) inline_summary (node->global.inlined_to)->estimated_stack_size = peak; - cgraph_propagate_frequency (node); + ipa_propagate_frequency (node); for (e = node->callees; e; e = e->next_callee) { if (!e->inline_failed) |