loop.h (struct loop_reg): New.
authorMichael Hayes <mhayes@redhat.com>
Fri, 5 Jan 2001 03:25:58 +0000 (03:25 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Fri, 5 Jan 2001 03:25:58 +0000 (03:25 +0000)
commitf1d4ac807fef11650c2d3ccf512ba74bc4fe2523
tree2894c78ef237e3fda3cd660020611673b41b3420
parent576d0b547dce3fbe4072cc41101b11faa7f47176
loop.h (struct loop_reg): New.

* loop.h (struct loop_reg): New.
(struct loop_regs): Change to use array of `struct loop_reg'.
* loop.c: Replace assortment of varrays with single regs array.
(count_one_set): Delete may_not_move array argument
and use regs array instead.  All caller's changed.
(count_loop_regs_set): Delete may_not_move and single_usage
arguments and use regs array instead.  All caller's changed.
(find_single_use_in_loop): Replace usage array argument with pointer
to regs structure.  All caller's changed.
(loop_optimize): Delete `moved_once' array.

From-SVN: r38700
gcc/ChangeLog
gcc/loop.c
gcc/loop.h