summaryrefslogtreecommitdiff
path: root/gcc/predict.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-05-02 14:43:35 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-05-02 14:43:35 +0000
commit34efdaf078b01a7387007c4e6bde6db86384c4b7 (patch)
treed503eaf41d085669d1481bb46ec038bc866fece6 /gcc/predict.h
parentf733cf303bcdc952c92b81dd62199a40a1f555ec (diff)
downloadgcc-tarball-master.tar.gz
gcc-7.1.0gcc-7.1.0
Diffstat (limited to 'gcc/predict.h')
-rw-r--r--gcc/predict.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/predict.h b/gcc/predict.h
index 84dcf4a041..6fc7c2c89f 100644
--- a/gcc/predict.h
+++ b/gcc/predict.h
@@ -1,5 +1,5 @@
/* Definitions for branch prediction routines in the GNU compiler.
- Copyright (C) 2001-2016 Free Software Foundation, Inc.
+ Copyright (C) 2001-2017 Free Software Foundation, Inc.
This file is part of GCC.
@@ -81,7 +81,7 @@ extern void remove_predictions_associated_with_edge (edge);
extern void predict_edge_def (edge, enum br_predictor, enum prediction);
extern void invert_br_probabilities (rtx);
extern void guess_outgoing_edge_probabilities (basic_block);
-extern void tree_estimate_probability (void);
+extern void tree_estimate_probability (bool);
extern void handle_missing_profiles (void);
extern int counts_to_freqs (void);
extern bool expensive_function_p (int);
@@ -90,5 +90,7 @@ 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);
+extern void force_edge_cold (edge, bool);
#endif /* GCC_PREDICT_H */