target-insns.def (doloop_begin, doloop_end): New targetm instruction patterns.
authorRichard Sandiford <richard.sandiford@arm.com>
Sun, 5 Jul 2015 08:01:48 +0000 (08:01 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 5 Jul 2015 08:01:48 +0000 (08:01 +0000)
commit89f7b21fb0dfb2b9c7339b44035df76e2265d489
treef95b1bc19179206a2e7d46a7587619466659f205
parentf2cf13bd7c00ec7d12e7bddfefeb5eea84a14f74
target-insns.def (doloop_begin, doloop_end): New targetm instruction patterns.

gcc/
* target-insns.def (doloop_begin, doloop_end): New targetm
instruction patterns.
* loop-init.c: Include target.h.
(pass_loop2::gate): Use the new targetm patterns instead of
HAVE_*/gen_* interface.
(pass_rtl_doloop::gate): Likewise.
(pass_rtl_doloop::execute): Remove preprocessor condition.
* hw-doloop.c: Build unconditionally.
* loop-doloop.c: Likewise.
(doloop_optimize): Use the new targetm patterns instead of
HAVE_*/gen_* interface.
(doloop_modify): Likewise. Change type of doloop_seq to rtx_insn *.
* modulo-sched.c (doloop_register_get): Likewise.

From-SVN: r225431
gcc/ChangeLog
gcc/hw-doloop.c
gcc/loop-doloop.c
gcc/loop-init.c
gcc/modulo-sched.c
gcc/target-insns.def