libFirm
Primitive

Primitive types are types that represent atomic data values that map directly to modes. More...

Functions

ir_typenew_type_primitive (ir_mode *mode)
 Creates a new primitive type. More...
 
int is_Primitive_type (const ir_type *primitive)
 Returns true if a type is a primitive type. More...
 

Detailed Description

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.

Function Documentation

◆ is_Primitive_type()

int is_Primitive_type ( const ir_type primitive)

Returns true if a type is a primitive type.

◆ new_type_primitive()

ir_type* new_type_primitive ( ir_mode mode)

Creates a new primitive type.