cleanup: Remove unnecessary #include "beirg.h".
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 25 Nov 2012 09:21:00 +0000 (10:21 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 25 Nov 2012 09:21:00 +0000 (10:21 +0100)
44 files changed:
ir/be/TEMPLATE/bearch_TEMPLATE.c
ir/be/amd64/bearch_amd64.c
ir/be/beblocksched.c
ir/be/bechordal_common.c
ir/be/bechordal_t.h
ir/be/becopyheur2.c
ir/be/becopyilp.c
ir/be/becopyilp2.c
ir/be/becopystat.c
ir/be/beflags.h
ir/be/beinsn.c
ir/be/beinsn_t.h
ir/be/beirgmod.h
ir/be/belistsched.c
ir/be/belistsched.h
ir/be/belive.c
ir/be/beloopana.c
ir/be/beloopana.h
ir/be/belower.c
ir/be/belower.h
ir/be/benode.c
ir/be/bepeephole.h
ir/be/bera.h
ir/be/beschedtrace.c
ir/be/bespill.h
ir/be/bespilldaemel.c
ir/be/bespillslots.h
ir/be/bespillutil.h
ir/be/bessaconstr.h
ir/be/bestat.h
ir/be/bestate.c
ir/be/bestate.h
ir/be/betranshlp.h
ir/be/beverify.h
ir/be/ia32/bearch_ia32.c
ir/be/ia32/ia32_address_mode.h
ir/be/ia32/ia32_architecture.h
ir/be/ia32/ia32_common_transform.c
ir/be/ia32/ia32_emitter.c
ir/be/ia32/ia32_fpu.c
ir/be/ia32/ia32_transform.c
ir/be/ia32/ia32_x87.h
ir/be/sparc/bearch_sparc.c
ir/be/sparc/sparc_finish.c

index 21344c2..99cbb2f 100644 (file)
@@ -36,7 +36,7 @@
 #include "bitset.h"
 #include "debug.h"
 
-#include "be.h"
+#include "be_t.h"
 #include "bearch.h"
 #include "benode.h"
 #include "belower.h"
index 6cb1dab..4cf0f40 100644 (file)
@@ -35,8 +35,9 @@
 #include "debug.h"
 #include "error.h"
 
-#include "be.h"
+#include "be_t.h"
 #include "bearch.h"
+#include "beirg.h"
 #include "benode.h"
 #include "belower.h"
 #include "besched.h"
index f3b46cd..7922129 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "array.h"
 #include "pdeq.h"
-
+#include "beirg.h"
 #include "iredges.h"
 #include "irgwalk.h"
 #include "irnode_t.h"
index bc1cc2d..8049f05 100644 (file)
@@ -34,6 +34,7 @@
 
 #include "bechordal.h"
 #include "bechordal_t.h"
+#include "beirg.h"
 #include "beirgmod.h"
 #include "beinsn_t.h"
 #include "besched.h"
index 12e7499..e7cc1df 100644 (file)
@@ -34,7 +34,6 @@
 #include "debug.h"
 
 #include "bechordal.h"
-#include "beirg.h"
 #include "beifg.h"
 
 /**
index 0ec32d1..1d727c0 100644 (file)
 #include "util.h"
 #include "irtools.h"
 #include "irnodemap.h"
-
+#include "be_t.h"
 #include "bemodule.h"
 #include "beabi.h"
 #include "benode.h"
 #include "becopyopt.h"
 #include "becopyopt_t.h"
 #include "bechordal_t.h"
-#include "beirg.h"
 
 #define DUMP_BEFORE 1
 #define DUMP_AFTER  2
index e4c6ace..c45b7c4 100644 (file)
 
 #include <stdbool.h>
 
+#include "be_t.h"
 #include "irtools.h"
 #include "irprintf.h"
 
 #include "statev_t.h"
-#include "beirg.h"
 #include "bemodule.h"
 #include "error.h"
 
index 82cb443..cf819a5 100644 (file)
@@ -45,6 +45,7 @@
  */
 #include "config.h"
 
+#include "be_t.h"
 #include "bitset.h"
 #include "error.h"
 #include "raw_bitset.h"
index e473a8d..7063e98 100644 (file)
@@ -39,7 +39,6 @@
 #include "beutil.h"
 #include "becopyopt_t.h"
 #include "becopystat.h"
-#include "beirg.h"
 #include "bemodule.h"
 #include "beintlive_t.h"
 
index a7af4fd..6c5eb92 100644 (file)
@@ -26,7 +26,6 @@
 #define FIRM_BE_BEFLAGS_H
 
 #include "bearch.h"
-#include "beirg.h"
 
 /**
  * Callback which rematerializes (=duplicates) a machine node.
index a3f305d..2370171 100644 (file)
@@ -32,7 +32,6 @@
 #include "bechordal_t.h"
 #include "besched.h"
 #include "beinsn_t.h"
-#include "beirg.h"
 #include "beabi.h"
 #include "raw_bitset.h"
 
index 1c9ab1b..d4003f0 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "bearch.h"
 #include "bechordal.h"
-#include "beirg.h"
 
 typedef struct be_operand_t  be_operand_t;
 typedef struct be_insn_t     be_insn_t;
index 861720a..5447a38 100644 (file)
@@ -31,8 +31,8 @@
 #ifndef FIRM_BE_BEIRGMOD_H
 #define FIRM_BE_BEIRGMOD_H
 
+#include "be_types.h"
 #include "firm_types.h"
-#include "beirg.h"
 
 /**
  * Insert a Perm which permutes all (non-ignore) live values of a given register class
index 20f8fbc..f9f2b65 100644 (file)
@@ -54,7 +54,6 @@
 #include "belistsched.h"
 #include "bearch.h"
 #include "bestat.h"
-#include "beirg.h"
 
 #include "lc_opts.h"
 #include "lc_opts_enum.h"
index 3af7e37..eb749c9 100644 (file)
@@ -32,7 +32,6 @@
 #include "be.h"
 #include "be_types.h"
 #include "bearch.h"
-#include "beirg.h"
 
 /**
  * A selector interface which is used by the list schedule framework.
index 62594ce..995b144 100644 (file)
 
 #include "absgraph.h"
 #include "statev_t.h"
-
+#include "be_t.h"
 #include "bearch.h"
 #include "beutil.h"
 #include "belive_t.h"
-#include "beirg.h"
 #include "besched.h"
 #include "bemodule.h"
 #include "bedump.h"
index f83e4c9..c1190da 100644 (file)
@@ -34,6 +34,7 @@
 #include "debug.h"
 
 #include "bearch.h"
+#include "beirg.h"
 #include "belive.h"
 #include "besched.h"
 #include "beloopana.h"
index 327f608..a1bc614 100644 (file)
@@ -29,7 +29,6 @@
 #include "irloop.h"
 
 #include "bearch.h"
-#include "beirg.h"
 
 typedef struct be_loopana_t be_loopana_t;
 
index eebec36..e8169a0 100644 (file)
@@ -39,6 +39,7 @@
 #include "array_t.h"
 
 #include "bearch.h"
+#include "beirg.h"
 #include "belower.h"
 #include "benode.h"
 #include "besched.h"
index daf56e8..e739616 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef FIRM_BE_BELOWER_H
 #define FIRM_BE_BELOWER_H
 
-#include "beirg.h"
+#include "firm_types.h"
 
 /**
  * Walks over all nodes to assure register constraints.
index a0ce327..b4a2197 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <stdlib.h>
 
+#include "beirg.h"
 #include "obst.h"
 #include "set.h"
 #include "pmap.h"
index a47cfce..757fe4b 100644 (file)
@@ -25,7 +25,6 @@
 #ifndef BEPEEPHOLE_H
 #define BEPEEPHOLE_H
 
-#include "beirg.h"
 #include "bearch.h"
 
 extern ir_node **register_values;
index a5798d6..573d9bb 100644 (file)
 #ifndef FIRM_BE_BERA_H
 #define FIRM_BE_BERA_H
 
-#include "irnode.h"
-
-#include "belive.h"
-#include "beirg.h"
+#include "firm_types.h"
 
 typedef struct be_ra_t {
        void (*allocate)(ir_graph *irg);   /**< allocate registers on a graph */
index d67d622..2ad2581 100644 (file)
@@ -28,7 +28,7 @@
 #include <stdlib.h>
 
 #include "iredges_t.h"
-
+#include "beirg.h"
 #include "besched.h"
 #include "belistsched.h"
 #include "benode.h"
index a704635..843a0df 100644 (file)
@@ -27,7 +27,6 @@
 #define FIRM_BE_BESPILL_H
 
 #include "bearch.h"
-#include "beirg.h"
 
 extern int be_coalesce_spill_slots;
 extern int be_do_remats;
index f25977c..f248de4 100644 (file)
@@ -50,7 +50,6 @@
 #include "bearch.h"
 #include "be_t.h"
 #include "benode.h"
-#include "beirg.h"
 #include "belive.h"
 
 DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
index 56d884c..7a251f8 100644 (file)
@@ -27,7 +27,6 @@
 #define FIRM_BE_BESPILLSLOTS_H
 
 #include <stdbool.h>
-#include "beirg.h"
 
 typedef struct be_fec_env_t be_fec_env_t;
 
index 10ee33f..b093523 100644 (file)
@@ -31,7 +31,6 @@
 #include "debug.h"
 
 #include "bearch.h"
-#include "beirg.h"
 
 typedef struct spill_env_t spill_env_t;
 
index bc63d7e..0186d46 100644 (file)
@@ -53,7 +53,6 @@
 #include "irnodeset.h"
 #include "belive.h"
 #include "bitset.h"
-#include "beirg.h"
 #include "pdeq.h"
 #include "irnodemap.h"
 #include "obst.h"
index ada6fcc..1be1972 100644 (file)
@@ -28,7 +28,6 @@
 #include "firm_types.h"
 #include "irnodeset.h"
 
-#include "beirg.h"
 #include "bearch.h"
 
 typedef enum be_stat_tag_t {
index 4cf17d1..52dc3df 100644 (file)
@@ -41,6 +41,7 @@
 #include "cpset.h"
 
 #include "bearch.h"
+#include "beirg.h"
 #include "beuses.h"
 #include "besched.h"
 #include "belive_t.h"
index 3191a10..d0322be 100644 (file)
@@ -28,7 +28,6 @@
 #define FIRM_BE_BESTATE_H
 
 #include "firm_types.h"
-#include "beirg.h"
 #include "bearch.h"
 
 /**
index 7e4622f..a45e2e8 100644 (file)
@@ -26,8 +26,8 @@
 #ifndef FIRM_BE_BETRANSHLP_H
 #define FIRM_BE_BETRANSHLP_H
 
+#include "be_types.h"
 #include "firm_types.h"
-#include "beirg.h"
 
 /**
  * A callback to pre-transform some nodes before the transformation starts.
index ee625fd..aa2b9bb 100644 (file)
@@ -29,7 +29,6 @@
 #include <stdbool.h>
 #include "irgraph.h"
 
-#include "beirg.h"
 #include "bearch.h"
 
 /**
index d6130c6..d4a887d 100644 (file)
@@ -55,7 +55,6 @@
 #include "lower_softfloat.h"
 
 #include "beabi.h"
-#include "beirg.h"
 #include "benode.h"
 #include "belower.h"
 #include "besched.h"
index c256065..81dab6d 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <stdbool.h>
 #include "irtypes.h"
-#include "beirg.h"
 
 /**
  * The address mode data: Used to construct (memory) address modes.
index c96eaac..1f44c72 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef FIRM_BE_IA32_ARCHITECTURE_H
 #define FIRM_BE_IA32_ARCHITECTURE_H
 
+#include "irarch.h"
+
 typedef struct {
        /** optimize for size */
        unsigned optimize_size:1;
index 5a50bee..11ed215 100644 (file)
@@ -33,7 +33,6 @@
 #include "heights.h"
 
 #include "betranshlp.h"
-#include "beirg.h"
 #include "beabi.h"
 
 #include "ia32_architecture.h"
index 7d6d3ec..4624114 100644 (file)
@@ -68,7 +68,6 @@
 #include "bedwarf.h"
 #include "beemitter.h"
 #include "begnuas.h"
-#include "beirg.h"
 
 #include "ia32_emitter.h"
 #include "ia32_common_transform.h"
index 54e0680..1ff1750 100644 (file)
@@ -47,7 +47,6 @@
 #include "bestate.h"
 #include "beutil.h"
 #include "bessaconstr.h"
-#include "beirg.h"
 
 static ir_entity *fpcw_round    = NULL;
 static ir_entity *fpcw_truncate = NULL;
index 74a2221..a314bd9 100644 (file)
@@ -51,7 +51,6 @@
 #include "besched.h"
 #include "beabi.h"
 #include "beutil.h"
-#include "beirg.h"
 #include "betranshlp.h"
 #include "be_t.h"
 
index f3857e7..e91dcf6 100644 (file)
@@ -26,8 +26,7 @@
 #ifndef FIRM_BE_IA32_IA32_X87_H
 #define FIRM_BE_IA32_IA32_X87_H
 
-#include "bearch.h"
-#include "beirg.h"
+#include "firm_types.h"
 
 /**
  * Run a simulation and fix all virtual instructions for a graph.
index 1af0d49..81fece4 100644 (file)
 #include "array_t.h"
 #include "error.h"
 #include "util.h"
-
+#include "be_t.h"
 #include "bearch.h"
 #include "benode.h"
 #include "belower.h"
 #include "besched.h"
-#include "be.h"
 #include "bemodule.h"
-#include "beirg.h"
 #include "begnuas.h"
 #include "belistsched.h"
 #include "beflags.h"
index 65a08d4..ad29fce 100644 (file)
@@ -47,7 +47,7 @@
 #include "ircons.h"
 #include "irgwalk.h"
 #include "heights.h"
-
+#include "beirg.h"
 #include "bepeephole.h"
 #include "benode.h"
 #include "besched.h"