tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter EVERY_ITERATION...
commite152d14c2f42038d518c985eb3f4a830323791b3
authorJan Hubicka <hubicka@gcc.gnu.org>
Tue, 30 Oct 2012 16:50:05 +0000 (30 16:50 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 30 Oct 2012 16:50:05 +0000 (30 16:50 +0000)
treeecccfce88aecb82c5943a82331ae059519286d5c
parentcd0f62787d6d57d1519f91d281ff00fb35b188ca
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: r192990
gcc/tree-flow.h