From 7b0ea92ecb66f0596429c466113e7d471321914f Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Sun, 5 Jan 2014 00:24:05 -0500 Subject: [PATCH 066/159] FIXME: bt-load.c --- gcc/bt-load.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/bt-load.c b/gcc/bt-load.c index ed280eb..b30e425 100644 --- a/gcc/bt-load.c +++ b/gcc/bt-load.c @@ -112,7 +112,7 @@ typedef struct btr_def_s static int issue_rate; static int basic_block_freq (const_basic_block); -static int insn_sets_btr_p (const_rtx, int, int *); +static int insn_sets_btr_p (const_rtx_base_insn, int, int *); static rtx *find_btr_use (rtx); static int btr_referenced_p (rtx, rtx *); static int find_btr_reference (rtx *, void *); @@ -140,7 +140,7 @@ static void btr_def_live_range (btr_def, HARD_REG_SET *); static void move_btr_def (basic_block, int, btr_def, bitmap, HARD_REG_SET *); static int migrate_btr_def (btr_def, int); static void migrate_btr_defs (enum reg_class, int); -static int can_move_up (const_basic_block, const_rtx, int); +static int can_move_up (const_basic_block, const_rtx_base_insn, int); static void note_btr_set (rtx, const_rtx, void *); /* The following code performs code motion of target load instructions @@ -222,7 +222,7 @@ btr_referenced_p (rtx x, rtx *excludep) If such a set is found and REGNO is nonzero, assign the register number of the destination register to *REGNO. */ static int -insn_sets_btr_p (const_rtx insn, int check_const, int *regno) +insn_sets_btr_p (const_rtx_base_insn insn, int check_const, int *regno) { rtx set; @@ -465,7 +465,7 @@ compute_defs_uses_and_gen (fibheap_t all_btr_defs, btr_def *def_array, int reg; btr_def defs_this_bb = NULL; rtx_base_insn insn; - rtx last; + rtx_base_insn last; int can_throw = 0; info.users_this_bb = NULL; @@ -673,7 +673,7 @@ link_btr_uses (btr_def *def_array, btr_user *use_array, sbitmap *bb_out, { basic_block bb = BASIC_BLOCK (i); rtx_base_insn insn; - rtx last; + rtx_base_insn last; bitmap_union_of_preds (reaching_defs, bb_out, BASIC_BLOCK (i)); for (insn = BB_HEAD (bb), last = NEXT_INSN (BB_END (bb)); @@ -1234,7 +1234,7 @@ move_btr_def (basic_block new_def_bb, int btr, btr_def def, bitmap live_range, /* We anticipate intra-block scheduling to be done. See if INSN could move up within BB by N_INSNS. */ static int -can_move_up (const_basic_block bb, const_rtx insn, int n_insns) +can_move_up (const_basic_block bb, const_rtx_base_insn insn, int n_insns) { while (insn != BB_HEAD (bb) && n_insns > 0) { -- 1.7.11.7