summaryrefslogtreecommitdiffhomepage
path: root/ir/be/TEMPLATE
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-02-17 07:14:48 +0100
committerMatthias Braun <matze@braunis.de>2017-02-17 08:07:41 +0100
commit06cb80c5b7f318fb1fc0caef3adcf84b9802df6c (patch)
tree72c596abcda06468ebe41d0038f520e10f19acc3 /ir/be/TEMPLATE
parentd29ca3a0ba661b9826e126b407c1c9d6f5a81aa9 (diff)
Reorganize include directives
Diffstat (limited to 'ir/be/TEMPLATE')
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_emitter.c1
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_new_nodes.c19
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_transform.c28
3 files changed, 23 insertions, 25 deletions
diff --git a/ir/be/TEMPLATE/TEMPLATE_emitter.c b/ir/be/TEMPLATE/TEMPLATE_emitter.c
index b047ce7..230e919 100644
--- a/ir/be/TEMPLATE/TEMPLATE_emitter.c
+++ b/ir/be/TEMPLATE/TEMPLATE_emitter.c
@@ -8,6 +8,7 @@
* @brief emit assembler for a backend graph
*/
#include "TEMPLATE_emitter.h"
+
#include "TEMPLATE_new_nodes.h"
#include "bearch.h"
#include "beblocksched.h"
diff --git a/ir/be/TEMPLATE/TEMPLATE_new_nodes.c b/ir/be/TEMPLATE/TEMPLATE_new_nodes.c
index 921898a..15541f8 100644
--- a/ir/be/TEMPLATE/TEMPLATE_new_nodes.c
+++ b/ir/be/TEMPLATE/TEMPLATE_new_nodes.c
@@ -9,22 +9,21 @@
* opcodes and the coresponding node constructors for the TEMPLATE
* assembler irg.
*/
-#include <stdlib.h>
+#include "TEMPLATE_new_nodes_t.h"
-#include "irprog_t.h"
+#include "TEMPLATE_nodes_attr.h"
+#include "bedump.h"
+#include "gen_TEMPLATE_regalloc_if.h"
+#include "ircons_t.h"
#include "irgraph_t.h"
-#include "irnode_t.h"
#include "irmode_t.h"
-#include "ircons_t.h"
-#include "iropt_t.h"
+#include "irnode_t.h"
#include "irop_t.h"
+#include "iropt_t.h"
#include "irprintf.h"
+#include "irprog_t.h"
#include "xmalloc.h"
-#include "bedump.h"
-
-#include "TEMPLATE_nodes_attr.h"
-#include "TEMPLATE_new_nodes_t.h"
-#include "gen_TEMPLATE_regalloc_if.h"
+#include <stdlib.h>
void TEMPLATE_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
{
diff --git a/ir/be/TEMPLATE/TEMPLATE_transform.c b/ir/be/TEMPLATE/TEMPLATE_transform.c
index 6a1aa87..cf0625f 100644
--- a/ir/be/TEMPLATE/TEMPLATE_transform.c
+++ b/ir/be/TEMPLATE/TEMPLATE_transform.c
@@ -7,27 +7,25 @@
* @file
* @brief code selection (transform FIRM into TEMPLATE FIRM)
*/
-#include "irnode_t.h"
+#include "TEMPLATE_transform.h"
+
+#include "TEMPLATE_new_nodes.h"
+#include "TEMPLATE_nodes_attr.h"
+#include "beirg.h"
+#include "benode.h"
+#include "betranshlp.h"
+#include "debug.h"
+#include "gen_TEMPLATE_regalloc_if.h"
+#include "ircons.h"
+#include "iredges_t.h"
+#include "irgmod.h"
#include "irgraph_t.h"
#include "irmode_t.h"
-#include "irgmod.h"
-#include "iredges_t.h"
-#include "ircons.h"
+#include "irnode_t.h"
#include "iropt_t.h"
-#include "debug.h"
#include "panic.h"
#include "util.h"
-#include "benode.h"
-#include "betranshlp.h"
-#include "beirg.h"
-
-#include "TEMPLATE_nodes_attr.h"
-#include "TEMPLATE_transform.h"
-#include "TEMPLATE_new_nodes.h"
-
-#include "gen_TEMPLATE_regalloc_if.h"
-
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
typedef ir_node* (*new_binop_func)(dbg_info *dbgi, ir_node *block,