diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2014-10-29 12:02:45 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-10-29 12:02:45 +0000 |
commit | ef4bddc299eae13cc25e50eebc523a4963e0a5f7 (patch) | |
tree | 9a57dad975c942ce6765490066e2492bc1ce59e9 /gcc/config/mep | |
parent | ca557f533aa5e941d765c4c78b10b095537f0bdf (diff) | |
download | gcc-ef4bddc299eae13cc25e50eebc523a4963e0a5f7.zip gcc-ef4bddc299eae13cc25e50eebc523a4963e0a5f7.tar.gz gcc-ef4bddc299eae13cc25e50eebc523a4963e0a5f7.tar.bz2 |
decl.c, [...]: Remove redundant enum from machine_mode.
gcc/ada/
* gcc-interface/decl.c, gcc-interface/gigi.h, gcc-interface/misc.c,
gcc-interface/trans.c, gcc-interface/utils.c, gcc-interface/utils2.c:
Remove redundant enum from machine_mode.
gcc/c-family/
* c-common.c, c-common.h, c-cppbuiltin.c, c-lex.c: Remove redundant
enum from machine_mode.
gcc/c/
* c-decl.c, c-tree.h, c-typeck.c: Remove redundant enum from
machine_mode.
gcc/cp/
* constexpr.c: Remove redundant enum from machine_mode.
gcc/fortran/
* trans-types.c, trans-types.h: Remove redundant enum from
machine_mode.
gcc/go/
* go-lang.c: Remove redundant enum from machine_mode.
gcc/java/
* builtins.c, java-tree.h, typeck.c: Remove redundant enum from
machine_mode.
gcc/lto/
* lto-lang.c: Remove redundant enum from machine_mode.
gcc/
* addresses.h, alias.c, asan.c, auto-inc-dec.c, bt-load.c, builtins.c,
builtins.h, caller-save.c, calls.c, calls.h, cfgexpand.c, cfgloop.h,
cfgrtl.c, combine.c, compare-elim.c, config/aarch64/aarch64-builtins.c,
config/aarch64/aarch64-protos.h, config/aarch64/aarch64-simd.md,
config/aarch64/aarch64.c, config/aarch64/aarch64.h,
config/aarch64/aarch64.md, config/alpha/alpha-protos.h,
config/alpha/alpha.c, config/arc/arc-protos.h, config/arc/arc.c,
config/arc/arc.h, config/arc/predicates.md,
config/arm/aarch-common-protos.h, config/arm/aarch-common.c,
config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
config/arm/arm.md, config/arm/neon.md, config/arm/thumb2.md,
config/avr/avr-log.c, config/avr/avr-protos.h, config/avr/avr.c,
config/avr/avr.md, config/bfin/bfin-protos.h, config/bfin/bfin.c,
config/c6x/c6x-protos.h, config/c6x/c6x.c, config/c6x/c6x.md,
config/cr16/cr16-protos.h, config/cr16/cr16.c,
config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.md,
config/darwin-protos.h, config/darwin.c,
config/epiphany/epiphany-protos.h, config/epiphany/epiphany.c,
config/epiphany/epiphany.md, config/fr30/fr30.c,
config/frv/frv-protos.h, config/frv/frv.c, config/frv/predicates.md,
config/h8300/h8300-protos.h, config/h8300/h8300.c,
config/i386/i386-builtin-types.awk, config/i386/i386-protos.h,
config/i386/i386.c, config/i386/i386.md, config/i386/predicates.md,
config/i386/sse.md, config/i386/sync.md, config/ia64/ia64-protos.h,
config/ia64/ia64.c, config/iq2000/iq2000-protos.h,
config/iq2000/iq2000.c, config/iq2000/iq2000.md,
config/lm32/lm32-protos.h, config/lm32/lm32.c,
config/m32c/m32c-protos.h, config/m32c/m32c.c,
config/m32r/m32r-protos.h, config/m32r/m32r.c,
config/m68k/m68k-protos.h, config/m68k/m68k.c,
config/mcore/mcore-protos.h, config/mcore/mcore.c,
config/mcore/mcore.md, config/mep/mep-protos.h, config/mep/mep.c,
config/microblaze/microblaze-protos.h, config/microblaze/microblaze.c,
config/mips/mips-protos.h, config/mips/mips.c,
config/mmix/mmix-protos.h, config/mmix/mmix.c,
config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
config/moxie/moxie.c, config/msp430/msp430-protos.h,
config/msp430/msp430.c, config/nds32/nds32-cost.c,
config/nds32/nds32-intrinsic.c, config/nds32/nds32-md-auxiliary.c,
config/nds32/nds32-protos.h, config/nds32/nds32.c,
config/nios2/nios2-protos.h, config/nios2/nios2.c,
config/pa/pa-protos.h, config/pa/pa.c, config/pdp11/pdp11-protos.h,
config/pdp11/pdp11.c, config/rl78/rl78-protos.h, config/rl78/rl78.c,
config/rs6000/altivec.md, config/rs6000/rs6000-c.c,
config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
config/rs6000/rs6000.h, config/rx/rx-protos.h, config/rx/rx.c,
config/s390/predicates.md, config/s390/s390-protos.h,
config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
config/sh/predicates.md, config/sh/sh-protos.h, config/sh/sh.c,
config/sh/sh.md, config/sparc/predicates.md,
config/sparc/sparc-protos.h, config/sparc/sparc.c,
config/sparc/sparc.md, config/spu/spu-protos.h, config/spu/spu.c,
config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
config/tilegx/tilegx-protos.h, config/tilegx/tilegx.c,
config/tilegx/tilegx.md, config/tilepro/tilepro-protos.h,
config/tilepro/tilepro.c, config/v850/v850-protos.h,
config/v850/v850.c, config/v850/v850.md, config/vax/vax-protos.h,
config/vax/vax.c, config/vms/vms-c.c, config/xtensa/xtensa-protos.h,
config/xtensa/xtensa.c, coverage.c, cprop.c, cse.c, cselib.c, cselib.h,
dbxout.c, ddg.c, df-problems.c, dfp.c, dfp.h, doc/md.texi,
doc/rtl.texi, doc/tm.texi, doc/tm.texi.in, dojump.c, dse.c,
dwarf2cfi.c, dwarf2out.c, dwarf2out.h, emit-rtl.c, emit-rtl.h,
except.c, explow.c, expmed.c, expmed.h, expr.c, expr.h, final.c,
fixed-value.c, fixed-value.h, fold-const.c, function.c, function.h,
fwprop.c, gcse.c, gengenrtl.c, genmodes.c, genopinit.c, genoutput.c,
genpreds.c, genrecog.c, gensupport.c, gimple-ssa-strength-reduction.c,
graphite-clast-to-gimple.c, haifa-sched.c, hooks.c, hooks.h, ifcvt.c,
internal-fn.c, ira-build.c, ira-color.c, ira-conflicts.c, ira-costs.c,
ira-emit.c, ira-int.h, ira-lives.c, ira.c, ira.h, jump.c, langhooks.h,
libfuncs.h, lists.c, loop-doloop.c, loop-invariant.c, loop-iv.c,
loop-unroll.c, lower-subreg.c, lower-subreg.h, lra-assigns.c,
lra-constraints.c, lra-eliminations.c, lra-int.h, lra-lives.c,
lra-spills.c, lra.c, lra.h, machmode.h, omp-low.c, optabs.c, optabs.h,
output.h, postreload.c, print-tree.c, read-rtl.c, real.c, real.h,
recog.c, recog.h, ree.c, reg-stack.c, regcprop.c, reginfo.c,
regrename.c, regs.h, reload.c, reload.h, reload1.c, rtl.c, rtl.h,
rtlanal.c, rtlhash.c, rtlhooks-def.h, rtlhooks.c, sched-deps.c,
sel-sched-dump.c, sel-sched-ir.c, sel-sched-ir.h, sel-sched.c,
simplify-rtx.c, stmt.c, stor-layout.c, stor-layout.h, target.def,
targhooks.c, targhooks.h, tree-affine.c, tree-call-cdce.c,
tree-complex.c, tree-data-ref.c, tree-dfa.c, tree-if-conv.c,
tree-inline.c, tree-outof-ssa.c, tree-scalar-evolution.c,
tree-ssa-address.c, tree-ssa-ccp.c, tree-ssa-loop-ivopts.c,
tree-ssa-loop-ivopts.h, tree-ssa-loop-manip.c,
tree-ssa-loop-prefetch.c, tree-ssa-math-opts.c, tree-ssa-reassoc.c,
tree-ssa-sccvn.c, tree-streamer-in.c, tree-switch-conversion.c,
tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop.c,
tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c,
tree-vrp.c, tree.c, tree.h, tsan.c, ubsan.c, valtrack.c,
var-tracking.c, varasm.c: Remove redundant enum from
machine_mode.
gcc/
* gengtype.c (main): Treat machine_mode as a scalar typedef.
* genmodes.c (emit_insn_modes_h): Hide inline functions if
USED_FOR_TARGET.
From-SVN: r216834
Diffstat (limited to 'gcc/config/mep')
-rw-r--r-- | gcc/config/mep/mep-protos.h | 70 | ||||
-rw-r--r-- | gcc/config/mep/mep.c | 74 |
2 files changed, 72 insertions, 72 deletions
diff --git a/gcc/config/mep/mep-protos.h b/gcc/config/mep/mep-protos.h index 345db04..17afd86 100644 --- a/gcc/config/mep/mep-protos.h +++ b/gcc/config/mep/mep-protos.h @@ -28,14 +28,14 @@ extern bool mep_split_mov (rtx *, int); extern bool mep_vliw_mode_match (rtx); extern bool mep_vliw_jmp_match (rtx); extern bool mep_multi_slot (rtx_insn *); -extern bool mep_legitimate_address (enum machine_mode, rtx, int); -extern int mep_legitimize_address (rtx *, rtx, enum machine_mode); -extern int mep_legitimize_reload_address (rtx *, enum machine_mode, int, /*enum reload_type*/ int, int); +extern bool mep_legitimate_address (machine_mode, rtx, int); +extern int mep_legitimize_address (rtx *, rtx, machine_mode); +extern int mep_legitimize_reload_address (rtx *, machine_mode, int, /*enum reload_type*/ int, int); extern int mep_core_address_length (rtx_insn *, int); extern int mep_cop_address_length (rtx_insn *, int); -extern bool mep_expand_mov (rtx *, enum machine_mode); -extern bool mep_mov_ok (rtx *, enum machine_mode); -extern void mep_split_wide_move (rtx *, enum machine_mode); +extern bool mep_expand_mov (rtx *, machine_mode); +extern bool mep_mov_ok (rtx *, machine_mode); +extern void mep_split_wide_move (rtx *, machine_mode); #ifdef RTX_CODE extern bool mep_expand_setcc (rtx *); extern rtx mep_expand_cbranch (rtx *); @@ -43,13 +43,13 @@ extern rtx mep_expand_cbranch (rtx *); extern const char *mep_emit_cbranch (rtx *, int); extern void mep_expand_call (rtx *, int); extern rtx mep_find_base_term (rtx); -extern enum reg_class mep_secondary_input_reload_class (enum reg_class, enum machine_mode, rtx); -extern enum reg_class mep_secondary_output_reload_class (enum reg_class, enum machine_mode, rtx); +extern enum reg_class mep_secondary_input_reload_class (enum reg_class, machine_mode, rtx); +extern enum reg_class mep_secondary_output_reload_class (enum reg_class, machine_mode, rtx); extern bool mep_secondary_memory_needed (enum reg_class, enum reg_class, - enum machine_mode); -extern void mep_expand_reload (rtx *, enum machine_mode); + machine_mode); +extern void mep_expand_reload (rtx *, machine_mode); extern enum reg_class mep_preferred_reload_class (rtx, enum reg_class); -extern int mep_register_move_cost (enum machine_mode, enum reg_class, enum reg_class); +extern int mep_register_move_cost (machine_mode, enum reg_class, enum reg_class); extern void mep_init_expanders (void); extern rtx mep_return_addr_rtx (int); extern bool mep_epilogue_uses (int); @@ -69,7 +69,7 @@ extern void mep_final_prescan_insn (rtx_insn *, rtx *, int); extern void mep_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree); extern bool mep_return_in_memory (const_tree, const_tree); extern rtx mep_function_value (const_tree, const_tree); -extern rtx mep_libcall_value (enum machine_mode); +extern rtx mep_libcall_value (machine_mode); extern void mep_asm_output_opcode (FILE *, const char *); extern void mep_note_pragma_disinterrupt (const char *); extern void mep_note_pragma_call (const char *); @@ -93,7 +93,7 @@ extern bool mep_lookup_pragma_call (const char *); extern bool mep_have_core_copro_moves_p; extern bool mep_have_copro_copro_moves_p; -extern bool mep_cannot_change_mode_class (enum machine_mode, enum machine_mode, +extern bool mep_cannot_change_mode_class (machine_mode, machine_mode, enum reg_class); /* These are called from mep-pragmas (front end) and then call into @@ -104,25 +104,25 @@ extern void mep_reinit_regs (void); extern void mep_init_regs (void); -extern int cgen_h_uint_6a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_7a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_8a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_6a2_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_22a4_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_2a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_24a1_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_6a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_5a4_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_2a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_16a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_3a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_5a1_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_16a1_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_8a1_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_7a2_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_6a4_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_5a8_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_4a1_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_10a1_immediate (rtx, enum machine_mode); -extern int cgen_h_sint_12a1_immediate (rtx, enum machine_mode); -extern int cgen_h_uint_20a1_immediate (rtx, enum machine_mode); +extern int cgen_h_uint_6a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_7a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_8a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_6a2_immediate (rtx, machine_mode); +extern int cgen_h_uint_22a4_immediate (rtx, machine_mode); +extern int cgen_h_sint_2a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_24a1_immediate (rtx, machine_mode); +extern int cgen_h_sint_6a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_5a4_immediate (rtx, machine_mode); +extern int cgen_h_uint_2a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_16a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_3a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_5a1_immediate (rtx, machine_mode); +extern int cgen_h_sint_16a1_immediate (rtx, machine_mode); +extern int cgen_h_sint_8a1_immediate (rtx, machine_mode); +extern int cgen_h_sint_7a2_immediate (rtx, machine_mode); +extern int cgen_h_sint_6a4_immediate (rtx, machine_mode); +extern int cgen_h_sint_5a8_immediate (rtx, machine_mode); +extern int cgen_h_uint_4a1_immediate (rtx, machine_mode); +extern int cgen_h_sint_10a1_immediate (rtx, machine_mode); +extern int cgen_h_sint_12a1_immediate (rtx, machine_mode); +extern int cgen_h_uint_20a1_immediate (rtx, machine_mode); diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index 5d6b07a..46a451c 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -170,7 +170,7 @@ static void mep_rewrite_mult (rtx_insn *, rtx); static void mep_rewrite_mulsi3 (rtx_insn *, rtx, rtx, rtx); static void mep_rewrite_maddsi3 (rtx_insn *, rtx, rtx, rtx, rtx); static bool mep_reuse_lo_p_1 (rtx, rtx, rtx_insn *, bool); -static bool move_needs_splitting (rtx, rtx, enum machine_mode); +static bool move_needs_splitting (rtx, rtx, machine_mode); static bool mep_expand_setcc_1 (enum rtx_code, rtx, rtx, rtx); static bool mep_nongeneral_reg (rtx); static bool mep_general_copro_reg (rtx); @@ -192,7 +192,7 @@ static void mep_start_function (FILE *, HOST_WIDE_INT); static bool mep_function_ok_for_sibcall (tree, tree); static int unique_bit_in (HOST_WIDE_INT); static int bit_size_for_clip (HOST_WIDE_INT); -static int bytesize (const_tree, enum machine_mode); +static int bytesize (const_tree, machine_mode); static tree mep_validate_based_tiny (tree *, tree, tree, int, bool *); static tree mep_validate_near_far (tree *, tree, tree, int, bool *); static tree mep_validate_disinterrupt (tree *, tree, tree, int, bool *); @@ -226,11 +226,11 @@ static void mep_init_builtins (void); static void mep_intrinsic_unavailable (int); static bool mep_get_intrinsic_insn (int, const struct cgen_insn **); static bool mep_get_move_insn (int, const struct cgen_insn **); -static rtx mep_convert_arg (enum machine_mode, rtx); +static rtx mep_convert_arg (machine_mode, rtx); static rtx mep_convert_regnum (const struct cgen_regnum_operand *, rtx); static rtx mep_legitimize_arg (const struct insn_operand_data *, rtx, int); static void mep_incompatible_arg (const struct insn_operand_data *, rtx, int, tree); -static rtx mep_expand_builtin (tree, rtx, rtx, enum machine_mode, int); +static rtx mep_expand_builtin (tree, rtx, rtx, machine_mode, int); static int mep_adjust_cost (rtx_insn *, rtx, rtx_insn *, int); static int mep_issue_rate (void); static rtx_insn *mep_find_ready_insn (rtx_insn **, int, enum attr_slot, int); @@ -239,16 +239,16 @@ static int mep_sched_reorder (FILE *, int, rtx_insn **, int *, int); static rtx_insn *mep_make_bundle (rtx, rtx_insn *); static void mep_bundle_insns (rtx_insn *); static bool mep_rtx_cost (rtx, int, int, int, int *, bool); -static int mep_address_cost (rtx, enum machine_mode, addr_space_t, bool); -static void mep_setup_incoming_varargs (cumulative_args_t, enum machine_mode, +static int mep_address_cost (rtx, machine_mode, addr_space_t, bool); +static void mep_setup_incoming_varargs (cumulative_args_t, machine_mode, tree, int *, int); -static bool mep_pass_by_reference (cumulative_args_t cum, enum machine_mode, +static bool mep_pass_by_reference (cumulative_args_t cum, machine_mode, const_tree, bool); -static rtx mep_function_arg (cumulative_args_t, enum machine_mode, +static rtx mep_function_arg (cumulative_args_t, machine_mode, const_tree, bool); -static void mep_function_arg_advance (cumulative_args_t, enum machine_mode, +static void mep_function_arg_advance (cumulative_args_t, machine_mode, const_tree, bool); -static bool mep_vector_mode_supported_p (enum machine_mode); +static bool mep_vector_mode_supported_p (machine_mode); static rtx mep_allocate_initial_value (rtx); static void mep_asm_init_sections (void); static int mep_comp_type_attributes (const_tree, const_tree); @@ -810,7 +810,7 @@ mep_use_post_modify_for_set_p (rtx set, rtx gpr, rtx offset) { rtx *reg, *mem; unsigned int reg_bytes, mem_bytes; - enum machine_mode reg_mode, mem_mode; + machine_mode reg_mode, mem_mode; /* Only simple SETs can be converted. */ if (GET_CODE (set) != SET) @@ -993,7 +993,7 @@ mep_bit_position_p (rtx x, bool looking_for) static bool move_needs_splitting (rtx dest, rtx src, - enum machine_mode mode ATTRIBUTE_UNUSED) + machine_mode mode ATTRIBUTE_UNUSED) { int s = mep_section_tag (src); @@ -1082,7 +1082,7 @@ mep_multi_slot (rtx_insn *x) /* Implement TARGET_LEGITIMATE_CONSTANT_P. */ static bool -mep_legitimate_constant_p (enum machine_mode mode ATTRIBUTE_UNUSED, rtx x) +mep_legitimate_constant_p (machine_mode mode ATTRIBUTE_UNUSED, rtx x) { /* We can't convert symbol values to gp- or tp-rel values after reload, as reload might have used $gp or $tp for other @@ -1099,7 +1099,7 @@ mep_legitimate_constant_p (enum machine_mode mode ATTRIBUTE_UNUSED, rtx x) strict, and another way for not-strict, like REG_OK_FOR_BASE_P. */ bool -mep_legitimate_address (enum machine_mode mode, rtx x, int strict) +mep_legitimate_address (machine_mode mode, rtx x, int strict) { int the_tag; @@ -1207,7 +1207,7 @@ mep_legitimate_address (enum machine_mode mode, rtx x, int strict) } int -mep_legitimize_reload_address (rtx *x, enum machine_mode mode, int opnum, +mep_legitimize_reload_address (rtx *x, machine_mode mode, int opnum, int type_i, int ind_levels ATTRIBUTE_UNUSED) { @@ -1314,7 +1314,7 @@ mep_cop_address_length (rtx_insn *insn, int opn) #define DEBUG_EXPAND_MOV 0 bool -mep_expand_mov (rtx *operands, enum machine_mode mode) +mep_expand_mov (rtx *operands, machine_mode mode) { int i, t; int tag[2]; @@ -1508,7 +1508,7 @@ mep_expand_mov (rtx *operands, enum machine_mode mode) /* Cases where the pattern can't be made to use at all. */ bool -mep_mov_ok (rtx *operands, enum machine_mode mode ATTRIBUTE_UNUSED) +mep_mov_ok (rtx *operands, machine_mode mode ATTRIBUTE_UNUSED) { int i; @@ -1574,7 +1574,7 @@ mep_mov_ok (rtx *operands, enum machine_mode mode ATTRIBUTE_UNUSED) #define DEBUG_SPLIT_WIDE_MOVE 0 void -mep_split_wide_move (rtx *operands, enum machine_mode mode) +mep_split_wide_move (rtx *operands, machine_mode mode) { int i; @@ -1942,7 +1942,7 @@ mep_find_base_term (rtx x) modes FROM to TO. */ bool -mep_cannot_change_mode_class (enum machine_mode from, enum machine_mode to, +mep_cannot_change_mode_class (machine_mode from, machine_mode to, enum reg_class regclass) { if (from == to) @@ -2039,7 +2039,7 @@ mep_secondary_copro_reload_class (enum reg_class rclass, rtx x) enum reg_class mep_secondary_input_reload_class (enum reg_class rclass, - enum machine_mode mode ATTRIBUTE_UNUSED, + machine_mode mode ATTRIBUTE_UNUSED, rtx x) { int rv = NO_REGS; @@ -2065,7 +2065,7 @@ mep_secondary_input_reload_class (enum reg_class rclass, enum reg_class mep_secondary_output_reload_class (enum reg_class rclass, - enum machine_mode mode ATTRIBUTE_UNUSED, + machine_mode mode ATTRIBUTE_UNUSED, rtx x) { int rv = NO_REGS; @@ -2092,7 +2092,7 @@ mep_secondary_output_reload_class (enum reg_class rclass, bool mep_secondary_memory_needed (enum reg_class rclass1, enum reg_class rclass2, - enum machine_mode mode ATTRIBUTE_UNUSED) + machine_mode mode ATTRIBUTE_UNUSED) { if (!mep_have_core_copro_moves_p) { @@ -2111,7 +2111,7 @@ mep_secondary_memory_needed (enum reg_class rclass1, enum reg_class rclass2, } void -mep_expand_reload (rtx *operands, enum machine_mode mode) +mep_expand_reload (rtx *operands, machine_mode mode) { /* There are three cases for each direction: register, farsym @@ -2198,7 +2198,7 @@ mep_preferred_reload_class (rtx x, enum reg_class rclass) that requires a temporary register or temporary stack slot. */ int -mep_register_move_cost (enum machine_mode mode, enum reg_class from, enum reg_class to) +mep_register_move_cost (machine_mode mode, enum reg_class from, enum reg_class to) { if (mep_have_copro_copro_moves_p && reg_class_subset_p (from, CR_REGS) @@ -2727,7 +2727,7 @@ mep_expand_prologue (void) { rtx mem; bool maybe_dead_p; - enum machine_mode rmode; + machine_mode rmode; rss = cfun->machine->reg_save_slot[i]; @@ -2967,7 +2967,7 @@ mep_expand_epilogue (void) for (i=FIRST_PSEUDO_REGISTER-1; i>=1; i--) if (mep_call_saves_register (i)) { - enum machine_mode rmode; + machine_mode rmode; int rss = cfun->machine->reg_save_slot[i]; if (mep_reg_size (i) == 8) @@ -3401,7 +3401,7 @@ mep_final_prescan_insn (rtx_insn *insn, rtx *operands ATTRIBUTE_UNUSED, static void mep_setup_incoming_varargs (cumulative_args_t cum, - enum machine_mode mode ATTRIBUTE_UNUSED, + machine_mode mode ATTRIBUTE_UNUSED, tree type ATTRIBUTE_UNUSED, int *pretend_size, int second_time ATTRIBUTE_UNUSED) { @@ -3413,7 +3413,7 @@ mep_setup_incoming_varargs (cumulative_args_t cum, } static int -bytesize (const_tree type, enum machine_mode mode) +bytesize (const_tree type, machine_mode mode) { if (mode == BLKmode) return int_size_in_bytes (type); @@ -3669,7 +3669,7 @@ mep_init_cumulative_args (CUMULATIVE_ARGS *pcum, tree fntype, first arg. For varargs, we copy $1..$4 to the stack. */ static rtx -mep_function_arg (cumulative_args_t cum_v, enum machine_mode mode, +mep_function_arg (cumulative_args_t cum_v, machine_mode mode, const_tree type ATTRIBUTE_UNUSED, bool named ATTRIBUTE_UNUSED) { @@ -3696,7 +3696,7 @@ mep_function_arg (cumulative_args_t cum_v, enum machine_mode mode, static bool mep_pass_by_reference (cumulative_args_t cum ATTRIBUTE_UNUSED, - enum machine_mode mode, + machine_mode mode, const_tree type, bool named ATTRIBUTE_UNUSED) { @@ -3719,7 +3719,7 @@ mep_pass_by_reference (cumulative_args_t cum ATTRIBUTE_UNUSED, static void mep_function_arg_advance (cumulative_args_t pcum, - enum machine_mode mode ATTRIBUTE_UNUSED, + machine_mode mode ATTRIBUTE_UNUSED, const_tree type ATTRIBUTE_UNUSED, bool named ATTRIBUTE_UNUSED) { @@ -3755,7 +3755,7 @@ mep_function_value (const_tree type, const_tree func ATTRIBUTE_UNUSED) /* Implement LIBCALL_VALUE, using the same rules as mep_function_value. */ rtx -mep_libcall_value (enum machine_mode mode) +mep_libcall_value (machine_mode mode) { return gen_rtx_REG (mode, RETURN_VALUE_REGNUM); } @@ -6069,7 +6069,7 @@ mep_get_move_insn (int intrinsic, const struct cgen_insn **cgen_insn) to MODE using a subreg. Otherwise return ARG as-is. */ static rtx -mep_convert_arg (enum machine_mode mode, rtx arg) +mep_convert_arg (machine_mode mode, rtx arg) { if (GET_MODE (arg) != mode && register_operand (arg, VOIDmode) @@ -6190,7 +6190,7 @@ mep_incompatible_arg (const struct insn_operand_data *operand, rtx arg, static rtx mep_expand_builtin (tree exp, rtx target ATTRIBUTE_UNUSED, rtx subtarget ATTRIBUTE_UNUSED, - enum machine_mode mode ATTRIBUTE_UNUSED, + machine_mode mode ATTRIBUTE_UNUSED, int ignore ATTRIBUTE_UNUSED) { rtx pat, op[10], arg[10]; @@ -6287,7 +6287,7 @@ mep_expand_builtin (tree exp, rtx target ATTRIBUTE_UNUSED, if (cgen_insn->regnums[a].reference_p) { tree pointed_to = TREE_TYPE (TREE_TYPE (value)); - enum machine_mode pointed_mode = TYPE_MODE (pointed_to); + machine_mode pointed_mode = TYPE_MODE (pointed_to); arg[a] = gen_rtx_MEM (pointed_mode, arg[a]); } @@ -6368,7 +6368,7 @@ mep_expand_builtin (tree exp, rtx target ATTRIBUTE_UNUSED, } static bool -mep_vector_mode_supported_p (enum machine_mode mode ATTRIBUTE_UNUSED) +mep_vector_mode_supported_p (machine_mode mode ATTRIBUTE_UNUSED) { return false; } @@ -7163,7 +7163,7 @@ mep_rtx_cost (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, static int mep_address_cost (rtx addr ATTRIBUTE_UNUSED, - enum machine_mode mode ATTRIBUTE_UNUSED, + machine_mode mode ATTRIBUTE_UNUSED, addr_space_t as ATTRIBUTE_UNUSED, bool ATTRIBUTE_UNUSED speed_p) { |