loop-unroll.c: (decide_unrolling_and_peeling): Rename to
authorJan Hubicka <hubicka@ucw.cz>
Wed, 15 Oct 2014 08:02:06 +0000 (10:02 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 15 Oct 2014 08:02:06 +0000 (08:02 +0000)
commitf8934be78727eb998f6bb04c001f3dda6cf1017c
treee4fe1dea885c050d43cd384f86a97b01f26934e9
parentfa7fa585ea103c78d433ed615e6d2c7bb68f1ec2
loop-unroll.c: (decide_unrolling_and_peeling): Rename to

* loop-unroll.c: (decide_unrolling_and_peeling): Rename to
(decide_unrolling): ... this one.
(peel_loops_completely): Remove.
(decide_peel_simple): Remove.
(decide_peel_once_rolling): Remove.
(decide_peel_completely): Remove.
(peel_loop_simple): Remove.
(peel_loop_completely): Remove.
(unroll_and_peel_loops): Rename to ...
(unroll_loops): ... this one; handle only unrolling.
* cfgloop.h (lpt_dec): Remove LPT_PEEL_COMPLETELY and
LPT_PEEL_SIMPLE.
(UAP_PEEL): Remove.
(unroll_and_peel_loops): Remove.
(unroll_loops): New.
* passes.def: Replace
pass_rtl_unroll_and_peel_loops by pass_rtl_unroll_loops.
* loop-init.c (gate_rtl_unroll_and_peel_loops,
rtl_unroll_and_peel_loops): Rename to ...
(gate_rtl_unroll_loops, rtl_unroll_loops): ... these; update.
(pass_rtl_unroll_and_peel_loops): Rename to ...
(pass_rtl_unroll_loops): ... this one.
* tree-pass.h (make_pass_rtl_unroll_and_peel_loops): Remove.
(make_pass_rtl_unroll_loops): New.
* tree-ssa-loop-ivcanon.c: (estimated_peeled_sequence_size, try_peel_loop): New.
(canonicalize_loop_induction_variables): Update.

* gcc.dg/tree-prof/peel-1.c: Update.
* gcc.dg/tree-prof/unroll-1.c: Update.
* gcc.dg/gcc.dg/unroll_1.c: Update.
* gcc.dg/gcc.dg/unroll_2.c: Update.
* gcc.dg/gcc.dg/unroll_3.c: Update.
* gcc.dg/gcc.dg/unroll_4.c: Update.

From-SVN: r216238
13 files changed:
gcc/ChangeLog
gcc/cfgloop.h
gcc/loop-init.c
gcc/loop-unroll.c
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/peel-1.c
gcc/testsuite/gcc.dg/unroll_1.c
gcc/testsuite/gcc.dg/unroll_2.c
gcc/testsuite/gcc.dg/unroll_3.c
gcc/testsuite/gcc.dg/unroll_4.c
gcc/tree-pass.h
gcc/tree-ssa-loop-ivcanon.c