+2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.c, config/alpha/alpha.c, config/arm/arm.c,
+ config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c,
+ config/cr16/cr16.c, config/cris/cris.c, config/fr30/fr30.c,
+ config/frv/frv.c, config/ft32/ft32.c, config/h8300/h8300.c,
+ config/i386/i386.c, config/ia64/ia64.c, config/iq2000/iq2000.c,
+ config/lm32/lm32.c, config/m32c/m32c.c, config/m32r/m32r.c,
+ config/m68k/m68k.c, config/mcore/mcore.c, config/mep/mep.c,
+ config/microblaze/microblaze.c, config/mips/mips.c, config/mmix/mmix.c,
+ config/mn10300/mn10300.c, config/moxie/moxie.c, config/msp430/msp430.c,
+ config/nds32/nds32.c, config/nios2/nios2.c, config/nvptx/nvptx.c,
+ config/pa/pa.c, config/pdp11/pdp11.c, config/rl78/rl78.c,
+ config/rs6000/rs6000.c, config/rx/rx.c, config/s390/s390.c,
+ config/sh/sh.c, config/sparc/sparc.c, config/spu/spu.c,
+ config/stormy16/stormy16.c, config/tilegx/tilegx.c,
+ config/tilepro/tilepro.c, config/v850/v850.c, config/vax/vax.c,
+ config/visium/visium.c, config/xtensa/xtensa.c: Move target-def.h
+ includes to end.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* hash-map-traits.h (simple_hashmap_traits::key_type): New typedef.
#include "reload.h"
#include "toplev.h"
#include "target.h"
-#include "target-def.h"
#include "targhooks.h"
#include "tm_p.h"
#include "recog.h"
#include "sched-int.h"
#include "cortex-a57-fma-steering.h"
+#include "target-def.h"
+
/* Defined for convenience. */
#define POINTER_BYTES (POINTER_SIZE / BITS_PER_UNIT)
#include "diagnostic-core.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "common/common-target.h"
#include "debug.h"
#include "langhooks.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
/* Specify which cpu to schedule for. */
enum processor_type alpha_tune;
#include "tm_p.h"
#include "target.h"
#include "sched-int.h"
-#include "target-def.h"
#include "debug.h"
#include "langhooks.h"
#include "df.h"
#include "sched-int.h"
#include "tree.h"
+#include "target-def.h"
+
/* Forward definitions of types. */
typedef struct minipool_node Mnode;
typedef struct minipool_fixup Mfix;
#include "langhooks.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "params.h"
#include "dominance.h"
#include "cfg.h"
#include "context.h"
#include "tree-pass.h"
+#include "target-def.h"
+
/* Maximal allowed offset for an address in the LD command */
#define MAX_LD_OFFSET(MODE) (64 - (signed)GET_MODE_SIZE (MODE))
#include "except.h"
#include "function.h"
#include "target.h"
-#include "target-def.h"
#include "expmed.h"
#include "dojump.h"
#include "explow.h"
#include "dumpfile.h"
#include "builtins.h"
+#include "target-def.h"
+
/* A C structure for machine-specific, per-function data.
This is added to the cfun structure. */
struct GTY(()) machine_function
#include "cgraph.h"
#include "langhooks.h"
#include "target.h"
-#include "target-def.h"
#include "sel-sched.h"
#include "debug.h"
#include "opts.h"
#include "gimple-expr.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Table of supported architecture variants. */
typedef struct
{
#include "cfgcleanup.h"
#include "basic-block.h"
#include "target.h"
-#include "target-def.h"
#include "df.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Definitions. */
/* Maximum number of register used for passing parameters. */
#include "output.h"
#include "tm-constrs.h"
#include "target.h"
-#include "target-def.h"
#include "insn-codes.h"
#include "optabs.h"
#include "dominance.h"
#include "cgraph.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Usable when we have an amount to add or subtract, and want the
optimal size of the insn. */
#define ADDITIVE_SIZE_MODIFIER(size) \
#include "diagnostic-core.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "builtins.h"
+#include "target-def.h"
+
/*}}}*/
/*{{{ Function Prologues & Epilogues */
#include "basic-block.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "targhooks.h"
#include "langhooks.h"
#include "df.h"
#include "ifcvt.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
#ifndef FRV_INLINE
#define FRV_INLINE inline
#endif
#include "except.h"
#include "function.h"
#include "target.h"
-#include "target-def.h"
#include "tm_p.h"
#include "langhooks.h"
#include "dominance.h"
return ggc_cleared_alloc < machine_function > ();
}
+#include "target-def.h"
+
/* The TARGET_OPTION_OVERRIDE worker.
All this curently does is set init_machine_status. */
#include "tm_p.h"
#include "tm-constrs.h"
#include "target.h"
-#include "target-def.h"
#include "dominance.h"
#include "cfg.h"
#include "cfgrtl.h"
#include "df.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Classifies a h8300_src_operand or h8300_dst_operand.
H8OP_IMMEDIATE
#include "cfgcleanup.h"
#include "basic-block.h"
#include "target.h"
-#include "target-def.h"
#include "common/common-target.h"
#include "langhooks.h"
#include "reload.h"
#include "tree-chkp.h"
#include "rtl-chkp.h"
+#include "target-def.h"
+
static rtx legitimize_dllimport_symbol (rtx, bool);
static rtx legitimize_pe_coff_extern_decl (rtx, bool);
static rtx legitimize_pe_coff_symbol (rtx, bool);
#include "sched-int.h"
#include "timevar.h"
#include "target.h"
-#include "target-def.h"
#include "common/common-target.h"
#include "tm_p.h"
#include "langhooks.h"
#include "dumpfile.h"
#include "builtins.h"
+#include "target-def.h"
+
/* This is used for communication between ASM_OUTPUT_LABEL and
ASM_OUTPUT_LABELREF. */
int ia64_asm_output_label = 0;
#include "tm_p.h"
#include "debug.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "dominance.h"
#include "cfg.h"
#include "df.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Enumeration for all of the relational tests, so that we can build
arrays indexed by the test type, and not worry about the order
of EQ, NE, etc. */
#include "optabs.h"
#include "libfuncs.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "tm-constrs.h"
#include "df.h"
#include "builtins.h"
+#include "target-def.h"
+
struct lm32_frame_info
{
HOST_WIDE_INT total_size; /* number of bytes of entire frame. */
#include "optabs.h"
#include "except.h"
#include "target.h"
-#include "target-def.h"
#include "tm_p.h"
#include "langhooks.h"
#include "predict.h"
#include "tm-constrs.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Prototypes */
/* Used by m32c_pushm_popm. */
#include "df.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "tm-constrs.h"
#include "opts.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Array of valid operand punctuation characters. */
static char m32r_punct_chars[256];
#include "reload.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "debug.h"
#include "dominance.h"
#include "cfg.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
enum reg_class regno_reg_class[] =
{
DATA_REGS, DATA_REGS, DATA_REGS, DATA_REGS,
#include "recog.h"
#include "diagnostic-core.h"
#include "target.h"
-#include "target-def.h"
#include "dominance.h"
#include "cfg.h"
#include "cfgrtl.h"
#include "df.h"
#include "builtins.h"
+#include "target-def.h"
+
/* For dumping information about frame sizes. */
char * mcore_current_function_name = 0;
long mcore_current_compilation_timestamp = 0;
#include "tm_p.h"
#include "diagnostic-core.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "dominance.h"
#include "cfg.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
/* Structure of this file:
+ Command Line Option Support
#include "reload.h"
#include "output.h"
#include "target.h"
-#include "target-def.h"
#include "tm_p.h"
#include "gstab.h"
#include "dominance.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
#define MICROBLAZE_VERSION_COMPARE(VA,VB) strcasecmp (VA, VB)
/* Classifies an address.
#include "gstab.h"
#include "debug.h"
#include "target.h"
-#include "target-def.h"
#include "common/common-target.h"
#include "langhooks.h"
#include "dominance.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
/* True if X is an UNSPEC wrapper around a SYMBOL_REF or LABEL_REF. */
#define UNSPEC_ADDRESS_P(X) \
(GET_CODE (X) == UNSPEC \
#include "debug.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "df.h"
#include "tm-constrs.h"
#include "builtins.h"
+#include "target-def.h"
+
/* First some local helper definitions. */
#define MMIX_FIRST_GLOBAL_REGNUM 32
#include "tm_p.h"
#include "tm-constrs.h"
#include "target.h"
-#include "target-def.h"
#include "dominance.h"
#include "cfg.h"
#include "cfgrtl.h"
#include "dumpfile.h"
#include "builtins.h"
+#include "target-def.h"
+
/* This is used in the am33_2.0-linux-gnu port, in which global symbol
names are not prefixed by underscores, to tell whether to prefix a
label with a plus sign or not, so that the assembler can tell
#include "optabs.h"
#include "except.h"
#include "target.h"
-#include "target-def.h"
#include "tm_p.h"
#include "langhooks.h"
#include "dominance.h"
#include "df.h"
#include "builtins.h"
+#include "target-def.h"
+
#define LOSE_AND_RETURN(msgid, x) \
do \
{ \
#include "tm_p.h"
#include "debug.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "msp430-protos.h"
#include "dumpfile.h"
#include "opts.h"
#include "builtins.h"
+
+#include "target-def.h"
\f
static void msp430_compute_frame_info (void);
#include "tm-constrs.h"
#include "optabs.h" /* For GEN_FCN. */
#include "target.h"
-#include "target-def.h"
#include "langhooks.h" /* For add_builtin_function(). */
#include "builtins.h"
+#include "target-def.h"
+
/* ------------------------------------------------------------------------ */
/* This file is divided into five parts:
#include "diagnostic-core.h"
#include "toplev.h"
#include "target.h"
-#include "target-def.h"
#include "tm_p.h"
#include "langhooks.h"
#include "df.h"
#include "stor-layout.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Forward function declarations. */
static bool prologue_saved_reg_p (unsigned);
static void nios2_load_pic_register (void);
#include "langhooks.h"
#include "dbxout.h"
#include "target.h"
-#include "target-def.h"
#include "diagnostic.h"
#include "predict.h"
#include "basic-block.h"
#include "df.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Record the function decls we've written, and the libfuncs and function
decls corresponding to them. */
static std::stringstream func_decls;
#include "tm_p.h"
#include "target.h"
#include "common/common-target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "dominance.h"
#include "cfg.h"
#include "opts.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Return nonzero if there is a bypass for the output of
OUT_INSN and the fp store IN_INSN. */
int
#include "diagnostic-core.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "dominance.h"
#include "cfg.h"
#include "cfgrtl.h"
#include "dbxout.h"
#include "builtins.h"
+#include "target-def.h"
+
/* this is the current value returned by the macro FIRST_PARM_OFFSET
defined in tm.h */
int current_first_parm_offset;
#include "tm_p.h"
#include "debug.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "rl78-protos.h"
#include "dumpfile.h"
#include "insn-flags.h" /* for gen_*(). */
#include "builtins.h"
#include "stringpool.h"
+
+#include "target-def.h"
\f
static inline bool is_interrupt_func (const_tree decl);
static inline bool is_brk_interrupt_func (const_tree decl);
#include "toplev.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "common/common-target.h"
#include "langhooks.h"
#include "reload.h"
#include "gstab.h" /* for N_SLINE */
#endif
+#include "target-def.h"
+
#ifndef TARGET_NO_PROTOTYPE
#define TARGET_NO_PROTOTYPE 0
#endif
#include "tm_p.h"
#include "debug.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "opts.h"
#include "plugin-api.h"
#include "cgraph.h"
#include "builtins.h"
+#include "target-def.h"
+
static unsigned int rx_gp_base_regnum_val = INVALID_REGNUM;
static unsigned int rx_pid_base_regnum_val = INVALID_REGNUM;
static unsigned int rx_num_interrupt_regs;
#include "cfgcleanup.h"
#include "basic-block.h"
#include "target.h"
-#include "target-def.h"
#include "debug.h"
#include "langhooks.h"
#include "insn-codes.h"
#include "ipa-ref.h"
#include "cgraph.h"
+#include "target-def.h"
+
/* Define the specific costs for a given cpu. */
struct processor_costs
#include "dwarf2.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "predict.h"
#include "dominance.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
int code_for_indirect_jump_scratch = CODE_FOR_indirect_jump_scratch;
/* These are some macros to abstract register modes. */
#include "tm_p.h"
#include "debug.h"
#include "target.h"
-#include "target-def.h"
#include "common/common-target.h"
#include "predict.h"
#include "dominance.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
/* Processor costs */
struct processor_costs {
#include "diagnostic-core.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "reload.h"
#include "sched-int.h"
#include "builtins.h"
#include "rtl-iter.h"
+#include "target-def.h"
+
/* Builtin types, data and prototypes. */
enum spu_builtin_type_index
#include "optabs.h"
#include "except.h"
#include "target.h"
-#include "target-def.h"
#include "tm_p.h"
#include "langhooks.h"
#include "predict.h"
#include "reload.h"
#include "builtins.h"
+#include "target-def.h"
+
static rtx emit_addhi3_postreload (rtx, rtx, rtx);
static void xstormy16_asm_out_constructor (rtx, int);
static void xstormy16_asm_out_destructor (rtx, int);
#include "tm_p.h"
#include "tm-constrs.h"
#include "target.h"
-#include "target-def.h"
#include "dwarf2.h"
#include "timevar.h"
#include "fold-const.h"
#include "diagnostic.h"
#include "builtins.h"
+#include "target-def.h"
+
/* SYMBOL_REF for GOT */
static GTY(()) rtx g_got_symbol = NULL;
#include "tm_p.h"
#include "tm-constrs.h"
#include "target.h"
-#include "target-def.h"
#include "dwarf2.h"
#include "timevar.h"
#include "fold-const.h"
#include "diagnostic.h"
#include "builtins.h"
+#include "target-def.h"
+
/* SYMBOL_REF for GOT */
static GTY(()) rtx g_got_symbol = NULL;
#include "diagnostic-core.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "dominance.h"
#include "cfg.h"
#include "cfgrtl.h"
#include "opts.h"
#include "builtins.h"
+#include "target-def.h"
+
#ifndef streq
#define streq(a,b) (strcmp (a, b) == 0)
#endif
#include "tm-constrs.h"
#include "tm_p.h"
#include "target.h"
-#include "target-def.h"
#include "builtins.h"
+#include "target-def.h"
+
static void vax_option_override (void);
static bool vax_legitimate_address_p (machine_mode, rtx, bool);
static void vax_file_start (void);
#include "tm_p.h"
#include "optabs.h"
#include "target.h"
-#include "target-def.h"
#include "common/common-target.h"
#include "predict.h"
#include "basic-block.h"
#include "context.h"
#include "builtins.h"
+#include "target-def.h"
+
/* Machine specific function data. */
struct GTY (()) machine_function
{
#include "optabs.h"
#include "libfuncs.h"
#include "target.h"
-#include "target-def.h"
#include "langhooks.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "hw-doloop.h"
#include "rtl-iter.h"
+#include "target-def.h"
/* Enumeration for all of the relational tests, so that we can build
arrays indexed by the test type, and not worry about the order