-/**
- * The verify_node operation for Proj(X).
- * Return non-zero if the node verification is ok, else 0.
- * Depending on the node verification settings, may even assert.
- *
- * @see do_node_verification()
- */
-typedef int (*verify_proj_node_func)(ir_node *self, ir_node *proj);
-
-/** The type of an ir_op. */
-struct ir_op {
- opcode code; /**< the unique opcode of the op */
- ident *name; /**< the name of the op */
- size_t attr_size; /**< Space needed in memory for private attributes */
- op_pin_state op_pin_state_pinned; /**< How to deal with the node in cse, pre. */
- op_arity opar; /**< arity of operator. */
- int op_index; /**< the index of the first data operand, 0 for most cases, 1 for Div etc. */
- unsigned flags; /**< flags describing the behavior of the ir_op, a bitmaks of irop_flags */
-
- /* CallBacks */
- computed_value_func computed_value; /**< evaluates a node into a tarval if possible. */
- equivalent_node_func equivalent_node; /**< optimizes the node by returning an equivalent one. */
- transform_node_func transform_node; /**< optimizes the node by transforming it. */
- node_cmp_attr_func node_cmp_attr; /**< compares two node attributes. */
- reassociate_func reassociate; /**< reassociate a tree */
- copy_attr_func copy_attr; /**< copy node attributes */
- get_type_func get_type; /**< return the type of a node */
- verify_node_func verify_node; /**< verify the node */
- verify_proj_node_func verify_proj_node; /**< verify the Proj node */
- op_func generic; /**< a generic function */
-};