summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/combine.c1
-rw-r--r--gcc/expr.c3
-rw-r--r--gcc/genattr.c1
-rw-r--r--gcc/genattrtab.c3
-rw-r--r--gcc/genemit.c11
-rw-r--r--gcc/genextract.c1
-rw-r--r--gcc/haifa-sched.c3
-rw-r--r--gcc/jump.c1
-rw-r--r--gcc/loop.c9
9 files changed, 31 insertions, 2 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 66de17e6688..ef8ed46333d 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -399,6 +399,7 @@ static void init_reg_last_arrays PROTO((void));
static void setup_incoming_promotions PROTO((void));
static void set_nonzero_bits_and_sign_copies PROTO((rtx, rtx));
static int can_combine_p PROTO((rtx, rtx, rtx, rtx, rtx *, rtx *));
+static int sets_function_arg_p PROTO((rtx));
static int combinable_i3pat PROTO((rtx, rtx *, rtx, rtx, int, rtx *));
static rtx try_combine PROTO((rtx, rtx, rtx));
static void undo_all PROTO((void));
diff --git a/gcc/expr.c b/gcc/expr.c
index d42f6345d0c..f2b97d3bf7a 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -169,7 +169,8 @@ static void store_constructor_field PROTO((rtx, int, int, enum machine_mode,
static void store_constructor PROTO((tree, rtx, int));
static rtx store_field PROTO((rtx, int, int, enum machine_mode, tree,
enum machine_mode, int, int, int));
-static enum memory_use_mode PROTO((enum expand_modifier));
+static enum memory_use_mode
+ get_memory_usage_from_modifier PROTO((enum expand_modifier));
static tree save_noncopied_parts PROTO((tree, tree));
static tree init_noncopied_parts PROTO((tree, tree));
static int safe_from_p PROTO((rtx, tree, int));
diff --git a/gcc/genattr.c b/gcc/genattr.c
index 7f900be6994..58e99307b6c 100644
--- a/gcc/genattr.c
+++ b/gcc/genattr.c
@@ -61,6 +61,7 @@ struct function_unit
};
static void extend_range PROTO((struct range *, int, int));
+static void init_range PROTO((struct range *));
static void write_upcase PROTO((char *));
static void gen_attr PROTO((rtx));
static void write_units PROTO((int, struct range *, struct range *,
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index 374f50f390d..2c2c9dd48ac 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -363,6 +363,8 @@ int optimize = 0;
struct _global_rtl global_rtl;
rtx pic_offset_table_rtx;
+static void attr_hash_add_rtx PROTO((int, rtx));
+static void attr_hash_add_string PROTO((int, char *));
static rtx attr_rtx PVPROTO((enum rtx_code, ...));
#ifdef HAVE_VPRINTF
static char *attr_printf PVPROTO((int, char *, ...));
@@ -396,6 +398,7 @@ static rtx identity_fn PROTO((rtx));
static rtx zero_fn PROTO((rtx));
static rtx one_fn PROTO((rtx));
static rtx max_fn PROTO((rtx));
+static void write_length_unit_log PROTO ((void));
static rtx simplify_cond PROTO((rtx, int, int));
#if 0
static rtx simplify_by_alternatives PROTO((rtx, int, int));
diff --git a/gcc/genemit.c b/gcc/genemit.c
index d239ba65feb..209fe096e0c 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -63,6 +63,17 @@ struct clobber_ent
struct clobber_ent *next;
};
+static void max_operand_1 PROTO((rtx));
+static int max_operand_vec PROTO((rtx, int));
+static void print_code PROTO((RTX_CODE));
+static void gen_exp PROTO((rtx));
+static void gen_insn PROTO((rtx));
+static void gen_expand PROTO((rtx));
+static void gen_split PROTO((rtx));
+static void output_add_clobbers PROTO((void));
+static void output_init_mov_optab PROTO((void));
+
+
static void
max_operand_1 (x)
rtx x;
diff --git a/gcc/genextract.c b/gcc/genextract.c
index 22722b5c81d..574a8f38b9c 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -95,6 +95,7 @@ static int dupnums[MAX_DUP_OPERANDS];
static struct code_ptr *peepholes;
+static void gen_insn PROTO ((rtx));
static void walk_rtx PROTO ((rtx, char *));
static void print_path PROTO ((char *));
char *xmalloc PROTO ((unsigned));
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index ba48a29e19a..5ca158728ea 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -518,7 +518,6 @@ extern rtx forced_labels;
static int is_cfg_nonregular PROTO ((void));
-void debug_control_flow PROTO ((void));
static int build_control_flow PROTO ((int_list_ptr *, int_list_ptr *,
int *, int *));
static void new_edge PROTO ((int, int));
@@ -715,6 +714,7 @@ static int find_conditional_protection PROTO ((rtx, int));
static int is_conditionally_protected PROTO ((rtx, int, int));
static int may_trap_exp PROTO ((rtx, int));
static int haifa_classify_insn PROTO ((rtx));
+static int is_prisky PROTO ((rtx, int, int));
static int is_exception_free PROTO ((rtx, int, int));
static char find_insn_mem_list PROTO ((rtx, rtx, rtx, rtx));
@@ -761,6 +761,7 @@ static void get_block_head_tail PROTO ((int, rtx *, rtx *));
static void find_pre_sched_live PROTO ((int));
static void find_post_sched_live PROTO ((int));
static void update_reg_usage PROTO ((void));
+static int queue_to_ready ((rtx [], int))
void debug_ready_list PROTO ((rtx[], int));
static void init_target_units PROTO (());
diff --git a/gcc/jump.c b/gcc/jump.c
index ef80eb61556..49c07fcb39e 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -116,6 +116,7 @@ static void mark_jump_label PROTO((rtx, rtx, int));
static void delete_computation PROTO((rtx));
static void delete_from_jump_chain PROTO((rtx));
static int delete_labelref_insn PROTO((rtx, rtx, int));
+static void mark_modified_reg PROTO((rtx, rtx));
static void redirect_tablejump PROTO((rtx, rtx));
static rtx find_insert_position PROTO((rtx, rtx));
diff --git a/gcc/loop.c b/gcc/loop.c
index 4d2a6627dd8..93269794200 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));