predict.c (combine_predictions_for_bb): Add dry_run parmaeter.
authorJan Hubicka <jh@suse.cz>
Sun, 17 Apr 2016 16:08:27 +0000 (18:08 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 17 Apr 2016 16:08:27 +0000 (16:08 +0000)
commit460545e85a1705b24868f5d67ed5cc6e8de27763
tree8b17781c72abea0097ae16f0f158a2f6d1f6400b
parent69a4e898c8f508f0c56c72c791a38bc432e9fa69
predict.c (combine_predictions_for_bb): Add dry_run parmaeter.

* predict.c (combine_predictions_for_bb): Add dry_run parmaeter.
(tree_estimate_probability): Likewise.
(pass_profile::execute): Update.
(report_predictor_hitrates): New function.
* profile.c (compute_branch_probabilities): Use it.
* predict.h (report_predictor_hitrates): Declare.

From-SVN: r235082
gcc/ChangeLog
gcc/predict.c
gcc/predict.h
gcc/profile.c