loop.h (LOOP_IVS): New macro.
authorMichael Hayes <mhayes@cygnus.com>
Mon, 11 Sep 2000 21:48:46 +0000 (21:48 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Mon, 11 Sep 2000 21:48:46 +0000 (21:48 +0000)
commited5bb68db315b7192f63866899378250810bdad8
treea526b1975d0a61527c9c7397add153dd0db913f2
parent1ecd860b2879a4529b01208eab3484be9383c7d4
loop.h (LOOP_IVS): New macro.

* loop.h (LOOP_IVS): New macro.
(REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
(struct loop_ivs): New.
(struct loop_info): Add ivs field.
(reg_iv_type, reg_iv_info): Delete prototype.
(reg_biv_class, loop_iv_list): Likewise.
* loop.c (record_biv, find_life_end): Pass loop argument.
(reg_iv_type): Remove global array and use
field in loop_regs structure within loop_ivs structure.
(reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
(first_increment_giv, last_increment_giv): Use entry in
loop_ivs structure.
(record_initial): Pass ivs pointer.
* unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.

From-SVN: r36336
gcc/ChangeLog
gcc/loop.c
gcc/loop.h
gcc/unroll.c