diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-24 11:50:54 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-24 11:50:54 +0000 |
commit | 37d52343156824382882b3a3281596180281a798 (patch) | |
tree | d564513348fedddafc05c01c247a96bf31e2b04b /gcc/loop.h | |
parent | 7464c809188da5d175dc7235f100dcff9578a435 (diff) | |
download | gcc-37d52343156824382882b3a3281596180281a798.tar.gz |
* loop.h (loop_insn_first_p): Declare.
* loop.c (loop_insn_first_p): No longer static.
* unroll.c (iteration_info) Fix comparison to
reg_iv_type->num_elements.
Before accessing reg_biv_class, check index against
max_reg_before_loop.
Fix and enable code for giv iterators.
(loop_iterations): Compare with reg_iv_type->num_elements instead
of with max_reg_before_loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25401 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/loop.h b/gcc/loop.h index 50279bb09ec..e164428d861 100644 --- a/gcc/loop.h +++ b/gcc/loop.h @@ -228,10 +228,6 @@ rtx get_condition_for_loop PROTO((rtx)); void emit_iv_add_mult PROTO((rtx, rtx, rtx, rtx, rtx)); rtx express_from PROTO((struct induction *, struct induction *)); -/* Forward declarations for non-static functions declared in stmt.c. */ -void find_loop_tree_blocks PROTO((void)); -void unroll_block_trees PROTO((void)); - void unroll_loop PROTO((rtx, int, rtx, rtx, struct loop_info *, int)); rtx biv_total_increment PROTO((struct iv_class *, rtx, rtx)); unsigned HOST_WIDE_INT loop_iterations PROTO((rtx, rtx, struct loop_info *)); @@ -244,7 +240,10 @@ rtx final_giv_value PROTO((struct induction *, rtx, rtx, unsigned HOST_WIDE_INT)); void emit_unrolled_add PROTO((rtx, rtx, rtx)); int back_branch_in_range_p PROTO((rtx, rtx, rtx)); +int loop_insn_first_p PROTO((rtx, rtx)); extern int *loop_unroll_number; - +/* Forward declarations for non-static functions declared in stmt.c. */ +void find_loop_tree_blocks PROTO((void)); +void unroll_block_trees PROTO((void)); |