not necessary any more (moved to architecture dependent directory)
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 22 Nov 2005 09:29:28 +0000 (09:29 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 22 Nov 2005 09:29:28 +0000 (09:29 +0000)
ir/be/firm2arch.c [deleted file]
ir/be/firm2arch.h [deleted file]
ir/be/firm2arch_nodes_attr.h [deleted file]

diff --git a/ir/be/firm2arch.c b/ir/be/firm2arch.c
deleted file mode 100644 (file)
index 9be2884..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Dumps Firm into CPU specific assembler format (the concrete
- * implementations can be found in the <arch> subdirectories)
- * @author Christian Wuerdig
- * @date 18.10.2005
- * @version $Id$
- */
-
-#include "pseudo_irg.h"
-#include "irgwalk.h"
-#include "irprog.h"
-#include "debug.h"
-
-#include "firm2arch.h"
-
-/**
- * Transforms all irgs into assembler irgs.
- * Calls the interface function transform_node() which
- * needs to be implemented for each architecture.
- */
-void transform_firm(ir_graph *irg) {
-  firm_dbg_module_t *dbg = firm_dbg_register("be.transform");
-  if (! is_pseudo_ir_graph(irg))
-    irg_walk_blkwise_graph(irg, NULL, transform_node, dbg);
-}
-
-/**
- * Finishes the firm transformation. This function is called
- * after register allocation and scheduling to build everything
- * which can only be build after those phases e.g. function prolog
- * and epilog.
- * Calls the interface function finish_node_transformation which needs
- * to be implemented for each architecture.
- */
-void finish_transform(ir_graph *irg) {
-  if (! is_pseudo_ir_graph(irg)) {
- //   irg_walk_blkwise_graph(irg, NULL, finish_node_transformation, NULL);
-  }
-}
-
-/**
- * Generates the architecture specific assembler code.
- * Calls the interface functions firmbe_gen_decls() (dumps all global
- * decls) and firmbe_gen_routine() (generates code for all routines) which
- * need to be implemented for each architecture.
- */
-void firmbe_gen_code(FILE *out) {
-  int i;
-
-  firmbe_gen_decls(out);
-  for (i = 0; i < get_irp_n_irgs(); ++i) {
-    ir_graph *irg = get_irp_irg(i);
-
-//    if (! is_pseudo_ir_graph(irg))
- //     firmbe_gen_routine(out, irg);
-  }
-}
diff --git a/ir/be/firm2arch.h b/ir/be/firm2arch.h
deleted file mode 100644 (file)
index 3d6e18a..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef FIRM2ARCH_H
-#define FIRM2ARCH_H
-
-#include "irnode.h"
-#include "irgraph.h"
-
-void create_bearch_asm_opcodes(void);
-
-void transform_firm(ir_graph *irg);
-
-extern void transform_node(ir_node *node, void *env);
-
-void finish_transform(ir_graph *irg);
-
-extern void finish_node_transformation(ir_node *node, void *env);
-
-void firmbe_gen_code(FILE *out);
-
-extern void firmbe_gen_decls(FILE *out);
-extern void firmbe_gen_routine(FILE *out, ir_graph *irg);
-
-#endif
diff --git a/ir/be/firm2arch_nodes_attr.h b/ir/be/firm2arch_nodes_attr.h
deleted file mode 100644 (file)
index 3461668..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef NODES_ATTR_H
-#define NODES_ATTR_H
-
-#include "firm_types.h"
-
-typedef struct {
-  enum { asmop_Const, asmop_SymConst } tp;
-  struct {
-    tarval  *tv;       /**<< tarval for immediate operations */
-    tarval  *offset;   /**<< offset for LEA */
-    ir_node *old_ir;   /**<< old ir node to avoid duplicating information (symconst in case of asmop_SymConst) */
-  } data;
-
-  void *reg_constraints;
-} asmop_attr;
-
-#endif