cgraphclones.c (cgraph_edge::clone): Rename gcov_count to prof_count.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 18 Nov 2017 22:55:56 +0000 (23:55 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 18 Nov 2017 22:55:56 +0000 (22:55 +0000)
commit517048cef0edf7ec35d7091ef4fea232edd48a53
tree87fb8324893c35156edda2a67cd930e5e58da277
parent2563a16d3c7a56cd1e0cfe9b4ccb702edfb12312
cgraphclones.c (cgraph_edge::clone): Rename gcov_count to prof_count.

* cgraphclones.c (cgraph_edge::clone): Rename gcov_count to prof_count.
(cgraph_edge::clone): Cleanup updating of profile.
* ipa-cp.c (update_profiling_info): Likewise.
* ipa-inline-transform.c (inline_transform): Likewise.
* ipa-inline.c (inline_small_functions): Add missing space to dump.
* ipa-split.c (execute_split_functions): Do not split when function
is cold.
* predict.c (estimate_bb_frequencies): Cleanup updating of profile.
* profile-count.c (profile_count::dump): Add global0.
(profile_count::to_cgraph_frequency): Do not ICE when entry is
undefined.
(profile_count::to_sreal_scale): Likewise.
(profile_count::adjust_for_ipa_scaling): Fix typo in comment.
(profile_count::combine_with_ipa_count): New function.
* profile-count.h (profile_guessed_global0adjusted): New.
(profile_count::adjusted_zero): New.
(profile_count::global0adjusted): New.
(profile_count::combine_with_ipa_count): New.
* tree-inline.c (copy_edges_for_bb): Add NUM/DEN arugment;
correct profile of return block of split functions.
(copy_cfg_body): Remove unused profile_count.
(copy_body): Likewise.
(expand_call_inline): Update.
(tree_function_versioning): Update.

From-SVN: r254919
gcc/ChangeLog
gcc/cgraphclones.c
gcc/ipa-cp.c
gcc/ipa-inline-transform.c
gcc/ipa-inline.c
gcc/ipa-split.c
gcc/predict.c
gcc/profile-count.c
gcc/profile-count.h
gcc/tree-inline.c