diff options
author | Jan Hubicka <jh@suse.cz> | 2016-04-17 18:08:27 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-04-17 16:08:27 +0000 |
commit | 460545e85a1705b24868f5d67ed5cc6e8de27763 (patch) | |
tree | 8b17781c72abea0097ae16f0f158a2f6d1f6400b /gcc/predict.h | |
parent | 69a4e898c8f508f0c56c72c791a38bc432e9fa69 (diff) | |
download | gcc-460545e85a1705b24868f5d67ed5cc6e8de27763.zip gcc-460545e85a1705b24868f5d67ed5cc6e8de27763.tar.gz gcc-460545e85a1705b24868f5d67ed5cc6e8de27763.tar.bz2 |
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
Diffstat (limited to 'gcc/predict.h')
-rw-r--r-- | gcc/predict.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/predict.h b/gcc/predict.h index 84dcf4a..a725596 100644 --- a/gcc/predict.h +++ b/gcc/predict.h @@ -90,5 +90,6 @@ extern void compute_function_frequency (void); extern tree build_predict_expr (enum br_predictor, enum prediction); extern const char *predictor_name (enum br_predictor); extern void rebuild_frequencies (void); +extern void report_predictor_hitrates (void); #endif /* GCC_PREDICT_H */ |