aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-07-03 22:02:18 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-07-03 22:02:18 +0000
commit52778e2a62d8e9eacf3333e2cb34b65a45aaf12d (patch)
tree9886efa3473e49dd9518ad36302fcd41d4de7204 /gcc/tree-flow.h
parentb8fff079189688a014f9db20afaabb90a3d7d1a6 (diff)
downloadgcc-52778e2a62d8e9eacf3333e2cb34b65a45aaf12d.zip
gcc-52778e2a62d8e9eacf3333e2cb34b65a45aaf12d.tar.gz
gcc-52778e2a62d8e9eacf3333e2cb34b65a45aaf12d.tar.bz2
tree-flow.h (loop_only_exit_p): Declare.
* tree-flow.h (loop_only_exit_p): Declare. * tree-ssa-loop-niter.c (loop_only_exit_p): Make public. * tree-ssa-loop-ivopts.c (may_eliminate_iv): Reinstate direct check on the number of iterations if it is constant. Otherwise, if this is the only possible exit of the loop, use the conservative estimate on the number of iterations of the entire loop if available. From-SVN: r137437
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 9610547..5479c33 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -1039,6 +1039,7 @@ void tree_ssa_iv_optimize (void);
unsigned tree_predictive_commoning (void);
bool parallelize_loops (void);
+bool loop_only_exit_p (const struct loop *, const_edge);
bool number_of_iterations_exit (struct loop *, edge,
struct tree_niter_desc *niter, bool);
tree find_loop_niter (struct loop *, edge *);