* tree-core.h: Include symtab.h.
* rtl.h: Include hard-reg-set.h but not flags.h.
(HARD_CONST): Remove condition compilation involving HARD_CONST since
hard-reg-set.h is always included.
* regs.h: Don't include hard-reg-set.h or rtl.h.
* cfg.h: Include dominance.h.
* gimple.h: Include tree-ssa-alias.h and gimple-expr.h.
* backend.h: New. Aggregate commonly used backend header files.
* gimple-ssa.h: Don't include tree-hasher.h.
* ssa.h: New. Aggregate commonly used SSA header files.
===================================================================
*************** along with GCC; see the file COPYING3.
#ifndef GCC_TREE_CORE_H
#define GCC_TREE_CORE_H
+ #include "symtab.h"
+
/* This file contains all the data structures that define the 'tree' type.
There are no accessor macros nor functions in this file. Only the
basic data structures, extern declarations and type definitions. */
===================================================================
*************** along with GCC; see the file COPYING3.
#include "is-a.h"
#endif /* GENERATOR_FILE */
! #include "flags.h"
/* Value used by some passes to "recognize" noop moves as valid
instructions. */
#include "is-a.h"
#endif /* GENERATOR_FILE */
! #include "hard-reg-set.h"
/* Value used by some passes to "recognize" noop moves as valid
instructions. */
*************** extern bool val_signbit_known_clear_p (m
/* In reginfo.c */
extern machine_mode choose_hard_reg_mode (unsigned int, unsigned int,
bool);
- #ifdef HARD_CONST
extern const HARD_REG_SET &simplifiable_subregs (const subreg_shape &);
- #endif
/* In emit-rtl.c */
extern rtx set_for_reg_notes (rtx);
*************** extern int reg_overlap_mentioned_p (cons
extern const_rtx set_of (const_rtx, const_rtx);
extern void record_hard_reg_sets (rtx, const_rtx, void *);
extern void record_hard_reg_uses (rtx *, void *);
- #ifdef HARD_CONST
extern void find_all_hard_regs (const_rtx, HARD_REG_SET *);
extern void find_all_hard_reg_sets (const rtx_insn *, HARD_REG_SET *, bool);
- #endif
extern void note_stores (const_rtx, void (*) (rtx, const_rtx, void *), void *);
extern void note_uses (rtx *, void (*) (rtx *, void *), void *);
extern int dead_or_set_p (const_rtx, const_rtx);
*************** extern bool can_assign_to_reg_without_cl
extern rtx fis_get_condition (rtx_insn *);
/* In ira.c */
- #ifdef HARD_CONST
extern HARD_REG_SET eliminable_regset;
- #endif
extern void mark_elimination (int, int);
/* In reginfo.c */
*************** extern void init_reg_sets (void);
extern void regclass (rtx, int);
extern void reg_scan (rtx_insn *, unsigned int);
extern void fix_register (const char *, int, int);
- #ifdef HARD_CONST
extern const HARD_REG_SET *valid_mode_changes_for_regno (unsigned int);
- #endif
/* In reload1.c */
extern int function_invariant_p (const_rtx);
*************** extern void _fatal_insn (const char *, c
/* reginfo.c */
extern tree GTY(()) global_regs_decl[FIRST_PSEUDO_REGISTER];
- #ifdef HARD_CONST
/* Information about the function that is propagated by the RTL backend.
Available only for functions that has been already assembled. */
*************** struct GTY(()) cgraph_rtl_info {
/* Set if function_used_regs is valid. */
unsigned function_used_regs_valid: 1;
};
- #endif
#endif /* ! GCC_RTL_H */
===================================================================
*************** along with GCC; see the file COPYING3.
#ifndef GCC_REGS_H
#define GCC_REGS_H
- #include "hard-reg-set.h"
- #include "rtl.h"
-
#define REG_BYTES(R) mode_size[(int) GET_MODE (R)]
/* When you only have the mode of a pseudo register before it has a hard
===================================================================
*************** along with GCC; see the file COPYING3.
#ifndef GCC_CFG_H
#define GCC_CFG_H
+ #include "dominance.h"
+
/* What sort of profiling information we have. */
enum profile_status_d
{
===================================================================
*************** along with GCC; see the file COPYING3.
#ifndef GCC_GIMPLE_H
#define GCC_GIMPLE_H
+ #include "tree-ssa-alias.h"
+ #include "gimple-expr.h"
+
typedef gimple gimple_seq_node;
enum gimple_code {
===================================================================
***************
+ /* Common Backend requirements.
+
+ Copyright (C) 2015 Free Software Foundation, Inc.
+ Contributed by Andrew MacLeod <amacleod@redhat.com>
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 3, or (at your option) any later
+ version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
+ #ifndef GCC_BACKEND_H
+ #define GCC_BACKEND_H
+
+ #include "tm.h"
+ #include "function.h"
+ #include "bitmap.h"
+ #include "sbitmap.h"
+ #include "predict.h"
+ #include "basic-block.h"
+ #include "cfg.h"
+
+ #endif /*GCC_BACKEND_H */
===================================================================
*************** along with GCC; see the file COPYING3.
#ifndef GCC_GIMPLE_SSA_H
#define GCC_GIMPLE_SSA_H
- #include "tree-hasher.h"
#include "tree-ssa-operands.h"
/* This structure is used to map a gimple statement to a label,
===================================================================
***************
+ /* Common SSA files
+ Copyright (C) 2015 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 3, or (at your option) any later
+ version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
+ #ifndef GCC_SSA_H
+ #define GCC_SSA_H
+
+ #include "stringpool.h"
+ #include "gimple-ssa.h"
+ #include "tree-ssanames.h"
+ #include "tree-phinodes.h"
+ #include "ssa-iterators.h"
+
+ #endif /* GCC_SSA_H */