Undo r26380, another copy of the comment is still present where struct ir_prog is...
[libfirm] / include / libfirm / irop.h
index 182c259..eb39ada 100644 (file)
@@ -80,7 +80,8 @@ typedef enum {
 
 /** The opcodes of the libFirm predefined operations. */
 typedef enum {
-       iro_Block,
+       iro_First,
+       iro_Block = iro_First,
        iro_Start, iro_End, iro_Jmp, iro_IJmp, iro_Cond, iro_Return,
        iro_Const, iro_SymConst,
        iro_Sel,
@@ -92,10 +93,11 @@ typedef enum {
        iro_Load, iro_Store, iro_Alloc, iro_Free, iro_Sync,
        iro_Proj, iro_Tuple, iro_Id, iro_Bad, iro_Confirm,
        iro_Unknown, iro_Filter, iro_Break, iro_CallBegin, iro_EndReg, iro_EndExcept,
-       iro_NoMem, iro_Mux, iro_Min, iro_Max, iro_CopyB,
+       iro_NoMem, iro_Mux, iro_CopyB,
        iro_InstOf, iro_Raise, iro_Bound,
        iro_Pin,
-       iro_ASM,
+       iro_ASM, iro_Builtin,
+       iro_Dummy,
        iro_Anchor,
        /* first not middleend node number */
        iro_Last = iro_Anchor,
@@ -186,8 +188,6 @@ extern ir_op *op_EndExcept;       ir_op *get_op_EndExcept (void);
 
 extern ir_op *op_NoMem;           ir_op *get_op_NoMem     (void);
 extern ir_op *op_Mux;             ir_op *get_op_Mux       (void);
-extern ir_op *op_Min;             ir_op *get_op_Min       (void);
-extern ir_op *op_Max;             ir_op *get_op_Max       (void);
 extern ir_op *op_CopyB;           ir_op *get_op_CopyB     (void);
 
 extern ir_op *op_InstOf;          ir_op *get_op_InstOf    (void);
@@ -197,6 +197,9 @@ extern ir_op *op_Bound;           ir_op *get_op_Bound     (void);
 extern ir_op *op_Pin;             ir_op *get_op_Pin       (void);
 
 extern ir_op *op_ASM;             ir_op *get_op_ASM       (void);
+extern ir_op *op_Builtin;         ir_op *get_op_Builtin   (void);
+
+extern ir_op *op_Dummy;           ir_op *get_op_Dummy     (void);
 
 extern ir_op *op_Anchor;          ir_op *get_op_Anchor    (void);
 
@@ -209,16 +212,6 @@ const char *get_op_name(const ir_op *op);
 /** Returns the enum for the opcode */
 unsigned get_op_code(const ir_op *op);
 
-/** op_pin_state_pinned states. */
-typedef enum {
-       op_pin_state_floats = 0,    /**< Nodes of this opcode can be placed in any basic block. */
-       op_pin_state_pinned = 1,    /**< Nodes must remain in this basic block. */
-       op_pin_state_exc_pinned,    /**< Node must be remain in this basic block if it can throw an
-                                        exception, else can float. Used internally. */
-       op_pin_state_mem_pinned     /**< Node must be remain in this basic block if it can throw an
-                                        exception or uses memory, else can float. Used internally. */
-} op_pin_state;
-
 /** Returns a human readable name of an op_pin_state. */
 const char *get_op_pin_state_name(op_pin_state s);