Commit 736acba4 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

cleanup: Remove unnecessary #include.

parent bf01ad76
......@@ -13,7 +13,6 @@
#include <stdio.h>
#include "irarch.h"
#include "lowering.h"
#include "iroptimize.h"
#include "irmode.h"
#include "begin.h"
......
......@@ -7,28 +7,15 @@
* @file
* @brief emit assembler for a backend graph
*/
#include <limits.h>
#include "panic.h"
#include "xmalloc.h"
#include "tv.h"
#include "iredges.h"
#include "debug.h"
#include "irgwalk.h"
#include "irop_t.h"
#include "irargs_t.h"
#include "irprog.h"
#include "besched.h"
#include "begnuas.h"
#include "TEMPLATE_emitter.h"
#include "TEMPLATE_new_nodes.h"
#include "beblocksched.h"
#include "begnuas.h"
#include "benode.h"
#include "TEMPLATE_emitter.h"
#include "besched.h"
#include "gen_TEMPLATE_emitter.h"
#include "gen_TEMPLATE_regalloc_if.h"
#include "TEMPLATE_nodes_attr.h"
#include "TEMPLATE_new_nodes.h"
#include "irgwalk.h"
#include "panic.h"
static void TEMPLATE_emit_immediate(const ir_node *node)
{
......
......@@ -10,14 +10,7 @@
#ifndef FIRM_BE_TEMPLATE_TEMPLATE_EMITTER_H
#define FIRM_BE_TEMPLATE_TEMPLATE_EMITTER_H
#include "irargs_t.h"
#include "irnode.h"
#include "debug.h"
#include "bearch.h"
#include "beemitter.h"
#include "bearch_TEMPLATE_t.h"
#include "firm_types.h"
/**
* emit assembler instructions with format string. Automatically indents
......
......@@ -10,6 +10,8 @@
#ifndef FIRM_BE_TEMPLATE_TEMPLATE_TRANSFORM_H
#define FIRM_BE_TEMPLATE_TEMPLATE_TRANSFORM_H
#include "firm_types.h"
void TEMPLATE_init_transform(void);
void TEMPLATE_transform_graph(ir_graph *irg);
......
......@@ -7,32 +7,18 @@
* @file
* @brief The main TEMPLATE backend driver file.
*/
#include "bearch_TEMPLATE_t.h"
#include "irgwalk.h"
#include "irprog.h"
#include "ircons.h"
#include "irdump.h"
#include "irgmod.h"
#include "lower_calls.h"
#include "lower_builtins.h"
#include "debug.h"
#include "panic.h"
#include "TEMPLATE_emitter.h"
#include "TEMPLATE_new_nodes.h"
#include "TEMPLATE_transform.h"
#include "be_t.h"
#include "bearch.h"
#include "benode.h"
#include "belower.h"
#include "besched.h"
#include "bearch_TEMPLATE_t.h"
#include "bemodule.h"
#include "begnuas.h"
#include "belistsched.h"
#include "benode.h"
#include "bestack.h"
#include "bespillutil.h"
#include "TEMPLATE_new_nodes.h"
#include "gen_TEMPLATE_regalloc_if.h"
#include "TEMPLATE_transform.h"
#include "TEMPLATE_emitter.h"
#include "lower_builtins.h"
#include "lower_calls.h"
#include "panic.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
......
......@@ -7,32 +7,21 @@
* @file
* @brief emit assembler for a backend graph
*/
#include <limits.h>
#include <inttypes.h>
#include "amd64_emitter.h"
#include "amd64_new_nodes.h"
#include "amd64_nodes_attr.h"
#include "be_t.h"
#include "panic.h"
#include "xmalloc.h"
#include "tv.h"
#include "iredges.h"
#include "debug.h"
#include "irgwalk.h"
#include "irop_t.h"
#include "irargs_t.h"
#include "irprog.h"
#include "beblocksched.h"
#include "begnuas.h"
#include "beirg.h"
#include "benode.h"
#include "besched.h"
#include "amd64_emitter.h"
#include "gen_amd64_emitter.h"
#include "gen_amd64_regalloc_if.h"
#include "amd64_nodes_attr.h"
#include "amd64_new_nodes.h"
#include "benode.h"
#include "irgwalk.h"
#include "panic.h"
static be_stack_layout_t *layout;
......
......@@ -10,14 +10,7 @@
#ifndef FIRM_BE_AMD64_AMD64_EMITTER_H
#define FIRM_BE_AMD64_AMD64_EMITTER_H
#include "irargs_t.h"
#include "irnode.h"
#include "debug.h"
#include "bearch.h"
#include "beemitter.h"
#include "bearch_amd64_t.h"
#include "firm_types.h"
/**
* fmt parameter output
......
......@@ -10,9 +10,6 @@
#ifndef FIRM_BE_AMD64_AMD64_NEW_NODES_H
#define FIRM_BE_AMD64_AMD64_NEW_NODES_H
#include <stdint.h>
#include "irnode_t.h"
#include "amd64_nodes_attr.h"
#include "gen_amd64_new_nodes.h"
......
......@@ -7,42 +7,29 @@
* @file
* @brief The main amd64 backend driver file.
*/
#include "bearch.h"
#include "amd64_emitter.h"
#include "amd64_finish.h"
#include "amd64_new_nodes.h"
#include "amd64_transform.h"
#include "bearch_amd64_t.h"
#include "beflags.h"
#include "begnuas.h"
#include "beirg.h"
#include "belistsched.h"
#include "belower.h"
#include "bemodule.h"
#include "benode.h"
#include "besched.h"
#include "bespillslots.h"
#include "bespillutil.h"
#include "bestack.h"
#include "be_t.h"
#include "beutil.h"
#include "debug.h"
#include "panic.h"
#include "gen_amd64_regalloc_if.h"
#include "irarch_t.h"
#include "ircons_t.h"
#include "irdump.h"
#include "irgmod.h"
#include "irgwalk.h"
#include "iropt_t.h"
#include "irprog_t.h"
#include "lower_alloc.h"
#include "lower_builtins.h"
#include "lower_calls.h"
#include "lower_mode_b.h"
#include "util.h"
#include "bearch_amd64_t.h"
#include "amd64_finish.h"
#include "amd64_new_nodes.h"
#include "gen_amd64_regalloc_if.h"
#include "amd64_transform.h"
#include "amd64_emitter.h"
#include "lowering.h"
#include "panic.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
......
......@@ -8,39 +8,24 @@
* @brief arm emitter
* @author Oliver Richter, Tobias Gneist, Michael Beck, Matthias Braun
*/
#include <limits.h>
#include <stdbool.h>
#include <inttypes.h>
#include "arm_cconv.h"
#include "arm_emitter.h"
#include "arm_new_nodes.h"
#include "be_t.h"
#include "bearch_arm_t.h"
#include "dbginfo.h"
#include "beblocksched.h"
#include "begnuas.h"
#include "benode.h"
#include "besched.h"
#include "debug.h"
#include "irargs_t.h"
#include "iredges.h"
#include "gen_arm_emitter.h"
#include "gen_arm_regalloc_if.h"
#include "irgwalk.h"
#include "irop_t.h"
#include "irprog_t.h"
#include "panic.h"
#include "pmap.h"
#include "tv.h"
#include "util.h"
#include "xmalloc.h"
#include "besched.h"
#include "beblocksched.h"
#include "beirg.h"
#include "begnuas.h"
#include "bedwarf.h"
#include "arm_emitter.h"
#include "arm_optimize.h"
#include "arm_cconv.h"
#include "gen_arm_emitter.h"
#include "arm_nodes_attr.h"
#include "arm_new_nodes.h"
#include "gen_arm_regalloc_if.h"
#include "benode.h"
/** An entry in the ent_or_tv set. */
typedef struct ent_or_tv_t ent_or_tv_t;
......
......@@ -8,48 +8,30 @@
* @brief The main arm backend driver file.
* @author Matthias Braun, Oliver Richter, Tobias Gneist
*/
#include "lc_opts.h"
#include "lc_opts_enum.h"
#include "arm_emitter.h"
#include "arm_new_nodes.h"
#include "arm_transform.h"
#include "be_t.h"
#include "bearch_arm_t.h"
#include "beflags.h"
#include "begnuas.h"
#include "bemodule.h"
#include "benode.h"
#include "besched.h"
#include "betranshlp.h"
#include "gen_arm_regalloc_if.h"
#include "irarch_t.h"
#include "irgopt.h"
#include "irgwalk.h"
#include "irprog_t.h"
#include "ircons.h"
#include "irgmod.h"
#include "irgopt.h"
#include "iroptimize.h"
#include "irdump.h"
#include "irtools.h"
#include "lc_opts_enum.h"
#include "lower_builtins.h"
#include "lower_calls.h"
#include "lower_softfloat.h"
#include "debug.h"
#include "array.h"
#include "irtools.h"
#include "lowering.h"
#include "util.h"
#include "bearch.h"
#include "benode.h"
#include "belower.h"
#include "besched.h"
#include "be.h"
#include "bemodule.h"
#include "beirg.h"
#include "bespillutil.h"
#include "beutil.h"
#include "begnuas.h"
#include "belistsched.h"
#include "beflags.h"
#include "bestack.h"
#include "betranshlp.h"
#include "bearch_arm_t.h"
#include "arm_new_nodes.h"
#include "gen_arm_regalloc_if.h"
#include "arm_transform.h"
#include "arm_optimize.h"
#include "arm_emitter.h"
#define ARM_MODULO_SHIFT 256
#define ARM_MACHINE_SIZE 32
......
......@@ -11,8 +11,6 @@
#ifndef FIRM_BE_ARM_BEARCH_ARM_T_H
#define FIRM_BE_ARM_BEARCH_ARM_T_H
#include <stdio.h>
#include "bearch.h"
typedef struct arm_isa_t arm_isa_t;
......
......@@ -15,8 +15,6 @@
#ifndef FIRM_BE_BENODE_H
#define FIRM_BE_BENODE_H
#include <limits.h>
#include "firm_types.h"
#include "irnode_t.h"
#include "bearch.h"
......
......@@ -9,62 +9,37 @@
* @author Christian Wuerdig
*/
#include "bearch_ia32_t.h"
#include "beflags.h"
#include "begnuas.h"
#include "be.h"
#include "belistsched.h"
#include "belive.h"
#include "belower.h"
#include "bemodule.h"
#include "benode.h"
#include "besched.h"
#include "bespillslots.h"
#include "bespillutil.h"
#include "bestack.h"
#include "bestate.h"
#include "be_t.h"
#include "betranshlp.h"
#include "beutil.h"
#include "debug.h"
#include "firmstat_t.h"
#include "gen_ia32_regalloc_if.h"
#include "ia32_architecture.h"
#include "ia32_emitter.h"
#include "ia32_finish.h"
#include "ia32_fpu.h"
#include "ia32_new_nodes.h"
#include "ia32_optimize.h"
#include "ia32_transform.h"
#include "ia32_x87.h"
#include "ident_t.h"
#include "instrument.h"
#include "irarch.h"
#include "ircons_t.h"
#include "irdump.h"
#include "iredges_t.h"
#include "irflag.h"
#include "irgmod.h"
#include "irgopt.h"
#include "irgopt.h"
#include "irgwalk.h"
#include "iroptimize.h"
#include "iropt_t.h"
#include "irprog_t.h"
#include "irtools.h"
#include "lc_opts_enum.h"
#include "lc_opts.h"
#include "lower_alloc.h"
#include "lower_builtins.h"
#include "lower_calls.h"
#include "lower_dw.h"
#include "lower_mode_b.h"
#include "lower_softfloat.h"
#include "lowering.h"
#include "panic.h"
#include "util.h"
#include "xmalloc.h"
#include "gen_ia32_regalloc_if.h"
#include "ia32_architecture.h"
#include "ia32_emitter.h"
#include "ia32_finish.h"
#include "ia32_fpu.h"
#include "ia32_new_nodes.h"
#include "ia32_nodes_attr.h"
#include "ia32_optimize.h"
#include "ia32_transform.h"
#include "ia32_x87.h"
ir_mode *ia32_mode_fpcw;
ir_mode *ia32_mode_flags;
......
......@@ -26,43 +26,25 @@
* pnc_Uge => P || AE
* pnc_Ne => P || NE
*/
#include <limits.h>
#include <inttypes.h>
#include "be_t.h"
#include "bearch_ia32_t.h"
#include "beblocksched.h"
#include "util.h"
#include "xmalloc.h"
#include "tv.h"
#include "iredges.h"
#include "debug.h"
#include "irgwalk.h"
#include "irprintf.h"
#include "irop_t.h"
#include "irargs_t.h"
#include "irprog_t.h"
#include "iredges_t.h"
#include "irtools.h"
#include "execfreq.h"
#include "panic.h"
#include "dbginfo.h"
#include "lc_opts.h"
#include "ircons.h"
#include "besched.h"
#include "benode.h"
#include "bedwarf.h"
#include "beemitter.h"
#include "begnuas.h"
#include "besched.h"
#include "bestack.h"
#include "beutil.h"
#include "ia32_emitter.h"
#include "execfreq.h"
#include "gen_ia32_emitter.h"
#include "gen_ia32_regalloc_if.h"
#include "ia32_nodes_attr.h"
#include "ia32_new_nodes.h"
#include "ia32_architecture.h"
#include "bearch_ia32_t.h"
#include "ia32_emitter.h"
#include "ia32_new_nodes.h"
#include "irgwalk.h"
#include "irtools.h"
#include "lc_opts.h"
#include "panic.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
......
......@@ -8,49 +8,33 @@
* @brief The main sparc backend driver file.
* @author Hannes Rapp, Matthias Braun
*/
#include "lc_opts.h"
#include "lc_opts_enum.h"
#include "be_t.h"
#include "bearch_sparc_t.h"
#include "beflags.h"
#include "begnuas.h"
#include "bemodule.h"
#include "besched.h"
#include "betranshlp.h"
#include "gen_sparc_regalloc_if.h"
#include "irarch_t.h"
#include "irgwalk.h"
#include "irprog.h"
#include "ircons_t.h"
#include "irgmod.h"
#include "irgopt.h"
#include "iroptimize.h"
#include "irtools.h"
#include "irdump.h"
#include "irgwalk.h"
#include "iropt_t.h"
#include "irnode_t.h"
#include "lowering.h"
#include "lower_dw.h"
#include "irprog_t.h"
#include "irtools.h"
#include "lc_opts_enum.h"
#include "lower_alloc.h"
#include "lower_builtins.h"
#include "lower_calls.h"
#include "lower_mode_b.h"
#include "lower_softfloat.h"
#include "debug.h"
#include "array.h"
#include "util.h"
#include "be_t.h"
#include "bearch.h"
#include "benode.h"
#include "belower.h"
#include "besched.h"
#include "bemodule.h"
#include "begnuas.h"
#include "belistsched.h"
#include "beflags.h"
#include "beutil.h"
#include "betranshlp.h"
#include "bearch_sparc_t.h"
#include "lowering.h"
#include "sparc_cconv.h"
#include "sparc_emitter.h"
#include "sparc_new_nodes.h"
#include "gen_sparc_regalloc_if.h"
#include "sparc_transform.h"
#include "sparc_emitter.h"
#include "sparc_cconv.h"
#include "util.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
......
......@@ -8,42 +8,29 @@
* @brief emit assembler for a backend graph
* @author Hannes Rapp, Matthias Braun
*/
#include <limits.h>
//#include <limits.h>
#include <inttypes.h>
#include "util.h"
#include "bearch_sparc_t.h"
#include "beblocksched.h"
#include "begnuas.h"
#include "beirg.h"
#include "benode.h"
#include "bepeephole.h"
#include "besched.h"
#include "bestack.h"
#include "beutil.h"
#include "bitfiddle.h"
#include "xmalloc.h"
#include "tv.h"
#include "iredges.h"
#include "debug.h"
#include "execfreq_t.h"
#include "gen_sparc_emitter.h"
#include "gen_sparc_regalloc_if.h"
#include "heights.h"
#include "irgwalk.h"
#include "irop_t.h"
#include "irargs_t.h"
#include "irprog.h"
#include "irargs_t.h"
#include "panic.h"
#include "raw_bitset.h"
#include "dbginfo.h"
#include "heights.h"
#include "pmap.h"
#include "execfreq_t.h"
#include "besched.h"
#include "beblocksched.h"
#include "beirg.h"
#include "begnuas.h"
#include "bedwarf.h"
#include "benode.h"
#include "bestack.h"
#include "bepeephole.h"
#include "sparc_emitter.h"
#include "gen_sparc_emitter.h"
#include "sparc_nodes_attr.h"
#include "sparc_new_nodes.h"
#include "gen_sparc_regalloc_if.h"
#include "util.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
......
......@@ -11,14 +11,7 @@
#ifndef FIRM_BE_SPARC_EMITTER_H
#define FIRM_BE_SPARC_EMITTER_H
#include "irargs_t.h"
#include "irnode.h"
#include "debug.h"
#include "bearch.h"
#include "beemitter.h"
#include "bearch_sparc_t.h"
#include "firm_types.h"
/**
* fmt parameter output
......
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