libFirm
|
Primitive types are types that represent atomic data values that map directly to modes. More...
Functions | |
ir_type * | new_type_primitive (ir_mode *mode) |
Creates a new primitive type. | |
ir_type * | new_d_type_primitive (ir_mode *mode, type_dbg_info *db) |
Creates a new primitive type with debug information. | |
int | is_Primitive_type (const ir_type *primitive) |
Returns true if a type is a primitive type. | |
ir_type * | get_primitive_base_type (const ir_type *tp) |
Returns the base type of a primitive (bitfield) type or NULL if none. | |
void | set_primitive_base_type (ir_type *tp, ir_type *base_tp) |
Sets the base type of a primitive (bitfield) type. | |
const tp_op * | get_tpop_primitive (void) |
Returns type opcode for primitive type. |
Variables | |
const tp_op * | type_primitive |
This type opcode marks that the corresponding type is a primitive type. |
Primitive types are types that represent atomic data values that map directly to modes.
They don't have private attributes. The important information they carry is held in the common mode field.
Returns the base type of a primitive (bitfield) type or NULL if none.
const tp_op* get_tpop_primitive | ( | void | ) |
Returns type opcode for primitive type.
int is_Primitive_type | ( | const ir_type * | primitive | ) |
Returns true if a type is a primitive type.
ir_type* new_d_type_primitive | ( | ir_mode * | mode, |
type_dbg_info * | db | ||
) |
Creates a new primitive type with debug information.
Sets the base type of a primitive (bitfield) type.
const tp_op* type_primitive |