aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2008-06-02 18:36:49 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2008-06-02 16:36:49 +0000
commit3250d724898f2c4af583d67ba86c34193ba86a89 (patch)
tree9966e2434cb3b536d44ef7b732d765660efcb506 /gcc/basic-block.h
parent79711d26dbc325abf22d935cc248bcd59a06eb21 (diff)
downloadgcc-3250d724898f2c4af583d67ba86c34193ba86a89.zip
gcc-3250d724898f2c4af583d67ba86c34193ba86a89.tar.gz
gcc-3250d724898f2c4af583d67ba86c34193ba86a89.tar.bz2
predict.c (maybe_hot_frequency_p): Break out of...
* predict.c (maybe_hot_frequency_p): Break out of... (maybe_hot_bb_p): ... here. (maybe_hot_edge_p): New. * tree-ssa-coalesce.c (coalesce_cost_edge): Compute cost based on edge. * basic-block.h (maybe_hot_edge_p): Declare. From-SVN: r136282
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 53e8a8b..17ec338 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -827,6 +827,7 @@ extern void compute_available (sbitmap *, sbitmap *, sbitmap *, sbitmap *);
/* In predict.c */
extern bool maybe_hot_bb_p (const_basic_block);
+extern bool maybe_hot_edge_p (edge);
extern bool probably_cold_bb_p (const_basic_block);
extern bool probably_never_executed_bb_p (const_basic_block);
extern bool tree_predicted_by_p (const_basic_block, enum br_predictor);