oparity_dynamic, /**< arity depends on state of firm representation.
Can change by optimizations...
We must allocate a dynamic in array for the node! */
oparity_dynamic, /**< arity depends on state of firm representation.
Can change by optimizations...
We must allocate a dynamic in array for the node! */
irop_flag_forking = 0x00000020, /**< the operation is a forking control flow */
irop_flag_highlevel = 0x00000040, /**< the operation is a pure high-level one and can be
skipped in low-level optimizations */
irop_flag_forking = 0x00000020, /**< the operation is a forking control flow */
irop_flag_highlevel = 0x00000040, /**< the operation is a pure high-level one and can be
skipped in low-level optimizations */
- iro_Start, iro_End, iro_Jmp, iro_Cond, iro_Return, iro_Raise,
+ iro_Start, iro_End, iro_Jmp, iro_IJmp, iro_Cond, iro_Return, iro_Raise,
iro_Const, iro_SymConst,
iro_Sel, iro_InstOf,
iro_Call, iro_Add, iro_Sub, iro_Minus, iro_Mul, iro_Quot, iro_DivMod,
iro_Const, iro_SymConst,
iro_Sel, iro_InstOf,
iro_Call, iro_Add, iro_Sub, iro_Minus, iro_Mul, iro_Quot, iro_DivMod,
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_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,
extern ir_op *op_Start; ir_op *get_op_Start (void);
extern ir_op *op_End; ir_op *get_op_End (void);
extern ir_op *op_Jmp; ir_op *get_op_Jmp (void);
extern ir_op *op_Start; ir_op *get_op_Start (void);
extern ir_op *op_End; ir_op *get_op_End (void);
extern ir_op *op_Jmp; ir_op *get_op_Jmp (void);
extern ir_op *op_Cond; ir_op *get_op_Cond (void);
extern ir_op *op_Return; ir_op *get_op_Return (void);
extern ir_op *op_Raise; ir_op *get_op_Raise (void);
extern ir_op *op_Cond; ir_op *get_op_Cond (void);
extern ir_op *op_Return; ir_op *get_op_Return (void);
extern ir_op *op_Raise; ir_op *get_op_Raise (void);
ir_op * new_ir_op(opcode code, const char *name, op_pin_state p,
unsigned flags, op_arity opar, int op_index, size_t attr_size);
ir_op * new_ir_op(opcode code, const char *name, op_pin_state p,
unsigned flags, op_arity opar, int op_index, size_t attr_size);
+/**
+ * A generic function pointer.
+ */
+typedef void (*op_func)(void);
+
+/** The NULL-function. */
+#define NULL_FUNC ((generic_func)(NULL))
+
+/**
+ * Returns the generic function pointer from an ir operation.
+ */
+op_func get_generic_function_ptr(const ir_op *op);
+
+/**
+ * Store a generic function pointer into an ir operation.
+ */
+void set_generic_function_ptr(ir_op *op, op_func func);
+