fix sse/x87 fixup code added at wrong places
[libfirm] / ir / be / ia32 / ia32_new_nodes.h
index b464dbb..db66c25 100644 (file)
@@ -84,10 +84,13 @@ void set_ia32_immop_type(ir_node *node, ia32_immop_type_t tp);
  */
 ia32_am_type_t get_ia32_am_support(const ir_node *node);
 
+ia32_am_arity_t get_ia32_am_arity(const ir_node *node);
+
 /**
  * Sets the supported addrmode of an ia32 node
  */
-void set_ia32_am_support(ir_node *node, ia32_am_type_t am_tp);
+void set_ia32_am_support(ir_node *node, ia32_am_type_t am_tp,
+                         ia32_am_arity_t am_arity);
 
 /**
  * Gets the addrmode flavour of an ia32 node
@@ -483,6 +486,11 @@ int is_ia32_St(const ir_node *node);
  */
 int is_ia32_Cnst(const ir_node *node);
 
+/**
+ * Swaps left/right input of a node (and adjusts pnc if needed)
+ */
+void ia32_swap_left_right(ir_node *node);
+
 /**
  * Initializes the nodes attributes.
  */
@@ -497,11 +505,6 @@ void init_ia32_asm_attributes(ir_node *node);
 void init_ia32_immediate_attributes(ir_node *node, ir_entity *symconst,
                                     int symconst_sign, long offset);
 
-/**
- * Registers the ia32_copy_attr function for all ia32 opcodes.
- */
-void ia32_register_copy_attr_func(void);
-
 /* Include the generated headers */
 #include "gen_ia32_new_nodes.h"