From 460545e85a1705b24868f5d67ed5cc6e8de27763 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 17 Apr 2016 18:08:27 +0200 Subject: 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/predict.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/predict.h') 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 */ -- cgit v1.1