X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firop.h;h=eb39adac9ea9e14f455f10e9c47a949a2905db08;hb=42ca1a98752df3defe526e0662939742fd88092b;hp=182c259fc072f1570f8c5ab9a6eb8bea02f430ec;hpb=816aa2f422d57ebc0b513fa3ca66a90fa6058387;p=libfirm diff --git a/include/libfirm/irop.h b/include/libfirm/irop.h index 182c259fc..eb39adac9 100644 --- a/include/libfirm/irop.h +++ b/include/libfirm/irop.h @@ -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);