From 669f95e61918c214ac85aa23b712779a659340f1 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Fri, 21 Dec 2012 18:30:23 +0100 Subject: [PATCH] cleanup: Remove unnecessary #include. --- ir/adt/hashset.c.inl | 1 - ir/adt/hungarian.c | 3 +-- ir/ana/domfront.c | 2 -- ir/ana/irbackedge.c | 1 - ir/ana/irconsconfirm.c | 1 - ir/ana/irlivechk.c | 4 ---- ir/ana/irouts.c | 2 -- ir/be/TEMPLATE/TEMPLATE_emitter.c | 1 - ir/be/TEMPLATE/bearch_TEMPLATE.c | 4 ---- ir/be/amd64/amd64_emitter.c | 1 - ir/be/amd64/bearch_amd64.c | 4 ---- ir/be/arm/arm_emitter.c | 3 --- ir/be/arm/arm_transform.c | 1 - ir/be/arm/bearch_arm.c | 3 --- ir/be/beabi.c | 2 -- ir/be/bearch.c | 5 ----- ir/be/beblocksched.c | 2 -- ir/be/bechordal_common.c | 2 -- ir/be/bechordal_draw.c | 2 -- ir/be/bechordal_main.c | 4 +--- ir/be/becopyheur2.c | 2 -- ir/be/becopyilp2.c | 1 - ir/be/bedwarf.c | 1 - ir/be/beemitter_binary.c | 1 - ir/be/beflags.c | 1 - ir/be/beifg.c | 2 -- ir/be/beinsn.c | 1 - ir/be/beinsn_t.h | 3 +-- ir/be/beirgmod.c | 5 ----- ir/be/belistsched.c | 3 --- ir/be/beloopana.c | 1 - ir/be/bemain.c | 2 -- ir/be/bepeephole.c | 1 - ir/be/beprefalloc.c | 2 -- ir/be/bera.c | 2 -- ir/be/bespillbelady.c | 2 -- ir/be/bespillslots.c | 1 - ir/be/bespillutil.c | 5 ----- ir/be/bessaconstr.c | 3 --- ir/be/bessaconstr.h | 2 -- ir/be/bessadestr.c | 2 -- ir/be/bestat.c | 2 -- ir/be/bestat.h | 2 -- ir/be/bestate.c | 1 - ir/be/beutil.c | 4 ---- ir/be/ia32/bearch_ia32.c | 3 --- ir/be/ia32/ia32_emitter.c | 1 - ir/be/ia32/ia32_finish.c | 1 - ir/be/ia32/ia32_new_nodes.c | 1 - ir/be/ia32/ia32_x87.c | 1 - ir/be/sparc/bearch_sparc.c | 3 --- ir/be/sparc/sparc_emitter.c | 1 - ir/be/sparc/sparc_lower64.c | 1 - ir/be/sparc/sparc_transform.c | 1 - ir/common/irtools.c | 2 -- ir/ident/mangle.c | 1 - ir/ir/irdump.c | 4 ---- ir/ir/irgraph_t.h | 4 ---- ir/ir/irmode.c | 1 - ir/ir/irnode.c | 1 - ir/ir/iropt_t.h | 1 - ir/ir/irprintf.c | 2 -- ir/ir/irprofile.c | 2 -- ir/ir/irtypes.h | 1 - ir/ir/rm_tuples.c | 1 - ir/ir/unreachable.c | 1 - ir/lower/lower_copyb.c | 1 - ir/lower/lower_dw.c | 1 - ir/lower/lower_hl.c | 1 - ir/lower/lower_mode_b.c | 1 - ir/opt/boolopt.c | 1 - ir/opt/cfopt.c | 2 -- ir/opt/combo.c | 1 - ir/opt/convopt.c | 1 - ir/opt/fp-vrp.c | 1 - ir/opt/garbage_collect.c | 1 - ir/opt/opt_inline.c | 2 -- ir/opt/parallelize_mem.c | 2 -- ir/stat/dags.c | 1 - ir/stat/stat_dmp.c | 1 - ir/stat/statev.c | 1 - ir/tr/entity.c | 2 -- ir/tr/tr_inheritance.c | 1 - support/lpp_server/lpp_server.c | 1 - 84 files changed, 3 insertions(+), 153 deletions(-) diff --git a/ir/adt/hashset.c.inl b/ir/adt/hashset.c.inl index 06f4312cd..ada5774fb 100644 --- a/ir/adt/hashset.c.inl +++ b/ir/adt/hashset.c.inl @@ -69,7 +69,6 @@ #include #include "bitfiddle.h" -#include "util.h" /* quadratic probing */ #ifndef JUMP diff --git a/ir/adt/hungarian.c b/ir/adt/hungarian.c index d1f49be97..6cecf3da1 100644 --- a/ir/adt/hungarian.c +++ b/ir/adt/hungarian.c @@ -37,10 +37,9 @@ #include "util.h" #include "xmalloc.h" #include "debug.h" -#include "bitset.h" #include "error.h" - #include "hungarian.h" +#include "raw_bitset.h" DEBUG_ONLY(static firm_dbg_module_t *dbg;) diff --git a/ir/ana/domfront.c b/ir/ana/domfront.c index f23250610..b2a5473a2 100644 --- a/ir/ana/domfront.c +++ b/ir/ana/domfront.c @@ -13,12 +13,10 @@ #include "obst.h" #include "pmap.h" -#include "pdeq.h" #include "irdom.h" #include "array.h" #include "irgraph.h" #include "iredges_t.h" -#include "irnodeset.h" /** * A wrapper for get_Block_idom. diff --git a/ir/ana/irbackedge.c b/ir/ana/irbackedge.c index fd14df249..bdc4351b0 100644 --- a/ir/ana/irbackedge.c +++ b/ir/ana/irbackedge.c @@ -15,7 +15,6 @@ #include "irgraph_t.h" #include "array.h" #include "irbackedge_t.h" -#include "raw_bitset.h" /*--------------------------------------------------------------------*/ /* Backedge information. */ diff --git a/ir/ana/irconsconfirm.c b/ir/ana/irconsconfirm.c index 4b1251479..8c2cb3404 100644 --- a/ir/ana/irconsconfirm.c +++ b/ir/ana/irconsconfirm.c @@ -20,7 +20,6 @@ #include "iropt_dbg.h" #include "iredges_t.h" #include "irgwalk.h" -#include "irprintf.h" #include "irgopt.h" #include "irpass.h" #include "irtools.h" diff --git a/ir/ana/irlivechk.c b/ir/ana/irlivechk.c index 8181ae954..99942b91e 100644 --- a/ir/ana/irlivechk.c +++ b/ir/ana/irlivechk.c @@ -33,15 +33,11 @@ #include "irnode_t.h" #include "irnodemap.h" #include "iredges_t.h" - -#include "irprintf.h" #include "irdom.h" #include "irdump.h" #include "dfs_t.h" #include "bitset.h" -#include "util.h" - #include "irlivechk.h" #include "statev_t.h" diff --git a/ir/ana/irouts.c b/ir/ana/irouts.c index dcff5fb65..a2666d754 100644 --- a/ir/ana/irouts.c +++ b/ir/ana/irouts.c @@ -19,8 +19,6 @@ #include "irgraph_t.h" #include "irprog_t.h" #include "irgwalk.h" -#include "util.h" -#include "irprintf.h" #include "error.h" #include "ircons.h" diff --git a/ir/be/TEMPLATE/TEMPLATE_emitter.c b/ir/be/TEMPLATE/TEMPLATE_emitter.c index cd9a013a5..27ab2ef1b 100644 --- a/ir/be/TEMPLATE/TEMPLATE_emitter.c +++ b/ir/be/TEMPLATE/TEMPLATE_emitter.c @@ -17,7 +17,6 @@ #include "iredges.h" #include "debug.h" #include "irgwalk.h" -#include "irprintf.h" #include "irop_t.h" #include "irargs_t.h" #include "irprog.h" diff --git a/ir/be/TEMPLATE/bearch_TEMPLATE.c b/ir/be/TEMPLATE/bearch_TEMPLATE.c index e1e3959c1..ea38bdd30 100644 --- a/ir/be/TEMPLATE/bearch_TEMPLATE.c +++ b/ir/be/TEMPLATE/bearch_TEMPLATE.c @@ -13,15 +13,11 @@ #include "irgwalk.h" #include "irprog.h" -#include "irprintf.h" #include "ircons.h" #include "irgmod.h" #include "lower_calls.h" #include "lower_builtins.h" - -#include "bitset.h" #include "debug.h" - #include "be_t.h" #include "bearch.h" #include "benode.h" diff --git a/ir/be/amd64/amd64_emitter.c b/ir/be/amd64/amd64_emitter.c index f0987057a..cd7d62eb7 100644 --- a/ir/be/amd64/amd64_emitter.c +++ b/ir/be/amd64/amd64_emitter.c @@ -18,7 +18,6 @@ #include "iredges.h" #include "debug.h" #include "irgwalk.h" -#include "irprintf.h" #include "irop_t.h" #include "irargs_t.h" #include "irprog.h" diff --git a/ir/be/amd64/bearch_amd64.c b/ir/be/amd64/bearch_amd64.c index 50de97e3e..fc5f39f9c 100644 --- a/ir/be/amd64/bearch_amd64.c +++ b/ir/be/amd64/bearch_amd64.c @@ -11,16 +11,12 @@ #include "irgwalk.h" #include "irprog.h" -#include "irprintf.h" #include "ircons.h" #include "irgmod.h" #include "irdump.h" #include "lower_calls.h" - -#include "bitset.h" #include "debug.h" #include "error.h" - #include "be_t.h" #include "bearch.h" #include "beirg.h" diff --git a/ir/be/arm/arm_emitter.c b/ir/be/arm/arm_emitter.c index 65d07555d..96d90d6d9 100644 --- a/ir/be/arm/arm_emitter.c +++ b/ir/be/arm/arm_emitter.c @@ -18,13 +18,10 @@ #include "iredges.h" #include "debug.h" #include "irgwalk.h" -#include "irtools.h" -#include "irprintf.h" #include "irop_t.h" #include "irprog_t.h" #include "irargs_t.h" #include "error.h" -#include "raw_bitset.h" #include "dbginfo.h" #include "besched.h" diff --git a/ir/be/arm/arm_transform.c b/ir/be/arm/arm_transform.c index b1ca0d50d..ba4b2866b 100644 --- a/ir/be/arm/arm_transform.c +++ b/ir/be/arm/arm_transform.c @@ -16,7 +16,6 @@ #include "irgmod.h" #include "iredges.h" #include "ircons.h" -#include "irprintf.h" #include "dbginfo.h" #include "iropt_t.h" #include "debug.h" diff --git a/ir/be/arm/bearch_arm.c b/ir/be/arm/bearch_arm.c index 3e612f6b5..755ec4974 100644 --- a/ir/be/arm/bearch_arm.c +++ b/ir/be/arm/bearch_arm.c @@ -15,7 +15,6 @@ #include "irgwalk.h" #include "irprog.h" -#include "irprintf.h" #include "ircons.h" #include "irgmod.h" #include "irgopt.h" @@ -23,8 +22,6 @@ #include "irdump.h" #include "lower_calls.h" #include "error.h" - -#include "bitset.h" #include "debug.h" #include "array_t.h" #include "irtools.h" diff --git a/ir/be/beabi.c b/ir/be/beabi.c index f9d09cba9..d6da989a0 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -20,12 +20,10 @@ #include "iredges_t.h" #include "irgmod.h" #include "irgwalk.h" -#include "irprintf.h" #include "irgopt.h" #include "iropt_t.h" #include "irtools.h" #include "heights.h" -#include "pdeq.h" #include "util.h" #include "raw_bitset.h" #include "error.h" diff --git a/ir/be/bearch.c b/ir/be/bearch.c index 711c3015e..e1a69308a 100644 --- a/ir/be/bearch.c +++ b/ir/be/bearch.c @@ -18,13 +18,8 @@ #include "ircons_t.h" #include "irnode_t.h" #include "irop_t.h" - -#include "bitset.h" -#include "pset.h" #include "raw_bitset.h" -#include "irprintf.h" - arch_register_req_t const arch_no_requirement = { arch_register_req_type_none, NULL, diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c index d1b58e500..ed6911bbb 100644 --- a/ir/be/beblocksched.c +++ b/ir/be/beblocksched.c @@ -33,11 +33,9 @@ #include "irnode_t.h" #include "irgraph_t.h" #include "irloop.h" -#include "irprintf.h" #include "execfreq.h" #include "irdump_t.h" #include "irtools.h" -#include "util.h" #include "debug.h" #include "beirgmod.h" #include "bemodule.h" diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c index 5a9c0c751..4393ef9eb 100644 --- a/ir/be/bechordal_common.c +++ b/ir/be/bechordal_common.c @@ -16,8 +16,6 @@ #include "debug.h" #include "iredges.h" -#include "bitset.h" - #include "bechordal.h" #include "bechordal_t.h" #include "beirg.h" diff --git a/ir/be/bechordal_draw.c b/ir/be/bechordal_draw.c index c317ed3a7..cfa9f8b80 100644 --- a/ir/be/bechordal_draw.c +++ b/ir/be/bechordal_draw.c @@ -14,8 +14,6 @@ #include #include "pmap.h" -#include "pset.h" - #include "irgwalk.h" #include "irprintf.h" #include "iredges_t.h" diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index 1753a2de6..891fbda4a 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -1,4 +1,5 @@ /* +#include "irdump_t.h" * This file is part of libFirm. * Copyright (C) 2012 University of Karlsruhe. */ @@ -15,8 +16,6 @@ #include #include "obst.h" -#include "pset.h" -#include "list.h" #include "bitset.h" #include "lc_opts.h" @@ -25,7 +24,6 @@ #include "ircons_t.h" #include "irmode_t.h" #include "irgraph_t.h" -#include "irprintf.h" #include "irgwalk.h" #include "ircons.h" #include "irdump.h" diff --git a/ir/be/becopyheur2.c b/ir/be/becopyheur2.c index c0dccb81e..911ee31f1 100644 --- a/ir/be/becopyheur2.c +++ b/ir/be/becopyheur2.c @@ -21,7 +21,6 @@ #include "beirg.h" #include "list.h" #include "pdeq.h" -#include "bitset.h" #include "raw_bitset.h" #include "debug.h" @@ -29,7 +28,6 @@ #include "irgraph_t.h" #include "irnode_t.h" -#include "irprintf.h" #include "util.h" #include "irtools.h" #include "irnodemap.h" diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c index bd286654f..2831ebe27 100644 --- a/ir/be/becopyilp2.c +++ b/ir/be/becopyilp2.c @@ -34,7 +34,6 @@ #include "be_t.h" #include "beintlive_t.h" #include "beirg.h" -#include "bitset.h" #include "error.h" #include "raw_bitset.h" #include "pdeq.h" diff --git a/ir/be/bedwarf.c b/ir/be/bedwarf.c index 0c11b4fb7..dfe412eaf 100644 --- a/ir/be/bedwarf.c +++ b/ir/be/bedwarf.c @@ -23,7 +23,6 @@ #include "tv.h" #include "xmalloc.h" #include "pmap.h" -#include "pdeq.h" #include "pset_new.h" #include "util.h" #include "obst.h" diff --git a/ir/be/beemitter_binary.c b/ir/be/beemitter_binary.c index e7f8491a6..5a8fd0c05 100644 --- a/ir/be/beemitter_binary.c +++ b/ir/be/beemitter_binary.c @@ -16,7 +16,6 @@ #include "beemitter_binary.h" #include "obst.h" -#include "pdeq.h" #include "error.h" static code_fragment_t *first_fragment; diff --git a/ir/be/beflags.c b/ir/be/beflags.c index 3f2f7216c..61e18b73b 100644 --- a/ir/be/beflags.c +++ b/ir/be/beflags.c @@ -29,7 +29,6 @@ #include "irtools.h" #include "ircons.h" #include "iredges_t.h" -#include "irprintf.h" #include "error.h" #include "beflags.h" diff --git a/ir/be/beifg.c b/ir/be/beifg.c index 7b2aaab74..27b37357c 100644 --- a/ir/be/beifg.c +++ b/ir/be/beifg.c @@ -20,8 +20,6 @@ #include "bitset.h" #include "irgwalk.h" #include "irnode_t.h" -#include "irprintf.h" -#include "irtools.h" #include "beifg.h" #include "error.h" #include "xmalloc.h" diff --git a/ir/be/beinsn.c b/ir/be/beinsn.c index f8e98ecf5..b350488df 100644 --- a/ir/be/beinsn.c +++ b/ir/be/beinsn.c @@ -19,7 +19,6 @@ #include "besched.h" #include "beinsn_t.h" #include "beabi.h" -#include "raw_bitset.h" be_insn_t *be_scan_insn(be_chordal_env_t *const env, ir_node *const irn) { diff --git a/ir/be/beinsn_t.h b/ir/be/beinsn_t.h index 507900b7f..1a8bd4a13 100644 --- a/ir/be/beinsn_t.h +++ b/ir/be/beinsn_t.h @@ -12,10 +12,9 @@ #define FIRM_BE_BEINSN_T_H #include "firm_types.h" -#include "bitset.h" - #include "bearch.h" #include "bechordal.h" +#include "raw_bitset.h" typedef struct be_operand_t be_operand_t; typedef struct be_insn_t be_insn_t; diff --git a/ir/be/beirgmod.c b/ir/be/beirgmod.c index aa9b51bf0..92db562fe 100644 --- a/ir/be/beirgmod.c +++ b/ir/be/beirgmod.c @@ -19,10 +19,6 @@ #include #include "hashptr.h" -#include "pdeq.h" -#include "pset.h" -#include "pmap.h" -#include "util.h" #include "debug.h" #include "error.h" #include "xmalloc.h" @@ -37,7 +33,6 @@ #include "irgraph_t.h" #include "irgopt.h" #include "irgmod.h" -#include "irprintf.h" #include "irgwalk.h" #include "be_t.h" diff --git a/ir/be/belistsched.c b/ir/be/belistsched.c index ef60c6199..f57c4a98c 100644 --- a/ir/be/belistsched.c +++ b/ir/be/belistsched.c @@ -28,11 +28,8 @@ #include "irnode_t.h" #include "irmode_t.h" #include "irdump.h" -#include "irprintf.h" #include "array.h" #include "debug.h" -#include "irtools.h" - #include "bemodule.h" #include "besched.h" #include "beutil.h" diff --git a/ir/be/beloopana.c b/ir/be/beloopana.c index 33b890107..4f0862b38 100644 --- a/ir/be/beloopana.c +++ b/ir/be/beloopana.c @@ -12,7 +12,6 @@ #include "config.h" #include "set.h" -#include "pset.h" #include "irnode.h" #include "util.h" #include "irloop_t.h" diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 77a52f4a4..10f1ef08a 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -18,7 +18,6 @@ #include "lc_opts_enum.h" #include "obst.h" -#include "bitset.h" #include "statev.h" #include "irprog.h" #include "irgopt.h" @@ -29,7 +28,6 @@ #include "irloop_t.h" #include "irtools.h" #include "irverify.h" -#include "irprintf.h" #include "iroptimize.h" #include "firmstat.h" #include "execfreq_t.h" diff --git a/ir/be/bepeephole.c b/ir/be/bepeephole.c index 6ff06f5f6..51aeb5fcf 100644 --- a/ir/be/bepeephole.c +++ b/ir/be/bepeephole.c @@ -15,7 +15,6 @@ #include "iredges_t.h" #include "irgwalk.h" -#include "irprintf.h" #include "ircons.h" #include "irgmod.h" #include "heights.h" diff --git a/ir/be/beprefalloc.c b/ir/be/beprefalloc.c index 28d5b2491..61d9494e4 100644 --- a/ir/be/beprefalloc.c +++ b/ir/be/beprefalloc.c @@ -37,9 +37,7 @@ #include "irgraph_t.h" #include "irgwalk.h" #include "irnode_t.h" -#include "irprintf.h" #include "irdump.h" -#include "irtools.h" #include "util.h" #include "obst.h" #include "raw_bitset.h" diff --git a/ir/be/bera.c b/ir/be/bera.c index 2f88d08b4..6ee6509f5 100644 --- a/ir/be/bera.c +++ b/ir/be/bera.c @@ -13,8 +13,6 @@ #include -#include "pset.h" - #include "irnode.h" #include "irmode.h" #include "irdom.h" diff --git a/ir/be/bespillbelady.c b/ir/be/bespillbelady.c index 6dfb528cc..98c828c3c 100644 --- a/ir/be/bespillbelady.c +++ b/ir/be/bespillbelady.c @@ -21,8 +21,6 @@ #include "irloop.h" #include "iredges_t.h" #include "ircons_t.h" -#include "irprintf.h" -#include "irnodeset.h" #include "irtools.h" #include "statev_t.h" #include "util.h" diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c index 1eaba9bb5..c47740ad6 100644 --- a/ir/be/bespillslots.c +++ b/ir/be/bespillslots.c @@ -17,7 +17,6 @@ #include "array.h" #include "irgwalk.h" #include "ircons.h" -#include "irprintf.h" #include "execfreq.h" #include "unionfind.h" #include "irdump_t.h" diff --git a/ir/be/bespillutil.c b/ir/be/bespillutil.c index 91ada07ca..b72d2c863 100644 --- a/ir/be/bespillutil.c +++ b/ir/be/bespillutil.c @@ -14,23 +14,18 @@ #include #include -#include "pset.h" #include "irnode_t.h" #include "ircons_t.h" #include "iredges_t.h" #include "irbackedge_t.h" -#include "irprintf.h" #include "ident_t.h" #include "type_t.h" #include "entity_t.h" #include "debug.h" #include "irgwalk.h" #include "array.h" -#include "pdeq.h" #include "execfreq.h" -#include "irnodeset.h" #include "error.h" - #include "bearch.h" #include "belive_t.h" #include "besched.h" diff --git a/ir/be/bessaconstr.c b/ir/be/bessaconstr.c index 768280ad6..6d3119d22 100644 --- a/ir/be/bessaconstr.c +++ b/ir/be/bessaconstr.c @@ -47,11 +47,8 @@ #include "debug.h" #include "error.h" -#include "pdeq.h" #include "array.h" #include "irdom.h" -#include "irnodeset.h" - #include "ircons.h" #include "iredges_t.h" #include "statev_t.h" diff --git a/ir/be/bessaconstr.h b/ir/be/bessaconstr.h index 8d3718ad4..20e7cc691 100644 --- a/ir/be/bessaconstr.h +++ b/ir/be/bessaconstr.h @@ -36,9 +36,7 @@ #include #include "firm_types.h" -#include "irnodeset.h" #include "belive.h" -#include "bitset.h" #include "pdeq.h" #include "irnodemap.h" #include "obst.h" diff --git a/ir/be/bessadestr.c b/ir/be/bessadestr.c index bdd38d5c9..0d095fed0 100644 --- a/ir/be/bessadestr.c +++ b/ir/be/bessadestr.c @@ -22,8 +22,6 @@ #include "irgwalk.h" #include "irgmod.h" #include "irdump.h" -#include "irprintf.h" - #include "be_t.h" #include "beutil.h" #include "bechordal_t.h" diff --git a/ir/be/bestat.c b/ir/be/bestat.c index 0b25be92b..b3ac57043 100644 --- a/ir/be/bestat.c +++ b/ir/be/bestat.c @@ -13,12 +13,10 @@ #include #include "irnode_t.h" -#include "irprintf.h" #include "irgwalk.h" #include "irhooks.h" #include "execfreq.h" #include "firmstat_t.h" -#include "irtools.h" #include "error.h" #include "statev_t.h" diff --git a/ir/be/bestat.h b/ir/be/bestat.h index 9302ca1ac..ee435c6e0 100644 --- a/ir/be/bestat.h +++ b/ir/be/bestat.h @@ -12,8 +12,6 @@ #define FIRM_BE_BESTAT_H #include "firm_types.h" -#include "irnodeset.h" - #include "bearch.h" typedef enum be_stat_tag_t { diff --git a/ir/be/bestate.c b/ir/be/bestate.c index e0b4e2bae..00768ea88 100644 --- a/ir/be/bestate.c +++ b/ir/be/bestate.c @@ -22,7 +22,6 @@ #include "iredges_t.h" #include "ircons_t.h" #include "irgmod.h" -#include "irnodeset.h" #include "irnodehashmap.h" #include "cpset.h" diff --git a/ir/be/beutil.c b/ir/be/beutil.c index 0e7d7b5a6..69137bd53 100644 --- a/ir/be/beutil.c +++ b/ir/be/beutil.c @@ -12,17 +12,13 @@ #include -#include "pset.h" - #include "irgraph.h" #include "irgwalk.h" -#include "irdump_t.h" #include "irdom_t.h" #include "ircons.h" #include "iropt.h" #include "irgopt.h" #include "irtools.h" -#include "irprintf.h" #include "iredges_t.h" #include "beutil.h" diff --git a/ir/be/ia32/bearch_ia32.c b/ir/be/ia32/bearch_ia32.c index 74f76ebbc..1d643212c 100644 --- a/ir/be/ia32/bearch_ia32.c +++ b/ir/be/ia32/bearch_ia32.c @@ -15,7 +15,6 @@ #include "irarch.h" #include "irgwalk.h" #include "irprog.h" -#include "irprintf.h" #include "iredges_t.h" #include "ircons.h" #include "irflag.h" @@ -23,8 +22,6 @@ #include "irgopt.h" #include "irgopt.h" #include "irdump.h" -#include "pdeq.h" -#include "pset.h" #include "debug.h" #include "error.h" #include "xmalloc.h" diff --git a/ir/be/ia32/ia32_emitter.c b/ir/be/ia32/ia32_emitter.c index 902652b66..93ae5d5d5 100644 --- a/ir/be/ia32/ia32_emitter.c +++ b/ir/be/ia32/ia32_emitter.c @@ -43,7 +43,6 @@ #include "irtools.h" #include "execfreq.h" #include "error.h" -#include "raw_bitset.h" #include "dbginfo.h" #include "lc_opts.h" #include "ircons.h" diff --git a/ir/be/ia32/ia32_finish.c b/ir/be/ia32/ia32_finish.c index 89c123bc7..bd8ba57d5 100644 --- a/ir/be/ia32/ia32_finish.c +++ b/ir/be/ia32/ia32_finish.c @@ -15,7 +15,6 @@ #include "irgmod.h" #include "irgwalk.h" #include "iredges.h" -#include "irprintf.h" #include "pdeq.h" #include "error.h" #include "firmstat_t.h" diff --git a/ir/be/ia32/ia32_new_nodes.c b/ir/be/ia32/ia32_new_nodes.c index 951f68e7c..bd7aac144 100644 --- a/ir/be/ia32/ia32_new_nodes.c +++ b/ir/be/ia32/ia32_new_nodes.c @@ -28,7 +28,6 @@ #include "irprintf.h" #include "iredges.h" #include "error.h" -#include "raw_bitset.h" #include "xmalloc.h" #include "bearch.h" diff --git a/ir/be/ia32/ia32_x87.c b/ir/be/ia32/ia32_x87.c index 167dcfdb2..3c3b7eced 100644 --- a/ir/be/ia32/ia32_x87.c +++ b/ir/be/ia32/ia32_x87.c @@ -24,7 +24,6 @@ #include "pmap.h" #include "array_t.h" #include "pdeq.h" -#include "irprintf.h" #include "debug.h" #include "error.h" diff --git a/ir/be/sparc/bearch_sparc.c b/ir/be/sparc/bearch_sparc.c index ddb134ce7..b167a586a 100644 --- a/ir/be/sparc/bearch_sparc.c +++ b/ir/be/sparc/bearch_sparc.c @@ -15,7 +15,6 @@ #include "irgwalk.h" #include "irprog.h" -#include "irprintf.h" #include "ircons.h" #include "irgmod.h" #include "irgopt.h" @@ -30,8 +29,6 @@ #include "lower_calls.h" #include "lower_mode_b.h" #include "lower_softfloat.h" - -#include "bitset.h" #include "debug.h" #include "array_t.h" #include "error.h" diff --git a/ir/be/sparc/sparc_emitter.c b/ir/be/sparc/sparc_emitter.c index 71ed34131..6830dab4e 100644 --- a/ir/be/sparc/sparc_emitter.c +++ b/ir/be/sparc/sparc_emitter.c @@ -18,7 +18,6 @@ #include "iredges.h" #include "debug.h" #include "irgwalk.h" -#include "irprintf.h" #include "irop_t.h" #include "irargs_t.h" #include "irprog.h" diff --git a/ir/be/sparc/sparc_lower64.c b/ir/be/sparc/sparc_lower64.c index da627f7b2..00dfca4da 100644 --- a/ir/be/sparc/sparc_lower64.c +++ b/ir/be/sparc/sparc_lower64.c @@ -15,7 +15,6 @@ #include "gen_sparc_new_nodes.h" #include "lower_dw.h" #include "ircons_t.h" -#include "util.h" static void lower64_add(ir_node *node, ir_mode *mode) { diff --git a/ir/be/sparc/sparc_transform.c b/ir/be/sparc/sparc_transform.c index 638fd634b..297c34675 100644 --- a/ir/be/sparc/sparc_transform.c +++ b/ir/be/sparc/sparc_transform.c @@ -19,7 +19,6 @@ #include "irgmod.h" #include "iredges.h" #include "ircons.h" -#include "irprintf.h" #include "iroptimize.h" #include "dbginfo.h" #include "iropt_t.h" diff --git a/ir/common/irtools.c b/ir/common/irtools.c index ea56db0ec..a64eb8680 100644 --- a/ir/common/irtools.c +++ b/ir/common/irtools.c @@ -10,8 +10,6 @@ */ #include "config.h" -#include "pset.h" - #include #include "irnode_t.h" #include "irbackedge_t.h" diff --git a/ir/ident/mangle.c b/ir/ident/mangle.c index 38d7a856a..ad1b0ac2d 100644 --- a/ir/ident/mangle.c +++ b/ir/ident/mangle.c @@ -14,7 +14,6 @@ #include "ident_t.h" #include "obst.h" -#include "irprintf.h" /* Make types visible to allow most efficient access */ #include "entity_t.h" diff --git a/ir/ir/irdump.c b/ir/ir/irdump.c index 63f9783d8..ac23a2d49 100644 --- a/ir/ir/irdump.c +++ b/ir/ir/irdump.c @@ -17,9 +17,6 @@ #include #include -#include "list.h" -#include "pset.h" - #include "irnode_t.h" #include "irgraph_t.h" #include "irprog_t.h" @@ -38,7 +35,6 @@ #include "callgraph.h" #include "irhooks.h" #include "dbginfo_t.h" -#include "irtools.h" #include "irprintf.h" #include "irverify.h" diff --git a/ir/ir/irgraph_t.h b/ir/ir/irgraph_t.h index be23d5d10..880ececea 100644 --- a/ir/ir/irgraph_t.h +++ b/ir/ir/irgraph_t.h @@ -19,12 +19,8 @@ #include "type_t.h" #include "entity_t.h" #include "iredgekinds.h" - #include "irloop.h" - #include "obst.h" -#include "pset.h" -#include "set.h" #define is_ir_graph(thing) is_ir_graph_(thing) #define get_irg_start_block(irg) get_irg_start_block_(irg) diff --git a/ir/ir/irmode.c b/ir/ir/irmode.c index a208d9b07..13e7b5e0c 100644 --- a/ir/ir/irmode.c +++ b/ir/ir/irmode.c @@ -21,7 +21,6 @@ #include "tv_t.h" #include "obst.h" #include "irhooks.h" -#include "irtools.h" #include "array.h" #include "error.h" #include "pattern_dmp.h" diff --git a/ir/ir/irnode.c b/ir/ir/irnode.c index 2f92773a9..a90e5f15a 100644 --- a/ir/ir/irnode.c +++ b/ir/ir/irnode.c @@ -27,7 +27,6 @@ #include "error.h" #include "irhooks.h" -#include "irtools.h" #include "util.h" #include "beinfo.h" diff --git a/ir/ir/iropt_t.h b/ir/ir/iropt_t.h index 72557f238..d9e6b877f 100644 --- a/ir/ir/iropt_t.h +++ b/ir/ir/iropt_t.h @@ -15,7 +15,6 @@ #include "irop_t.h" #include "iropt.h" #include "irnode_t.h" -#include "pset.h" #include "tv.h" /** diff --git a/ir/ir/irprintf.c b/ir/ir/irprintf.c index 4ef770815..68288b4ec 100644 --- a/ir/ir/irprintf.c +++ b/ir/ir/irprintf.c @@ -27,8 +27,6 @@ #include "tv_t.h" #include "irprintf.h" #include "obst.h" -#include "pset.h" -#include "bitset.h" #include "dbginfo_t.h" #include "irargs_t.h" diff --git a/ir/ir/irprofile.c b/ir/ir/irprofile.c index 8888ce906..815ee4892 100644 --- a/ir/ir/irprofile.c +++ b/ir/ir/irprofile.c @@ -19,8 +19,6 @@ #include "obst.h" #include "xmalloc.h" #include "set.h" -#include "irtools.h" - #include "irgwalk.h" #include "irdump_t.h" #include "irnode_t.h" diff --git a/ir/ir/irtypes.h b/ir/ir/irtypes.h index c87843b43..a9b8fa538 100644 --- a/ir/ir/irtypes.h +++ b/ir/ir/irtypes.h @@ -26,7 +26,6 @@ #include "bitset.h" #include "pset.h" -#include "set.h" #include "list.h" #include "obst.h" #include "vrp.h" diff --git a/ir/ir/rm_tuples.c b/ir/ir/rm_tuples.c index 5decefd87..de174c5ca 100644 --- a/ir/ir/rm_tuples.c +++ b/ir/ir/rm_tuples.c @@ -13,7 +13,6 @@ #include "irgopt.h" #include "irgmod.h" #include "irgwalk.h" -#include "irtools.h" #include "irgopt.h" /** Transforms: diff --git a/ir/ir/unreachable.c b/ir/ir/unreachable.c index dd13f87a6..644016ef3 100644 --- a/ir/ir/unreachable.c +++ b/ir/ir/unreachable.c @@ -21,7 +21,6 @@ #include "irgopt.h" #include "irgmod.h" #include "irgwalk.h" -#include "irtools.h" static bool is_block_unreachable(ir_node *block) { diff --git a/ir/lower/lower_copyb.c b/ir/lower/lower_copyb.c index c9344618d..8f3ff417e 100644 --- a/ir/lower/lower_copyb.c +++ b/ir/lower/lower_copyb.c @@ -17,7 +17,6 @@ #include "irgwalk.h" #include "irnode_t.h" #include "type_t.h" -#include "irtools.h" #include "irgmod.h" #include "error.h" #include "be.h" diff --git a/ir/lower/lower_dw.c b/ir/lower/lower_dw.c index 78e48d3e5..4f9840039 100644 --- a/ir/lower/lower_dw.c +++ b/ir/lower/lower_dw.c @@ -34,7 +34,6 @@ #include "ircons.h" #include "irflag.h" #include "iroptimize.h" -#include "irtools.h" #include "debug.h" #include "set.h" #include "pmap.h" diff --git a/ir/lower/lower_hl.c b/ir/lower/lower_hl.c index 3c6c87453..cd2732164 100644 --- a/ir/lower/lower_hl.c +++ b/ir/lower/lower_hl.c @@ -20,7 +20,6 @@ #include "irhooks.h" #include "irgmod.h" #include "irgwalk.h" -#include "irtools.h" #include "irpass_t.h" /** diff --git a/ir/lower/lower_mode_b.c b/ir/lower/lower_mode_b.c index e7dd47491..fcece3a23 100644 --- a/ir/lower/lower_mode_b.c +++ b/ir/lower/lower_mode_b.c @@ -26,7 +26,6 @@ #include "tv.h" #include "error.h" #include "lowering.h" -#include "pdeq.h" #include "irpass_t.h" #include "util.h" #include "array.h" diff --git a/ir/opt/boolopt.c b/ir/opt/boolopt.c index 2632da66d..81954144b 100644 --- a/ir/opt/boolopt.c +++ b/ir/opt/boolopt.c @@ -19,7 +19,6 @@ #include "ircons.h" #include "irgmod.h" #include "irgwalk.h" -#include "irprintf.h" #include "irnode_t.h" #include "tv.h" #include "irpass.h" diff --git a/ir/opt/cfopt.c b/ir/opt/cfopt.c index 911a74811..da6b97ad3 100644 --- a/ir/opt/cfopt.c +++ b/ir/opt/cfopt.c @@ -42,8 +42,6 @@ #include "firmstat.h" #include "irpass.h" #include "irnodehashmap.h" -#include "irtools.h" - #include "iropt_dbg.h" /** An environment for merge_blocks and collect nodes. */ diff --git a/ir/opt/combo.c b/ir/opt/combo.c index f6084da05..1131bbcf7 100644 --- a/ir/opt/combo.c +++ b/ir/opt/combo.c @@ -68,7 +68,6 @@ #include "irnodeset.h" #include "irpass.h" #include "tv_t.h" -#include "irtools.h" #include "firmstat_t.h" #include "irprintf.h" diff --git a/ir/opt/convopt.c b/ir/opt/convopt.c index a57db1b54..3d3aa6393 100644 --- a/ir/opt/convopt.c +++ b/ir/opt/convopt.c @@ -35,7 +35,6 @@ #include "iropt_t.h" #include "iredges_t.h" #include "irgwalk.h" -#include "irprintf.h" #include "irpass_t.h" #include "tv.h" #include "vrp.h" diff --git a/ir/opt/fp-vrp.c b/ir/opt/fp-vrp.c index 8f286223f..b16c9469a 100644 --- a/ir/opt/fp-vrp.c +++ b/ir/opt/fp-vrp.c @@ -25,7 +25,6 @@ #include "irgwalk.h" #include "irnode_t.h" #include "iroptimize.h" -#include "irtools.h" #include "tv.h" #include "irpass.h" #include "irmemory.h" diff --git a/ir/opt/garbage_collect.c b/ir/opt/garbage_collect.c index 15bf04d7b..99ed74d8b 100644 --- a/ir/opt/garbage_collect.c +++ b/ir/opt/garbage_collect.c @@ -15,7 +15,6 @@ #include "type_t.h" #include "entity_t.h" #include "irprog_t.h" -#include "irprintf.h" #include "irpass.h" #include "irgwalk.h" #include "error.h" diff --git a/ir/opt/opt_inline.c b/ir/opt/opt_inline.c index 3ef009f8d..d2e9441c6 100644 --- a/ir/opt/opt_inline.c +++ b/ir/opt/opt_inline.c @@ -27,9 +27,7 @@ #include "array_t.h" #include "list.h" -#include "pset.h" #include "pmap.h" -#include "pdeq.h" #include "xmalloc.h" #include "pqueue.h" diff --git a/ir/opt/parallelize_mem.c b/ir/opt/parallelize_mem.c index 75bd5a28b..aded707bf 100644 --- a/ir/opt/parallelize_mem.c +++ b/ir/opt/parallelize_mem.c @@ -25,7 +25,6 @@ #include "obst.h" #include "irdump.h" #include "irflag_t.h" -#include "irprintf.h" #include "irpass.h" #include "iredges.h" @@ -87,7 +86,6 @@ static void parallelize_store(parallelize_info *pi, ir_node *irn) if (ir_nodeset_contains(&pi->user_mem, irn)) return; - //ir_fprintf(stderr, "considering %+F\n", irn); if (get_nodes_block(irn) == pi->origin_block) { if (is_Proj(irn)) { ir_node *pred = get_Proj_pred(irn); diff --git a/ir/stat/dags.c b/ir/stat/dags.c index ffbea7103..81de9e5fe 100644 --- a/ir/stat/dags.c +++ b/ir/stat/dags.c @@ -12,7 +12,6 @@ #include -#include "irprintf.h" #include "irdump.h" #include "dags.h" #include "irtools.h" diff --git a/ir/stat/stat_dmp.c b/ir/stat/stat_dmp.c index 6f426e2e7..7c8c6b9b5 100644 --- a/ir/stat/stat_dmp.c +++ b/ir/stat/stat_dmp.c @@ -11,7 +11,6 @@ #include "config.h" #include "stat_dmp.h" -#include "irtools.h" #include "irhooks.h" #include "util.h" #include "fourcc.h" diff --git a/ir/stat/statev.c b/ir/stat/statev.c index b095392dd..fabf25f24 100644 --- a/ir/stat/statev.c +++ b/ir/stat/statev.c @@ -18,7 +18,6 @@ #include #include -#include "util.h" #include "stat_timing.h" #include "irprintf.h" #include "statev_t.h" diff --git a/ir/tr/entity.c b/ir/tr/entity.c index d1e641ac8..9d5f84c0e 100644 --- a/ir/tr/entity.c +++ b/ir/tr/entity.c @@ -19,8 +19,6 @@ #include "array.h" #include "util.h" #include "irhooks.h" -#include "irprintf.h" - #include "irprog_t.h" #include "ircons.h" #include "tv_t.h" diff --git a/ir/tr/tr_inheritance.c b/ir/tr/tr_inheritance.c index 31f7043da..0a7b5f788 100644 --- a/ir/tr/tr_inheritance.c +++ b/ir/tr/tr_inheritance.c @@ -14,7 +14,6 @@ #include "typerep.h" #include "irgraph_t.h" #include "irprog_t.h" -#include "irprintf.h" #include "pset.h" #include "set.h" #include "irgwalk.h" diff --git a/support/lpp_server/lpp_server.c b/support/lpp_server/lpp_server.c index 570a27542..19f46174e 100644 --- a/support/lpp_server/lpp_server.c +++ b/support/lpp_server/lpp_server.c @@ -33,7 +33,6 @@ #include "debug.h" #include "list.h" -#include "irtools.h" #include "util.h" #include "lpp_t.h" -- 2.20.1