tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter EVERY_ITERATION...
authorJan Hubicka <jh@suse.cz>
Tue, 30 Oct 2012 16:12:16 +0000 (17:12 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 30 Oct 2012 16:12:16 +0000 (16:12 +0000)
commitcd0f62787d6d57d1519f91d281ff00fb35b188ca
treecbc6008b7f0ffd4f218684dc344ffb2600f892c4
parentbaa061be44ee32ca259b1a66266d7a27f3c37054
tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter EVERY_ITERATION with implicit value of true.

* tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter
EVERY_ITERATION with implicit value of true.
(record_estimate): Check dominance relationship of the basic block
we are estimating on instead of relying on UPPER to be false.
(struct ilb_data): Drop RELIABLE.
(idx_infer_loop_bounds): Update.
(infer_loop_bounds_from_ref): Drop parameter RELIABLE.
(infer_loop_bounds_from_array): Drop parameter RELIABLE.
(infer_loop_bounds_from_undefined): Update comments and handling
of RELIABLE.
(estimate_numbers_of_iterations_loop): Record all bounds.

From-SVN: r192989
gcc/ChangeLog
gcc/tree-ssa-loop-niter.c