- Fix some more stuff in ir_spec.py
[libfirm] / include / libfirm / ircons.h
index af1ccc1..69362c7 100644 (file)
@@ -1468,13 +1468,13 @@ ir_node *new_rd_Call   (dbg_info *db, ir_graph *irg, ir_node *block, ir_node *st
  * @param   *irg    The IR graph the node  belongs to.
  * @param   *block  The IR block the node belongs to.
  * @param   *store  The current memory state.
- * @param   kind    The kind of the called builtin.
  * @param   arity   The number of procedure parameters.
  * @param   *in[]   An array with the procedure parameters. The constructor copies this array.
+ * @param   kind    The kind of the called builtin.
  * @param   *tp     Type information of the procedure called.
  */
 ir_node *new_rd_Builtin(dbg_info *db, ir_graph *irg, ir_node *block, ir_node *store,
-                                   ir_builtin_kind kind, int arity, ir_node *in[], ir_type *tp);
+                                   int arity, ir_node *in[], ir_builtin_kind kind, ir_type *tp);
 
 /** Constructor for a Add node.
  *
@@ -1725,25 +1725,35 @@ ir_node *new_rd_Rotl    (dbg_info *db, ir_graph *irg, ir_node *block,
 
 /** Constructor for a Conv node.
  *
- * @param   *db          A pointer for debug information.
- * @param   *irg         The IR graph the node belongs to.
- * @param   *block       The IR block the node belongs to.
- * @param   *op          The operand.
- * @param   *mode        The mode the operand must be converted to.
- * @param    strict_flag Whether the Conv is strict.
+ * @param   *db    A pointer for debug information.
+ * @param   *irg   The IR graph the node  belongs to.
+ * @param   *block The IR block the node belongs to.
+ * @param   *op    The operand.
+ * @param   *mode  The mode of this the operand muss be converted .
  */
 ir_node *new_rd_Conv   (dbg_info *db, ir_graph *irg, ir_node *block,
-               ir_node *op, ir_mode *mode, int strict_flag);
+               ir_node *op, ir_mode *mode);
+
+/** Constructor for a strictConv node.
+ *
+ * @param   *db    A pointer for debug information.
+ * @param   *irg   The IR graph the node  belongs to.
+ * @param   *block The IR block the node belongs to.
+ * @param   *op    The operand.
+ * @param   *mode  The mode of this the operand muss be converted .
+ */
+ir_node *new_rd_strictConv   (dbg_info *db, ir_graph *irg, ir_node *block,
+               ir_node *op, ir_mode *mode);
 
 /** Constructor for a Cast node.
  *
  * High level type cast.
  *
  * @param   *db    A pointer for debug information.
- * @param   *irg   The IR graph the node belongs to.
+ * @param   *irg   The IR graph the node  belongs to.
  * @param   *block The IR block the node belongs to.
  * @param   *op    The operand.
- * @param   *to_tp The type of this the operand muss be casted.
+ * @param   *to_tp The type of this the operand muss be casted .
  */
 ir_node *new_rd_Cast   (dbg_info *db, ir_graph *irg, ir_node *block,
                        ir_node *op, ir_type *to_tp);
@@ -2311,13 +2321,13 @@ ir_node *new_r_Call   (ir_graph *irg, ir_node *block, ir_node *store,
  * @param   *irg    The IR graph the node  belongs to.
  * @param   *block  The IR block the node belongs to.
  * @param   *store  The actual store.
- * @param   kind    The kind of the called builtin.
  * @param   arity   The number of procedure parameters.
  * @param   *in[]   An array with the pointers to the parameters. The constructor copies this array.
+ * @param   kind    The kind of the called builtin.
  * @param   *tp     Type information of the procedure called.
  */
 ir_node *new_r_Builtin(ir_graph *irg, ir_node *block, ir_node *store,
-                       ir_builtin_kind kind, int arity, ir_node *in[], ir_type *tp);
+                       int arity, ir_node *in[], ir_builtin_kind kind, ir_type *tp);
 
 /** Constructor for a Add node.
  *
@@ -2549,14 +2559,23 @@ ir_node *new_r_Rotl   (ir_graph *irg, ir_node *block,
 
 /** Constructor for a Conv node.
  *
- * @param   *irg         The IR graph the node belongs to.
- * @param   *block       The IR block the node belongs to.
- * @param   *op          The operand.
- * @param   *mode        The mode the operand must be converted to.
- * @param    strict_flag Whether the Conv is strict.
+ * @param   *irg   The IR graph the node  belongs to.
+ * @param   *block The IR block the node belongs to.
+ * @param   *op    The operand.
+ * @param   *mode  The mode of this the operand muss be converted .
  */
 ir_node *new_r_Conv   (ir_graph *irg, ir_node *block,
-               ir_node *op, ir_mode *mode, int strict_flag);
+               ir_node *op, ir_mode *mode);
+
+/** Constructor for a strict Conv node.
+ *
+ * @param   *irg   The IR graph the node  belongs to.
+ * @param   *block The IR block the node belongs to.
+ * @param   *op    The operand.
+ * @param   *mode  The mode of this the operand muss be converted .
+ */
+ir_node *new_r_strictConv   (ir_graph *irg, ir_node *block,
+               ir_node *op, ir_mode *mode);
 
 /** Constructor for a Cast node.
  *
@@ -3149,13 +3168,12 @@ ir_node *new_d_Call   (dbg_info *db, ir_node *store, ir_node *callee, int arity,
  *
  * @param   *db     A pointer for debug information.
  * @param   *store  The actual store.
- * @param   kind    The kind of the called builtin.
  * @param   arity   The number of procedure parameters.
  * @param   *in[]   An array with the pointers to the parameters. The constructor copies this array.
+ * @param   kind    The kind of the called builtin.
  * @param   *tp     Type information of the procedure called.
  */
-ir_node *new_d_Builtin(dbg_info *db, ir_node *store, ir_builtin_kind kind, int arity, ir_node *in[],
-                       ir_type *tp);
+ir_node *new_d_Builtin(dbg_info *db, ir_node *store, int arity, ir_node *in[], ir_builtin_kind kind, ir_type *tp);
 
 /** Constructor for a Add node.
  *
@@ -3978,8 +3996,8 @@ ir_node *new_Call   (ir_node *store, ir_node *callee, int arity, ir_node *in[],
  * @param   *in[]   An array with the pointers to the parameters. The constructor copies this array.
  * @param   *tp     Type information of the procedure called.
  */
-ir_node *new_Builtin(ir_node *store, ir_builtin_kind kind, int arity, ir_node *in[],
-                     ir_type *tp);
+ir_node *new_Builtin(ir_node *store, int arity, ir_node *in[],
+                     ir_builtin_kind kind, ir_type *tp);
 
 /** Constructor for a CallBegin node.
  *