| libFirm 1.20 | 
perform a high-level type cast More...
| Enumerations | |
| enum | n_Cast { n_Cast_op, n_Cast_max = n_Cast_op } | 
| Input numbers for Cast node.  More... | |
| Functions | |
| int | is_Cast_upcast (ir_node *node) | 
| Checks for upcast. | |
| int | is_Cast_downcast (ir_node *node) | 
| Checks for downcast. | |
| ir_node * | new_rd_Cast (dbg_info *dbgi, ir_node *block, ir_node *irn_op, ir_type *type) | 
| Construct a Cast node. | |
| ir_node * | new_r_Cast (ir_node *block, ir_node *irn_op, ir_type *type) | 
| Construct a Cast node. | |
| ir_node * | new_d_Cast (dbg_info *dbgi, ir_node *irn_op, ir_type *type) | 
| Construct a Cast node. | |
| ir_node * | new_Cast (ir_node *irn_op, ir_type *type) | 
| Construct a Cast node. | |
| int | is_Cast (const ir_node *node) | 
| Test if node is a Cast. | |
| ir_node * | get_Cast_op (const ir_node *node) | 
| Returns op input of a Cast node. | |
| void | set_Cast_op (ir_node *node, ir_node *op) | 
| Sets op input of a Cast node. | |
| ir_type * | get_Cast_type (const ir_node *node) | 
| Returns type attribute of a Cast node. | |
| void | set_Cast_type (ir_node *node, ir_type *type) | 
| Sets type attribute of a Cast node. | |
| ir_op * | get_op_Cast (void) | 
| Returns opcode for Cast nodes. | |
| Variables | |
| ir_op * | op_Cast | 
| Cast opcode. | |
perform a high-level type cast
| ir_op* get_op_Cast | ( | void | ) | 
Returns opcode for Cast nodes.
| int is_Cast | ( | const ir_node * | node | ) | 
Test if node is a Cast.
| int is_Cast_downcast | ( | ir_node * | node | ) | 
Checks for downcast.
Returns true if the Cast node casts a class type to a sub type. Works also for pointers to classes (recursively).
Needs typeinfo calculated.
| int is_Cast_upcast | ( | ir_node * | node | ) | 
Checks for upcast.
Returns true if the Cast node casts a class type to a super type. Works also for pointers to classes (recursively).
Needs typeinfo calculated.
Construct a Cast node.
| irn_op | operand | 
| type | target type of the case | 
Construct a Cast node.
| dbgi | A pointer to debug information. | 
| irn_op | operand | 
| type | target type of the case | 
Construct a Cast node.
| block | The IR block the node belongs to. | 
| irn_op | operand | 
| type | target type of the case | 
Construct a Cast node.
| dbgi | A pointer to debug information. | 
| block | The IR block the node belongs to. | 
| irn_op | operand | 
| type | target type of the case |