added Div, Mod and Conv mapping
[libfirm] / ir / be / ia32 / ia32_transform.h
index e049471..333fa1c 100644 (file)
@@ -1,3 +1,9 @@
+/**
+ * Function prototypes for Firm into ia32-Firm transformations.
+ * @author Christian Wuerdig
+ * $Id$
+ */
+
 #ifndef _IA32_TRANSFORM_H_
 #define _IA32_TRANSFORM_H_
 
@@ -26,6 +32,14 @@ void ia32_transform_sub_to_neg_add(ir_node *irn, ia32_code_gen_t *cg);
  */
 void ia32_transform_lea_to_add(ir_node *irn, ia32_code_gen_t *cg);
 
+/**
+ * The Psi selector can be a tree of compares combined with "And"s and "Or"s.
+ * We create a Set node, respectively a xCmp in case the Psi is a float, for each
+ * compare, which causes the compare result to be stores in a register.  The
+ * "And"s and "Or"s are transformed later, we only adjust their mode.
+ */
+void ia32_transform_psi_cond_tree(ir_node *node, void *env);
+
 #ifndef NDEBUG
 /**
  * Prints the old node name on cg obst and returns a pointer to it.