diff options
Diffstat (limited to 'gcc/regcprop.c')
-rw-r--r-- | gcc/regcprop.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/regcprop.c b/gcc/regcprop.c index a9938f57730..daeb9801474 100644 --- a/gcc/regcprop.c +++ b/gcc/regcprop.c @@ -72,7 +72,7 @@ struct queued_debug_insn_change struct value_data_entry { - enum machine_mode mode; + machine_mode mode; unsigned int oldest_regno; unsigned int next_regno; struct queued_debug_insn_change *debug_insn_changes; @@ -91,20 +91,20 @@ static bool skip_debug_insn_p; static void kill_value_one_regno (unsigned, struct value_data *); static void kill_value_regno (unsigned, unsigned, struct value_data *); static void kill_value (const_rtx, struct value_data *); -static void set_value_regno (unsigned, enum machine_mode, struct value_data *); +static void set_value_regno (unsigned, machine_mode, struct value_data *); static void init_value_data (struct value_data *); static void kill_clobbered_value (rtx, const_rtx, void *); static void kill_set_value (rtx, const_rtx, void *); static void copy_value (rtx, rtx, struct value_data *); -static bool mode_change_ok (enum machine_mode, enum machine_mode, +static bool mode_change_ok (machine_mode, machine_mode, unsigned int); -static rtx maybe_mode_change (enum machine_mode, enum machine_mode, - enum machine_mode, unsigned int, unsigned int); +static rtx maybe_mode_change (machine_mode, machine_mode, + machine_mode, unsigned int, unsigned int); static rtx find_oldest_value_reg (enum reg_class, rtx, struct value_data *); static bool replace_oldest_value_reg (rtx *, enum reg_class, rtx_insn *, struct value_data *); static bool replace_oldest_value_addr (rtx *, enum reg_class, - enum machine_mode, addr_space_t, + machine_mode, addr_space_t, rtx_insn *, struct value_data *); static bool replace_oldest_value_mem (rtx, rtx_insn *, struct value_data *); static bool copyprop_hardreg_forward_1 (basic_block, struct value_data *); @@ -218,7 +218,7 @@ kill_value (const_rtx x, struct value_data *vd) /* Remember that REGNO is valid in MODE. */ static void -set_value_regno (unsigned int regno, enum machine_mode mode, +set_value_regno (unsigned int regno, machine_mode mode, struct value_data *vd) { unsigned int nregs; @@ -387,7 +387,7 @@ copy_value (rtx dest, rtx src, struct value_data *vd) /* Return true if a mode change from ORIG to NEW is allowed for REGNO. */ static bool -mode_change_ok (enum machine_mode orig_mode, enum machine_mode new_mode, +mode_change_ok (machine_mode orig_mode, machine_mode new_mode, unsigned int regno ATTRIBUTE_UNUSED) { if (GET_MODE_SIZE (orig_mode) < GET_MODE_SIZE (new_mode)) @@ -406,8 +406,8 @@ mode_change_ok (enum machine_mode orig_mode, enum machine_mode new_mode, Return a NEW_MODE rtx for REGNO if that's OK, otherwise return NULL_RTX. */ static rtx -maybe_mode_change (enum machine_mode orig_mode, enum machine_mode copy_mode, - enum machine_mode new_mode, unsigned int regno, +maybe_mode_change (machine_mode orig_mode, machine_mode copy_mode, + machine_mode new_mode, unsigned int regno, unsigned int copy_regno ATTRIBUTE_UNUSED) { if (GET_MODE_SIZE (copy_mode) < GET_MODE_SIZE (orig_mode) @@ -444,7 +444,7 @@ static rtx find_oldest_value_reg (enum reg_class cl, rtx reg, struct value_data *vd) { unsigned int regno = REGNO (reg); - enum machine_mode mode = GET_MODE (reg); + machine_mode mode = GET_MODE (reg); unsigned int i; /* If we are accessing REG in some mode other that what we set it in, @@ -463,7 +463,7 @@ find_oldest_value_reg (enum reg_class cl, rtx reg, struct value_data *vd) for (i = vd->e[regno].oldest_regno; i != regno; i = vd->e[i].next_regno) { - enum machine_mode oldmode = vd->e[i].mode; + machine_mode oldmode = vd->e[i].mode; rtx new_rtx; if (!in_hard_reg_set_p (reg_class_contents[cl], mode, i)) @@ -526,7 +526,7 @@ replace_oldest_value_reg (rtx *loc, enum reg_class cl, rtx_insn *insn, static bool replace_oldest_value_addr (rtx *loc, enum reg_class cl, - enum machine_mode mode, addr_space_t as, + machine_mode mode, addr_space_t as, rtx_insn *insn, struct value_data *vd) { rtx x = *loc; @@ -834,7 +834,7 @@ copyprop_hardreg_forward_1 (basic_block bb, struct value_data *vd) { rtx src = SET_SRC (set); unsigned int regno = REGNO (src); - enum machine_mode mode = GET_MODE (src); + machine_mode mode = GET_MODE (src); unsigned int i; rtx new_rtx; |