From 6eaf903bb1dd0cc2cdb1bd6bb0d9dc51fa76cf04 Mon Sep 17 00:00:00 2001 From: hubicka Date: Sun, 1 Sep 2013 17:47:21 +0000 Subject: * 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202154 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ipa-utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/ipa-utils.h') diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 77ed6cee63a..5619b5dcda3 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -47,6 +47,9 @@ tree get_base_var (tree); void ipa_merge_profiles (struct cgraph_node *dst, struct cgraph_node *src); +/* In ipa-profile.c */ +bool ipa_propagate_frequency (struct cgraph_node *node); + /* In ipa-devirt.c */ struct odr_type_d; -- cgit v1.2.1