libFirm
|
This module specifies the kinds of types available in firm. More...
Typedefs | |
typedef struct tp_op | tp_op |
A structure containing information about a kind of type. |
Enumerations | |
enum | tp_opcode { tpo_uninitialized = 0, tpo_class, tpo_struct, tpo_method, tpo_union, tpo_array, tpo_enumeration, tpo_pointer, tpo_primitive, tpo_code, tpo_none, tpo_unknown, tpo_last = tpo_unknown } |
An enum for the type kinds. More... |
Functions | |
const char * | get_tpop_name (const tp_op *op) |
Returns the string for the type opcode. | |
tp_opcode | get_tpop_code (const tp_op *op) |
Returns an enum for the type opcode. |
This module specifies the kinds of types available in firm.
They are called type opcodes. These include classes, structs, methods, unions, arrays, enumerations, pointers and primitive types. Special types with own opcodes are the id type, a type representing an unknown type and a type used to specify that something has no type.
A structure containing information about a kind of type.
A structure containing information about a kind of type. So far this is only the kind name, an enum for case-switching and some internal values.
enum tp_opcode |
An enum for the type kinds.
For each type kind exists a typecode to identify it.
Returns an enum for the type opcode.
op | The type opcode to get the enum from. |
const char* get_tpop_name | ( | const tp_op * | op | ) |
Returns the string for the type opcode.
op | The type opcode to get the string from. |