![]() |
libFirm
|
Functions | |
ir_type * | new_type_union (ident *name) |
Creates a new type union. | |
size_t | get_union_n_members (const ir_type *uni) |
Returns the number of unioned types of this union. | |
ir_entity * | get_union_member (const ir_type *uni, size_t pos) |
Returns the entity at position pos of a union. | |
size_t | get_union_member_index (ir_type const *uni, ir_entity const *member) |
Returns index of member in uni, -1 if not contained. | |
int | is_Union_type (const ir_type *uni) |
Returns true if a type is a union type. | |
The union type represents union types. Note that this representation resembles the C union type. For tagged variant types like in Pascal or Modula, a combination of a struct and a union type must be used.
Returns the entity at position pos of a union.
Returns index of member in uni, -1 if not contained.
size_t get_union_n_members | ( | const ir_type * | uni | ) |
Returns the number of unioned types of this union.
int is_Union_type | ( | const ir_type * | uni | ) |
Returns true if a type is a union type.