Update the ChangeLog for r215962 and r215963.
authorRong Xu <xur@gcc.gnu.org>
Tue, 7 Oct 2014 16:26:51 +0000 (16:26 +0000)
committerRong Xu <xur@gcc.gnu.org>
Tue, 7 Oct 2014 16:26:51 +0000 (16:26 +0000)
From-SVN: r215976

gcc/ChangeLog
libgcc/ChangeLog

index 8a87077adab022efbce550dbf9725f3f37e9b9e5..804cfb90991bd02292539d29c7778b1acd561a69 100644 (file)
        * lto-wrapper.c (merge_and_complain): Likewise.
        (run_gcc): Likewise.
 
+2014-10-06  Rong Xu  <xur@google.com>
+
+       * params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param.
+       * tree-profile.c: (params.h): New include.
+       (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee
+       and __gcov_indirect_call_topn_counters for
+       indirect_call_topn_profile.
+       (gimple_init_edge_profiler): New decls for 
+       __gcov_indirect_call_topn_profiler.
+       (gimple_gen_ic_profiler): Generate the correct profiler call.
+       (gimple_gen_ic_func_profiler): Fix format.
+       * value-prof.c (params.h): New include.
+       (dump_histogram_value): Hanlde indirect_call_topn counters.
+       (stream_in_histogram_value): Ditto.
+       (gimple_indirect_call_to_profile): Use indirect_call_topn
+       profile when PARAM_INDIR_CALL_TOPN_PROFILE is set.
+       (gimple_find_values_to_profile): Hanlde indirect_call_topn
+       counters.
+       * value-prof.h (enum hist_type): Histrogram type for
+       indirect_call_topn counters.
+       * profile.c (instrument_values): Instrument
+       indirect_call_topn counters.
+
+2014-10-06  Rong Xu  <xur@google.com>
+
+       * Makefile.in: Fix dependence.
+       * gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add
+       indirect call topn profiler.
+       * gcov-io.h: Ditto.
+
 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
 
        * calls.c (expand_call): Do not use the target as the return slot if
index 7adbc042c267ff4fef8f7901d711ef77c97d8493..248c1786ff5cecad34460dc97d0d4e85bd1601a7 100644 (file)
@@ -1,3 +1,18 @@
+2014-10-06  Rong Xu  <xur@google.com>
+
+       * Makefile.in: Ditto.
+       * libgcov-driver.c (gcov_sort_n_vals): New utility function.
+       (gcov_sort_icall_topn_counter): Ditto.
+       (gcov_sort_topn_counter_arrays): Ditto.
+       (dump_one_gcov): Sort indirect_call topn counters.
+       * libgcov-merge.c (__gcov_merge_icall_topn): New merge
+       function.
+       * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
+       utility function.
+       (__gcov_indirect_call_topn_profiler): New profiler function.
+       * libgcov-util.c (__gcov_icall_topn_counter_op): New.
+       * libgcov.h: New decls.
+
 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
 
        * config.host: Remove support for score-*.