Commit 2bb8cb58 by Andrew MacLeod Committed by Andrew Macleod

function.h (struct rtl_data): Remove struct and accessor macros.

2015-06-17  Andrew MacLeod  <amacleod@redhat.com>

	* function.h (struct rtl_data): Remove struct and accessor macros.
	* emit-rtl.h (struct rtl_data): Relocate to here.
	* Makefile.in (GTFILES): Add emit-rtl.h.
	* df-core.c: Include emit-rtl.h.
	* genattrtab.c: Likewise.
	* genconditions.c: Likewise.
	* genpreds.c: Likewise.
	* genrecog.c: Likewise.
	* regcprop.c: Likewise.
	* resource.c: Likewise.
	* sched-rgn.c: Likewise.
	* config/aarch64/cortex-a57-fma-steering.c: Likewise.
	* config/i386/winnt.c: Likewise.

From-SVN: r224573
parent a1ceb604
2015-06-17 Andrew MacLeod <amacleod@redhat.com>
* function.h (struct rtl_data): Remove struct and accessor macros.
* emit-rtl.h (struct rtl_data): Relocate to here.
* Makefile.in (GTFILES): Add emit-rtl.h.
* df-core.c: Include emit-rtl.h.
* genattrtab.c: Likewise.
* genconditions.c: Likewise.
* genpreds.c: Likewise.
* genrecog.c: Likewise.
* regcprop.c: Likewise.
* resource.c: Likewise.
* sched-rgn.c: Likewise.
* config/aarch64/cortex-a57-fma-steering.c: Likewise.
* config/i386/winnt.c: Likewise.
2015-06-17 Jakub Jelinek <jakub@redhat.com> 2015-06-17 Jakub Jelinek <jakub@redhat.com>
PR middle-end/66429 PR middle-end/66429
......
...@@ -2321,7 +2321,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \ ...@@ -2321,7 +2321,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
$(srcdir)/dwarf2cfi.c \ $(srcdir)/dwarf2cfi.c \
$(srcdir)/dwarf2out.c \ $(srcdir)/dwarf2out.c \
$(srcdir)/tree-vect-generic.c \ $(srcdir)/tree-vect-generic.c \
$(srcdir)/dojump.c \ $(srcdir)/dojump.c $(srcdir)/emit-rtl.h \
$(srcdir)/emit-rtl.c $(srcdir)/except.h $(srcdir)/explow.c $(srcdir)/expr.c \ $(srcdir)/emit-rtl.c $(srcdir)/except.h $(srcdir)/explow.c $(srcdir)/expr.c \
$(srcdir)/expr.h \ $(srcdir)/expr.h \
$(srcdir)/function.c $(srcdir)/except.c \ $(srcdir)/function.c $(srcdir)/except.c \
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "df.h" #include "df.h"
#include "target.h" #include "target.h"
#include "rtl.h" #include "rtl.h"
#include "emit-rtl.h"
#include "context.h" #include "context.h"
#include "tree-pass.h" #include "tree-pass.h"
#include "regrename.h" #include "regrename.h"
......
...@@ -40,6 +40,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -40,6 +40,7 @@ along with GCC; see the file COPYING3. If not see
#include "except.h" #include "except.h"
#include "predict.h" #include "predict.h"
#include "function.h" #include "function.h"
#include "emit-rtl.h"
#include "dominance.h" #include "dominance.h"
#include "cfg.h" #include "cfg.h"
#include "cfgrtl.h" #include "cfgrtl.h"
......
...@@ -398,6 +398,7 @@ are write-only operations. ...@@ -398,6 +398,7 @@ are write-only operations.
#include "tree-pass.h" #include "tree-pass.h"
#include "params.h" #include "params.h"
#include "cfgloop.h" #include "cfgloop.h"
#include "emit-rtl.h"
static void *df_get_bb_info (struct dataflow *, unsigned int); static void *df_get_bb_info (struct dataflow *, unsigned int);
static void df_set_bb_info (struct dataflow *, unsigned int, void *); static void df_set_bb_info (struct dataflow *, unsigned int, void *);
......
...@@ -5127,6 +5127,7 @@ write_header (FILE *outf) ...@@ -5127,6 +5127,7 @@ write_header (FILE *outf)
fprintf (outf, "#include \"toplev.h\"\n"); fprintf (outf, "#include \"toplev.h\"\n");
fprintf (outf, "#include \"flags.h\"\n"); fprintf (outf, "#include \"flags.h\"\n");
fprintf (outf, "#include \"function.h\"\n"); fprintf (outf, "#include \"function.h\"\n");
fprintf (outf, "#include \"emit-rtl.h\"\n");
fprintf (outf, "#include \"predict.h\"\n"); fprintf (outf, "#include \"predict.h\"\n");
fprintf (outf, "\n"); fprintf (outf, "\n");
fprintf (outf, "#define operands recog_data.operand\n\n"); fprintf (outf, "#define operands recog_data.operand\n\n");
......
...@@ -73,6 +73,7 @@ write_header (void) ...@@ -73,6 +73,7 @@ write_header (void)
#include \"tm_p.h\"\n\ #include \"tm_p.h\"\n\
#include \"hard-reg-set.h\"\n\ #include \"hard-reg-set.h\"\n\
#include \"function.h\"\n\ #include \"function.h\"\n\
#include \"emit-rtl.h\"\n\
\n\ \n\
/* Fake - insn-config.h doesn't exist yet. */\n\ /* Fake - insn-config.h doesn't exist yet. */\n\
#define MAX_RECOG_OPERANDS 10\n\ #define MAX_RECOG_OPERANDS 10\n\
......
...@@ -1558,6 +1558,7 @@ write_insn_preds_c (void) ...@@ -1558,6 +1558,7 @@ write_insn_preds_c (void)
#include \"diagnostic-core.h\"\n\ #include \"diagnostic-core.h\"\n\
#include \"reload.h\"\n\ #include \"reload.h\"\n\
#include \"regs.h\"\n\ #include \"regs.h\"\n\
#include \"emit-rtl.h\"\n\
#include \"tm-constrs.h\"\n"); #include \"tm-constrs.h\"\n");
FOR_ALL_PREDICATES (p) FOR_ALL_PREDICATES (p)
......
...@@ -4191,6 +4191,7 @@ write_header (void) ...@@ -4191,6 +4191,7 @@ write_header (void)
#include \"hard-reg-set.h\"\n\ #include \"hard-reg-set.h\"\n\
#include \"input.h\"\n\ #include \"input.h\"\n\
#include \"function.h\"\n\ #include \"function.h\"\n\
#include \"emit-rtl.h\"\n\
#include \"insn-config.h\"\n\ #include \"insn-config.h\"\n\
#include \"recog.h\"\n\ #include \"recog.h\"\n\
#include \"output.h\"\n\ #include \"output.h\"\n\
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include "tree-pass.h" #include "tree-pass.h"
#include "df.h" #include "df.h"
#include "rtl-iter.h" #include "rtl-iter.h"
#include "emit-rtl.h"
/* The following code does forward propagation of hard register copies. /* The following code does forward propagation of hard register copies.
The object is to eliminate as many dependencies as possible, so that The object is to eliminate as many dependencies as possible, so that
......
...@@ -38,6 +38,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -38,6 +38,7 @@ along with GCC; see the file COPYING3. If not see
#include "insn-attr.h" #include "insn-attr.h"
#include "params.h" #include "params.h"
#include "df.h" #include "df.h"
#include "emit-rtl.h"
/* This structure is used to record liveness information at the targets or /* This structure is used to record liveness information at the targets or
fallthrough insns of branches. We will most likely need the information fallthrough insns of branches. We will most likely need the information
......
...@@ -70,6 +70,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -70,6 +70,7 @@ along with GCC; see the file COPYING3. If not see
#include "target.h" #include "target.h"
#include "tree-pass.h" #include "tree-pass.h"
#include "dbgcnt.h" #include "dbgcnt.h"
#include "emit-rtl.h"
#ifdef INSN_SCHEDULING #ifdef INSN_SCHEDULING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment