predict.c (tree_estimate_probability): Add new parameter for estimate_bb_frequencies.
authorTeresa Johnson <tejohnson@google.com>
Thu, 10 Oct 2013 20:30:08 +0000 (20:30 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Thu, 10 Oct 2013 20:30:08 +0000 (20:30 +0000)
commit67fa7880729adbe567fd578151060e3a4a8873e8
treeee44642551d3ee1b05cabe70b04747b7d739f6bf
parent58b2a3585302ca85e06c5957e307f292c61036d9
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
gcc/ChangeLog
gcc/predict.c
gcc/predict.h