removed unnecessary phases and functions which are now handled directly by the generi...
[libfirm] / ir / be / ia32 / bearch_ia32_t.h
index 129f34f..fec0512 100644 (file)
@@ -5,6 +5,8 @@
 #include "bearch_ia32.h"
 #include "ia32_nodes_attr.h"
 
+/* some typedefs */
+
 typedef struct _ia32_code_gen_t {
        const arch_code_generator_if_t *impl;          /**< implementation */
        ir_graph                       *irg;           /**< current irg */
@@ -17,6 +19,8 @@ typedef struct _ia32_code_gen_t {
        const ia32_register_req_t     **reg_param_req; /**< hold the requirements for the reg param nodes */
        pmap                           *types;         /**< A map of modes to primitive types */
        pmap                           *tv_ent;        /**< A map of entities that store tarvals */
+       ir_node                        *noreg_gp;      /**< Holds the unique per irg GP NoReg node */
+       ir_node                        *noreg_fp;      /**< Holds the unique per irg FP NoReg node */
 } ia32_code_gen_t;
 
 typedef struct _ia32_isa_t {
@@ -25,7 +29,6 @@ typedef struct _ia32_isa_t {
        const arch_register_t *bp;            /** The base pointer register. */
        const int              stack_dir;     /** -1 for decreasing, 1 for increasing. */
        int                    num_codegens;
-       set                   *reg_projnum_map;
 } ia32_isa_t;
 
 typedef struct _ia32_irn_ops_t {
@@ -46,4 +49,14 @@ typedef struct _ia32_transform_env_t {
        ia32_code_gen_t   *cg;         /**< The code generator */
 } ia32_transform_env_t;
 
+/**
+ * Creates the unique per irg GP NoReg node.
+ */
+ir_node *ia32_new_NoReg_gp(ia32_code_gen_t *cg);
+
+/**
+ * Creates the unique per irg FP NoReg node.
+ */
+ir_node *ia32_new_NoReg_fp(ia32_code_gen_t *cg);
+
 #endif /* _BEARCH_IA32_T_H_ */