libFirm
|
Functions | |
ir_type * | new_type_frame (void) |
Makes a new frame type. More... | |
int | is_frame_type (const ir_type *tp) |
Checks, whether a type is a frame type. More... | |
ir_type * | clone_frame_type (ir_type *type) |
Makes a clone of a frame type. More... | |
ir_entity * | frame_alloc_area (ir_type *frame_type, int size, unsigned alignment, int at_start) |
Allocate an area of size bytes aligned at alignment at the start or the end of a frame type. More... | |
Makes a clone of a frame type.
Sets entity links from old frame entities to new onces and vice versa.
Allocate an area of size bytes aligned at alignment at the start or the end of a frame type.
The frame type must already have a fixed layout.
frame_type | a frame type |
size | the size of the entity |
alignment | the alignment of the entity |
at_start | if true, put the area at the frame type's start, else at end |
int is_frame_type | ( | const ir_type * | tp | ) |
Checks, whether a type is a frame type.
ir_type* new_type_frame | ( | void | ) |
Makes a new frame type.
Frame types are class types, so all class access functions work. Frame types are not in the global list of types.