|
libFirm
|
Tests whether an object is an instance of a class-type. More...
Enumerations | |
| enum | n_InstOf { n_InstOf_store, n_InstOf_obj, n_InstOf_max = n_InstOf_obj } |
| Input numbers for InstOf node. More... | |
| enum | pn_InstOf { pn_InstOf_M, pn_InstOf_res, pn_InstOf_X_regular, pn_InstOf_X_except, pn_InstOf_max = pn_InstOf_X_except } |
| Projection numbers for result of InstOf node (use for Proj nodes) More... | |
Functions | |
| ir_node * | new_rd_InstOf (dbg_info *dbgi, ir_node *block, ir_node *irn_store, ir_node *irn_obj, ir_type *type) |
| Construct an InstOf node. | |
| ir_node * | new_r_InstOf (ir_node *block, ir_node *irn_store, ir_node *irn_obj, ir_type *type) |
| Construct an InstOf node. | |
| ir_node * | new_d_InstOf (dbg_info *dbgi, ir_node *irn_store, ir_node *irn_obj, ir_type *type) |
| Construct an InstOf node. | |
| ir_node * | new_InstOf (ir_node *irn_store, ir_node *irn_obj, ir_type *type) |
| Construct an InstOf node. | |
| int | is_InstOf (const ir_node *node) |
| Test if node is a InstOf. | |
| ir_node * | get_InstOf_store (const ir_node *node) |
| Returns store input of an InstOf node. | |
| void | set_InstOf_store (ir_node *node, ir_node *store) |
| Sets store input of an InstOf node. | |
| ir_node * | get_InstOf_obj (const ir_node *node) |
| Returns obj input of an InstOf node. | |
| void | set_InstOf_obj (ir_node *node, ir_node *obj) |
| Sets obj input of an InstOf node. | |
| ir_type * | get_InstOf_type (const ir_node *node) |
| Returns type attribute of an InstOf node. | |
| void | set_InstOf_type (ir_node *node, ir_type *type) |
| Sets type attribute of an InstOf node. | |
| ir_op * | get_op_InstOf (void) |
| Returns opcode for InstOf nodes. | |
Variables | |
| ir_op * | op_InstOf |
| InstOf opcode. | |
Tests whether an object is an instance of a class-type.
| enum pn_InstOf |
| ir_op* get_op_InstOf | ( | void | ) |
Returns opcode for InstOf nodes.
| int is_InstOf | ( | const ir_node * | node | ) |
Test if node is a InstOf.
Construct an InstOf node.
| dbgi | A pointer to debug information. |
| irn_store | memory dependency |
| irn_obj | pointer to object being queried |
| type | type to check ptr for |
Construct an InstOf node.
| irn_store | memory dependency |
| irn_obj | pointer to object being queried |
| type | type to check ptr for |
Construct an InstOf node.
| block | The IR block the node belongs to. |
| irn_store | memory dependency |
| irn_obj | pointer to object being queried |
| type | type to check ptr for |
| ir_node* new_rd_InstOf | ( | dbg_info * | dbgi, |
| ir_node * | block, | ||
| ir_node * | irn_store, | ||
| ir_node * | irn_obj, | ||
| ir_type * | type | ||
| ) |
Construct an InstOf node.
| dbgi | A pointer to debug information. |
| block | The IR block the node belongs to. |
| irn_store | memory dependency |
| irn_obj | pointer to object being queried |
| type | type to check ptr for |