* cgraphclones.c (cgraph_edge::clone): Rename gcov_count to prof_count.
commited0831a9b84eb53c2f393f54ba45a9316c56339b
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2017 22:55:56 +0000 (18 22:55 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2017 22:55:56 +0000 (18 22:55 +0000)
tree87fb8324893c35156edda2a67cd930e5e58da277
parent42f670fb492be9b97b00a69b5ec42ab41b5e4d79
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254919 138bc75d-0d04-0410-961f-82ee72b054a4
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