]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-parloops.c
tree-ssa-loop-niter.h (estimate_numbers_of_iterations): Take struct function as arg.
authorRichard Biener <rguenther@suse.de>
Mon, 19 Jun 2017 07:26:50 +0000 (07:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Jun 2017 07:26:50 +0000 (07:26 +0000)
commitadb7eaa2bac31047b37cc8b9cb7b4121ca0a8fea
tree45140d490b96fcec2f3b954c5e0f7d1496ea0b05
parentdb9bbdeca441e21f50b12cbfc2ff34992242b4f3
tree-ssa-loop-niter.h (estimate_numbers_of_iterations): Take struct function as arg.

2017-06-19  Richard Biener  <rguenther@suse.de>

* tree-ssa-loop-niter.h (estimate_numbers_of_iterations): Take
struct function as arg.
(estimate_numbers_of_iterations): Export overload with loop arg.
(free_numbers_of_iterations_estimates_loop): Use an overload of
free_numbers_of_iterations_estimates instead.
* tree-cfg.c (remove_bb): Adjust.
* tree-cfgcleanup.c (remove_forwarder_block_with_phi): Likewise.
* tree-parloops.c (gen_parallel_loop): Likewise.
* tree-ssa-loop-ivcanon.c (canonicalize_induction_variables):
Likewise.
(tree_unroll_loops_completely): Likewise.
* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop):
Use an overload instead and export.
(estimated_loop_iterations): Adjust.
(max_loop_iterations): Likewise.
(likely_max_loop_iterations): Likewise.
(estimate_numbers_of_iterations): Take struct function as arg
and adjust.
(loop_exits_before_overflow): Adjust.
(free_numbers_of_iterations_estimates_loop): Use an overload.
* tree-vect-loop.c (vect_analyze_loop_form): Adjust.
* tree-vectorizer.c (vect_free_loop_info_assumptions): Likewise.

From-SVN: r249358
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-cfgcleanup.c
gcc/tree-parloops.c
gcc/tree-ssa-loop-ivcanon.c
gcc/tree-ssa-loop-niter.c
gcc/tree-ssa-loop-niter.h
gcc/tree-vect-loop.c
gcc/tree-vectorizer.c