libFirm 1.20
|
Pointer types: More...
Functions | |
ir_type * | new_type_pointer (ir_type *points_to) |
Creates a new type pointer. | |
ir_type * | new_d_type_pointer (ir_type *points_to, type_dbg_info *db) |
Creates a new type pointer with debug information. | |
void | set_pointer_points_to_type (ir_type *pointer, ir_type *tp) |
Sets the type to which a pointer points to. | |
ir_type * | get_pointer_points_to_type (const ir_type *pointer) |
Returns the type to which a pointer points to. | |
int | is_Pointer_type (const ir_type *pointer) |
Returns true if a type is a pointer type. | |
ir_type * | find_pointer_type_to_type (ir_type *tp) |
Returns the first pointer type that has as points_to tp. | |
const tp_op * | get_tpop_pointer (void) |
Returns type opcode for pointer type. | |
Variables | |
const tp_op * | type_pointer |
This type opcode marks that the corresponding type is a pointer type. |
Pointer types:
Returns the first pointer type that has as points_to tp.
Not efficient: O(#types). If not found returns firm_unknown_type.
Returns the type to which a pointer points to.
const tp_op* get_tpop_pointer | ( | void | ) |
Returns type opcode for pointer type.
int is_Pointer_type | ( | const ir_type * | pointer | ) |
Returns true if a type is a pointer type.
ir_type* new_d_type_pointer | ( | ir_type * | points_to, |
type_dbg_info * | db | ||
) |
Creates a new type pointer with debug information.
Sets the type to which a pointer points to.
const tp_op* type_pointer |