modulo-sched.c: Use rtx_insn in various places
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 19:00:05 +0000 (19:00 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 19:00:05 +0000 (19:00 +0000)
commitbc69df913e4480884da760a9d64056a396ba7d71
treece8391ce1981ef54a989fe4295573007547408d5
parentda47202a764f50b6c3a5731d867917cdffbc7663
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214354 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/modulo-sched.c