diff options
author | Michael Hayes <m.hayes@elec.canterbury.ac.nz> | 2000-01-25 22:49:56 +0000 |
---|---|---|
committer | Michael Hayes <m.hayes@gcc.gnu.org> | 2000-01-25 22:49:56 +0000 |
commit | 0534b8047e8a12c4748f70a7bbb3267319c21216 (patch) | |
tree | 485accfbaa9a9a0c623a1a52c041fc3b441001ea /gcc/loop.h | |
parent | 8e46653128e8fdebfd07d72f8190cea7b632bec6 (diff) | |
download | gcc-0534b8047e8a12c4748f70a7bbb3267319c21216.zip gcc-0534b8047e8a12c4748f70a7bbb3267319c21216.tar.gz gcc-0534b8047e8a12c4748f70a7bbb3267319c21216.tar.bz2 |
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
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -230,23 +230,21 @@ extern int first_increment_giv, last_increment_giv; /* Forward declarations for non-static functions declared in loop.c and unroll.c. */ -int invariant_p PARAMS ((rtx)); -rtx get_condition_for_loop PARAMS ((rtx)); +int loop_invariant_p PARAMS ((const struct loop *, rtx)); +rtx get_condition_for_loop PARAMS ((const struct loop *, rtx)); void emit_iv_add_mult PARAMS ((rtx, rtx, rtx, rtx, rtx)); rtx express_from PARAMS ((struct induction *, struct induction *)); void unroll_loop PARAMS ((struct loop *, int, rtx, int)); -rtx biv_total_increment PARAMS ((struct iv_class *, rtx, rtx)); +rtx biv_total_increment PARAMS ((struct iv_class *)); unsigned HOST_WIDE_INT loop_iterations PARAMS ((struct loop *)); -int precondition_loop_p PARAMS ((rtx, struct loop_info *, +int precondition_loop_p PARAMS ((const struct loop *, rtx *, rtx *, rtx *, enum machine_mode *mode)); -rtx final_biv_value PARAMS ((struct iv_class *, rtx, rtx, - unsigned HOST_WIDE_INT)); -rtx final_giv_value PARAMS ((struct induction *, rtx, rtx, - unsigned HOST_WIDE_INT)); +rtx final_biv_value PARAMS ((const struct loop *, struct iv_class *)); +rtx final_giv_value PARAMS ((const struct loop *, struct induction *)); void emit_unrolled_add PARAMS ((rtx, rtx, rtx)); -int back_branch_in_range_p PARAMS ((rtx, rtx, rtx)); +int back_branch_in_range_p PARAMS ((const struct loop *, rtx)); int loop_insn_first_p PARAMS ((rtx, rtx)); |