diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-14 16:25:49 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-14 16:25:49 +0000 |
commit | 97fc8ad6794aa2579761d1c2a0cd5e37ab5f838b (patch) | |
tree | 447ba0e4a89f08d5b91fe1200a91c2a22d90b9d6 /gcc/cfgloop.h | |
parent | 3681186ec5cc73cbe9af15711fccd0cbbaca7ebe (diff) | |
download | gcc-97fc8ad6794aa2579761d1c2a0cd5e37ab5f838b.tar.gz |
* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Do not
predict loops with multiple exits realistically.
* cfgloopanal.c (single_likely_exit): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192434 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r-- | gcc/cfgloop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 80af7d8dbc4..95f5d5313da 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -254,7 +254,8 @@ extern basic_block *get_loop_body_in_custom_order (const struct loop *, int (*) (const void *, const void *)); extern VEC (edge, heap) *get_loop_exit_edges (const struct loop *); -edge single_exit (const struct loop *); +extern edge single_exit (const struct loop *); +extern edge single_likely_exit (struct loop *loop); extern unsigned num_loop_branches (const struct loop *); extern edge loop_preheader_edge (const struct loop *); |