modulo-sched.c: Use rtx_insn in various places
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 22 Aug 2014 19:00:05 +0000 (19:00 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 22 Aug 2014 19:00:05 +0000 (19:00 +0000)
commit6210ec61d92762184a7c53e4fa2c9e1e037251ee
treece8391ce1981ef54a989fe4295573007547408d5
parentcea83a3ac8124fd77a00b7090867beb4875aa482
modulo-sched.c: Use rtx_insn in various places

gcc/
* modulo-sched.c (struct ps_reg_move_info): Strengthen field
"insn" from rtx to rtx_insn *.
(ps_rtl_insn): Likewise for return type.
(doloop_register_get): Likewise for params "head", "tail" and
locals "insn", "first_insn_not_to_check".
(schedule_reg_move): Likewise for local "this_insn".
(schedule_reg_moves): Add a checked cast to rtx_insn * to result
of gen_move_insn for now.
(reset_sched_times): Strengthen local "insn" from rtx to
rtx_insn *.
(permute_partial_schedule): Likewise.
(duplicate_insns_of_cycles): Likewise for local "u_insn".
(dump_insn_location): Likewise for param "insn".
(loop_canon_p): Likewise for local "insn".
(sms_schedule): Likewise.
(print_partial_schedule): Likewise.
(ps_has_conflicts): Likewise.

From-SVN: r214354
gcc/ChangeLog
gcc/modulo-sched.c