diff options
author | Jan Hubicka <jh@suse.cz> | 2016-07-07 13:50:55 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-07-07 11:50:55 +0000 |
commit | 019d6598357659e05640cf762b75e18953f70fe9 (patch) | |
tree | 64d511f44bec7f6041625ffaa3457e25ff29165e /gcc/tree-scalar-evolution.h | |
parent | 275792f2ebb69bc081c4ea764c75ddfd565f640c (diff) | |
download | gcc-019d6598357659e05640cf762b75e18953f70fe9.zip gcc-019d6598357659e05640cf762b75e18953f70fe9.tar.gz gcc-019d6598357659e05640cf762b75e18953f70fe9.tar.bz2 |
tree-scalar-evolution.c (iv_can_overflow_p): export.
* tree-scalar-evolution.c (iv_can_overflow_p): export.
* tree-scalar-evolution.h (iv_can_overflow_p): Declare.
* tree-ssa-loop-ivopts.c (alloc_iv): Use it.
From-SVN: r238088
Diffstat (limited to 'gcc/tree-scalar-evolution.h')
-rw-r--r-- | gcc/tree-scalar-evolution.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-scalar-evolution.h b/gcc/tree-scalar-evolution.h index 8a87660..382d717 100644 --- a/gcc/tree-scalar-evolution.h +++ b/gcc/tree-scalar-evolution.h @@ -38,6 +38,7 @@ extern unsigned int scev_const_prop (void); extern bool expression_expensive_p (tree); extern bool simple_iv (struct loop *, struct loop *, tree, struct affine_iv *, bool); +extern bool iv_can_overflow_p (struct loop *, tree, tree, tree); extern tree compute_overall_effect_of_inner_loop (struct loop *, tree); /* Returns the basic block preceding LOOP, or the CFG entry block when |