loop.c (current_loop_info): Delete.
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Tue, 25 Jan 2000 22:49:56 +0000 (22:49 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Tue, 25 Jan 2000 22:49:56 +0000 (22:49 +0000)
commit0534b8047e8a12c4748f70a7bbb3267319c21216
tree485accfbaa9a9a0c623a1a52c041fc3b441001ea
parent8e46653128e8fdebfd07d72f8190cea7b632bec6
loop.c (current_loop_info): Delete.

2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* loop.c (current_loop_info): Delete.
(consec_sets_invariant_p): Add loop argument, update callers.
(get_condition_for_loop): Likewise.
(count_nonfixed_reads, update_giv_derive): Likewise.
(simplify_giv_expr, general_induction_var): Likewise.
(consec_sets_giv, recombine_givs): Likewise.
(move_movables): Delete loop_start and loop_end arguments,
add loop argument, and update callers.
(find_mem_givs, check_final_value): Likewise.
(record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
(loop_invariant_p): Rename from invariant_p, add loop argument, and
update callers.
(basic_induction_var): Add loop argument, delete loop_level argument,
and update callers.
* unroll.c (iteration_info): Delete loop_start and loop_end arguments,
add loop argument, and update callers.
(find_splittable_regs, find_splittable_givs): Likewise.
(reg_dead_after_loop, loop_find_equiv_value): Likewise.
(final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
(biv_total_increment): Delete loop_start and loop_end arguments;
update callers.
(precondition_loop_p): Delete loop_start and loop_info arguments;
update callers.
* loop.h (get_condition_for_loop): Add loop argument.
(biv_total_increment): Delete loop_start and loop_end arguments.
(precondition_loop_p): Delete loop_start and loop_info arguments;
add loop argument.
(final_biv_value): Delete loop_start and loop_end arguments;
add loop argument.
(final_giv_value, back_branch_in_range_p): Likewise.

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