aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-11-14 10:18:35 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2017-11-14 09:18:35 +0000
commitfc06ae0d196a321425aefe9e2e262abfb10c0775 (patch)
tree6785cead8fe96ac5a04c12298aa78b360382eb4d /gcc/predict.h
parent0cea1d34f781ba9e08ffa82458f0410b398e9c93 (diff)
downloadgcc-fc06ae0d196a321425aefe9e2e262abfb10c0775.zip
gcc-fc06ae0d196a321425aefe9e2e262abfb10c0775.tar.gz
gcc-fc06ae0d196a321425aefe9e2e262abfb10c0775.tar.bz2
auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count. * cgraphunit.c (cgraph_node::expand_thunk): Use update_max_bb_count. * ipa-utils.c (ipa_merge_profiles): Use update_max_bb_count. * lto-streamer-in.c (input_function): Use update_max_bb_count. * omp-expand.c (expand_omp_taskreg): Use update_max_bb_count. * predict.c (maybe_hot_frequency_p): Inline to ... (maybe_hot_count_p): ... here; rewrite to counts. (counts_to_freqs): Rename to ... (update_max_bb_count): ... this one. (expensive_function_p): Use counts. (estimate_bb_frequencies): Update. (rebuild_frequencies): Update. * predict.h (counts_to_freqs): Rename to ... (update_max_bb_count): ... this one. * profile.c (compute_branch_probabilities): Add debug info * tree-inline.c (expand_call_inline): Update debug info. (optimize_inline_calls): Use update_max_bb_count.. (tree_function_versioning): Use update_max_bb_count.. * value-prof.c (gimple_value_profile_transformations): Do not use update_max_bb_count. From-SVN: r254725
Diffstat (limited to 'gcc/predict.h')
-rw-r--r--gcc/predict.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.h b/gcc/predict.h
index 1b73ae2..24c604f 100644
--- a/gcc/predict.h
+++ b/gcc/predict.h
@@ -89,7 +89,7 @@ extern void guess_outgoing_edge_probabilities (basic_block);
extern void tree_guess_outgoing_edge_probabilities (basic_block);
extern void tree_estimate_probability (bool);
extern void handle_missing_profiles (void);
-extern bool counts_to_freqs (void);
+extern bool update_max_bb_count (void);
extern bool expensive_function_p (int);
extern void estimate_bb_frequencies (bool);
extern void compute_function_frequency (void);