diff options
author | Teresa Johnson <tejohnson@google.com> | 2013-10-10 20:30:08 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@gcc.gnu.org> | 2013-10-10 20:30:08 +0000 |
commit | 67fa7880729adbe567fd578151060e3a4a8873e8 (patch) | |
tree | ee44642551d3ee1b05cabe70b04747b7d739f6bf /gcc/predict.h | |
parent | 58b2a3585302ca85e06c5957e307f292c61036d9 (diff) | |
download | gcc-67fa7880729adbe567fd578151060e3a4a8873e8.zip gcc-67fa7880729adbe567fd578151060e3a4a8873e8.tar.gz gcc-67fa7880729adbe567fd578151060e3a4a8873e8.tar.bz2 |
predict.c (tree_estimate_probability): Add new parameter for estimate_bb_frequencies.
2013-10-10 Teresa Johnson <tejohnson@google.com>
* predict.c (tree_estimate_probability): Add new parameter
for estimate_bb_frequencies.
(estimate_bb_frequencies): Add new parameter to force estimation.
(rebuild_frequencies): When max frequency in function is small,
recompute counts from frequencies.
* predict.h (estimate_bb_frequencies): New parameter.
From-SVN: r203395
Diffstat (limited to 'gcc/predict.h')
-rw-r--r-- | gcc/predict.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.h b/gcc/predict.h index 559f803..02650e2 100644 --- a/gcc/predict.h +++ b/gcc/predict.h @@ -37,7 +37,7 @@ enum prediction extern void predict_insn_def (rtx, enum br_predictor, enum prediction); extern int counts_to_freqs (void); -extern void estimate_bb_frequencies (void); +extern void estimate_bb_frequencies (bool); extern const char *predictor_name (enum br_predictor); extern tree build_predict_expr (enum br_predictor, enum prediction); extern void tree_estimate_probability (void); |