- moved declarations to appropriate header files
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 6 Nov 2008 00:36:17 +0000 (00:36 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 6 Nov 2008 00:36:17 +0000 (00:36 +0000)
[r23458]

ir/be/ia32/bearch_ia32.c
ir/be/ia32/ia32_emitter.h
ir/be/ia32/ia32_finish.h
ir/be/ia32/ia32_optimize.h
ir/be/ia32/ia32_transform.h
ir/be/ia32/ia32_x87.h

index e7ad570..17cc3a4 100644 (file)
@@ -2297,12 +2297,6 @@ const arch_isa_if_t ia32_isa_if = {
        ia32_is_valid_clobber
 };
 
-void ia32_init_emitter(void);
-void ia32_init_finish(void);
-void ia32_init_optimize(void);
-void ia32_init_transform(void);
-void ia32_init_x87(void);
-
 void be_init_arch_ia32(void)
 {
        lc_opt_entry_t *be_grp   = lc_opt_get_grp(firm_opt_get_root(), "be");
index 17b7ed7..3b90632 100644 (file)
@@ -51,4 +51,7 @@ void ia32_emit_x87_binop(const ir_node *node);
 
 void ia32_gen_routine(ia32_code_gen_t *cg, ir_graph *irg);
 
+/** Initializes the Emitter. */
+void ia32_init_emitter(void);
+
 #endif
index 0f8fa56..d3c5c0a 100644 (file)
@@ -36,4 +36,7 @@
  */
 void ia32_finish_irg(ir_graph *irg, ia32_code_gen_t *cg);
 
+/** Initialize the finisher. */
+void ia32_init_finish(void);
+
 #endif /* FIRM_BE_IA32_IA32_FINISH_H */
index c89b2a2..a39263b 100644 (file)
@@ -50,4 +50,7 @@ void ia32_optimize_graph(ia32_code_gen_t *cg);
  */
 void ia32_peephole_optimization(ia32_code_gen_t *cg);
 
+/** Initialize the ia32 address mode initializer. */
+void ia32_init_optimize(void);
+
 #endif /* FIRM_BE_IA32_IA32_OPTIMIZE_H */
index 03d98ca..f7b8244 100644 (file)
@@ -29,7 +29,8 @@
 #include "bearch_ia32_t.h"
 
 /**
- * Transform firm nodes to x86 assembler nodes
+ * Transform firm nodes to x86 assembler nodes, ie
+ * do instruction selection.
  */
 void ia32_transform_graph(ia32_code_gen_t *cg);
 
@@ -58,4 +59,7 @@ void ia32_add_missing_keeps(ia32_code_gen_t *cg);
  */
 ir_node *ia32_skip_downconv(ir_node *node);
 
+/** Initialize the ia32 instruction selector. */
+void ia32_init_transform(void);
+
 #endif /* FIRM_BE_IA32_IA32_TRANSFORM_H */
index 44aeeb2..1498451 100644 (file)
@@ -41,4 +41,9 @@
  */
 void x87_simulate_graph(be_irg_t *birg);
 
+/**
+ * Initializes the x87 simulator.
+ */
+void ia32_init_x87(void);
+
 #endif /* FIRM_BE_IA32_IA32_X87_H */