/** 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,
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,
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);
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);
/** 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);