diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-19 10:08:22 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-19 10:08:22 +0000 |
commit | f13bf5f6901b9992d51e08626a54684e3f87b065 (patch) | |
tree | 364d01592638bbedac4b328c1fdd042e919e7542 /gcc/loop.h | |
parent | 2705c0e6e3ebd7e2f0d5e0f8d6687e416724afe2 (diff) | |
download | gcc-f13bf5f6901b9992d51e08626a54684e3f87b065.tar.gz |
* loop.c (check_insn_for_bivs, for_every_insn_in_loop,
check_insn_for_givs): Break out from ...
(strength_reduce) ... here; use for_every_insn_in_loop to call
check_insn_for_givs.
* loop.h (for_every_insn_in_loop): Declare.
(loop_insn_callback): New type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33250 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h index 703073372b6..390c1ce4b7c 100644 --- a/gcc/loop.h +++ b/gcc/loop.h @@ -247,4 +247,6 @@ void emit_unrolled_add PARAMS ((rtx, rtx, rtx)); int back_branch_in_range_p PARAMS ((const struct loop *, rtx)); int loop_insn_first_p PARAMS ((rtx, rtx)); +typedef void (*loop_insn_callback ) PARAMS ((struct loop *, rtx, int, int)); +void for_each_insn_in_loop PARAMS ((struct loop *, loop_insn_callback)); |