+#include "../bearch_t.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);
+
+/**
+ * Enters for each general purpose register the corresponding 16bit
+ * name into a pmap.
+ */
+void ia32_build_16bit_reg_map(pmap *reg_map);
+
+/**
+ * Enters for each general purpose register the corresponding 8bit
+ * name into a pmap.
+ */
+void ia32_build_8bit_reg_map(pmap *reg_map);
+void ia32_build_8bit_reg_map_high(pmap *reg_map);
+
+/**
+ * Returns the corresponding mapped name for a register.
+ */
+const char *ia32_get_mapped_reg_name(pmap *reg_map, const arch_register_t *reg);