aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRong Xu <xur@gcc.gnu.org>2014-10-07 16:26:51 +0000
committerRong Xu <xur@gcc.gnu.org>2014-10-07 16:26:51 +0000
commitfe1090c16ef13afadd24fa82b511208fae6cd958 (patch)
treeec5419b2831d19dc8df760f601a64c3f1c46fbe8 /gcc
parent7c02f68bf452748cb331668cbb8116817b136ea0 (diff)
downloadgcc-fe1090c16ef13afadd24fa82b511208fae6cd958.zip
gcc-fe1090c16ef13afadd24fa82b511208fae6cd958.tar.gz
gcc-fe1090c16ef13afadd24fa82b511208fae6cd958.tar.bz2
Update the ChangeLog for r215962 and r215963.
From-SVN: r215976
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog30
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8a87077..804cfb9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -18,6 +18,36 @@
* 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