diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1999-02-24 11:50:54 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1999-02-24 11:50:54 +0000 |
commit | c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1 (patch) | |
tree | d564513348fedddafc05c01c247a96bf31e2b04b /gcc/loop.h | |
parent | ddce352881f2a8fcea7e43d6e0354b5d03e1874e (diff) | |
download | gcc-c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1.zip gcc-c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1.tar.gz gcc-c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1.tar.bz2 |
loop.h (loop_insn_first_p): Declare.
* 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.
From-SVN: r25401
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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)); |