aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-10-30 16:50:05 +0000
committerJan Hubicka <jh@suse.cz>2012-10-30 16:50:05 +0000
commitd1375d485bb0895487a062c539168426c5bc31a9 (patch)
treeecccfce88aecb82c5943a82331ae059519286d5c /gcc/tree-flow.h
parent7b07604f5644176905e7a388a7c53a8766c9d301 (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 15c14654b22..0d9edad6f75 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -627,7 +627,8 @@ 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);
+ struct tree_niter_desc *niter, bool,
+ bool every_iteration = true);
tree find_loop_niter (struct loop *, edge *);
tree loop_niter_by_eval (struct loop *, edge);
tree find_loop_niter_by_eval (struct loop *, edge *);