aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-04-16 17:56:12 -0600
committerJeff Law <law@gcc.gnu.org>1998-04-16 17:56:12 -0600
commite009aaf31fe0817ed9935c668817b2b83e141ba4 (patch)
tree08a9115271749de97a7598114ffea608e5c1aca1 /gcc/loop.c
parentd77fac3be28ceefab764590a51a07cd6d0af3492 (diff)
downloadgcc-e009aaf31fe0817ed9935c668817b2b83e141ba4.zip
gcc-e009aaf31fe0817ed9935c668817b2b83e141ba4.tar.gz
gcc-e009aaf31fe0817ed9935c668817b2b83e141ba4.tar.bz2
loop.c (regs_patch_p): Add prototype.
* loop.c (regs_patch_p): Add prototype. (add_label_notes, count_nonfixed_reads): Likewise. (find_single_use_in_loop): Likewise. (express_from): Surround prototype with #ifdef. (giv_sort): Similarly. * jump.c (mark_modified_reg): Add prototype. * haifa-sched.c (is_prisky): Add prototype. (queue_to_ready): Likewise. * genextract.c (gen_insn): Add prototype. * genemit.c (max_operand_1): Add prototype. (max_operand_vec, print_code, gen_exp, gen_insn): Likewise. (gen_expand, gen_explit, output_add_clobbers): Likewise. (output_init_mov_optab): Likewise. * genattrtab.c (attr_hash_add_rtx): Add prototype. (attr_hash_add_string, write_length_unit_log): Likewise. * genattr.c (init_range): Add prototype. * combine.c (sets_function_arg_p): Add prototype. From-SVN: r19251
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 4d2a662..9326979 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -296,9 +296,13 @@ static int libcall_benefit PROTO((rtx));
static void ignore_some_movables PROTO((struct movable *));
static void force_movables PROTO((struct movable *));
static void combine_movables PROTO((struct movable *, int));
+static int regs_patch_p PROTO((rtx, rtx, struct movable *));
static int rtx_equal_for_loop_p PROTO((rtx, rtx, struct movable *));
+static void add_label_notes PROTO((rtx, rtx));
static void move_movables PROTO((struct movable *, int, int, rtx, rtx, int));
+static int count_nonfixed_reads PROTO((rtx));
static void strength_reduce PROTO((rtx, rtx, rtx, int, rtx, rtx, int));
+static void find_single_use_in_loop PROTO((rtx, rtx, rtx *));
static int valid_initial_value_p PROTO((rtx, rtx, int, rtx));
static void find_mem_givs PROTO((rtx, rtx, int, rtx, rtx));
static void record_biv PROTO((struct induction *, rtx, rtx, rtx, rtx, int, int));
@@ -310,8 +314,13 @@ static rtx simplify_giv_expr PROTO((rtx, int *));
static int general_induction_var PROTO((rtx, rtx *, rtx *, rtx *));
static int consec_sets_giv PROTO((int, rtx, rtx, rtx, rtx *, rtx *));
static int check_dbra_loop PROTO((rtx, int, rtx));
+#ifdef ADDRESS_COST
static rtx express_from PROTO((struct induction *, struct induction *));
+#endif
static int combine_givs_p PROTO((struct induction *, struct induction *));
+#ifdef GIV_SORT_CRITERION
+static int giv_sort PROTO((struct induction **, struct induction **));
+#endif
static void combine_givs PROTO((struct iv_class *));
static int product_cheap_p PROTO((rtx, rtx));
static int maybe_eliminate_biv PROTO((struct iv_class *, rtx, rtx, int, int, int));