Remove indirect call top N counter type.
authorMartin Liska <mliska@suse.cz>
Fri, 7 Jun 2019 06:41:58 +0000 (08:41 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 7 Jun 2019 06:41:58 +0000 (06:41 +0000)
commite37333bad7b7df7fd9d2e5165f61c2a68b57a30d
tree11122c7c389797b0e1f14c47c37b5607faff8a47
parentcc261f66c268107b120add99942d729b3a489452
Remove indirect call top N counter type.

2019-06-07  Martin Liska  <mliska@suse.cz>

* doc/invoke.texi: Remove param.
* gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV):
Remove.
* gcov-io.h (GCOV_ICALL_TOPN_VAL): Likewise.
(GCOV_ICALL_TOPN_NCOUNTS): Likewise.
* params.def (PARAM_INDIR_CALL_TOPN_PROFILE): Likewise.
* profile.c (instrument_values): Remove
HIST_TYPE_INDIR_CALL_TOPN.
* tree-profile.c (init_ic_make_global_vars):
Always build __gcov_indirect_call only.
(gimple_init_gcov_profiler): Remove usage
of PARAM_INDIR_CALL_TOPN_PROFILE.
(gimple_gen_ic_profiler): Likewise.
* value-prof.c (dump_histogram_value): Likewise.
(stream_in_histogram_value): Likewise.
(gimple_indirect_call_to_profile): Likewise.
(gimple_find_values_to_profile): Likewise.
* value-prof.h (enum hist_type): Likewise.
2019-06-07  Martin Liska  <mliska@suse.cz>

* Makefile.in: Remove usage of
_gcov_merge_icall_topn.
* libgcov-driver.c (gcov_sort_n_vals): Remove.
(gcov_sort_icall_topn_counter): Likewise.
(gcov_sort_topn_counter_arrays): Likewise.
(dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
* libgcov-merge.c (__gcov_merge_icall_topn): Remove.
* libgcov-profiler.c (__gcov_topn_value_profiler_body):
Likewise.
(GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
(struct indirect_call_tuple): Remove.
(__gcov_indirect_call_topn_profiler): Remove.
* libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
* libgcov.h (gcov_sort_n_vals): Remove.
(L_gcov_merge_icall_topn): Likewise.
(__gcov_merge_icall_topn): Likewise.
(__gcov_indirect_call_topn_profiler): Likewise.

From-SVN: r272030
16 files changed:
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/gcov-counter.def
gcc/gcov-io.h
gcc/params.def
gcc/profile.c
gcc/tree-profile.c
gcc/value-prof.c
gcc/value-prof.h
libgcc/ChangeLog
libgcc/Makefile.in
libgcc/libgcov-driver.c
libgcc/libgcov-merge.c
libgcc/libgcov-profiler.c
libgcc/libgcov-util.c
libgcc/libgcov.h