/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
#include "irmode.h"
#include "set.h"
-#include "../bearch_t.h"
+#include "../bearch.h"
#include "bearch_ia32_t.h"
-
-/**
- * Convenience macro to check if register <code>out</code>
- * and register <code>in</code> are equal.
- */
-#define REGS_ARE_EQUAL(out, in) \
- ((arch_register_get_class(out) == arch_register_get_class(in)) && \
- (arch_register_get_index(out) == arch_register_get_index(in)))
-
-/**
- * Set compare function
- */
-int ia32_cmp_irn_reg_assoc(const void *a, const void *b, size_t len);
-
-/**
- * Assigns a register to a firm node.
- */
-void ia32_set_firm_reg(ir_node *irn, const arch_register_t *reg, set *reg_set);
-
-/**
- * Gets the register assigned to a firm node.
- */
-const arch_register_t *ia32_get_firm_reg(const ir_node *irn, set *reg_set);
+#include "gen_ia32_regalloc_if.h"
/**
* Enters for each general purpose register the corresponding 16bit
*/
const char *ia32_get_mapped_reg_name(pmap *reg_map, const arch_register_t *reg);
-/**
- * Check all parameters and determine the maximum number of parameters
- * to pass in gp regs resp. in fp regs.
- *
- * @param n The number of parameters
- * @param modes The list of the parameter modes
- * @param n_int Holds the number of int parameters to be passed in regs after the call
- * @param n_float Holds the number of float parameters to be passed in regs after the call
- * @return The number of the last parameter to be passed in register
- */
-int ia32_get_n_regparam_class(ia32_code_gen_t *cg, int n, ir_mode **modes);
-
-/**
- * Returns the register for parameter nr.
- */
-const arch_register_t *ia32_get_RegParam_reg(ia32_code_gen_t *cg, unsigned cc,
- unsigned nr, ir_mode *mode);
-
-#endif /* FIRM_BE_IA32_IA32_MAP_REGS_H */
+#endif