#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 */
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 {
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 {
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_ */