GCC Middle and Back End API Reference
|
Data Fields | |
class temp_slot * | next |
class temp_slot * | prev |
rtx | slot |
poly_int64 | size |
tree | type |
unsigned int | align |
bool | in_use |
int | level |
poly_int64 | base_offset |
poly_int64 | full_size |
In order to evaluate some expressions, such as function calls returning structures in memory, we need to temporarily allocate stack locations. We record each allocated temporary in the following structure. Associated with each temporary slot is a nesting level. When we pop up one level, all temporaries associated with the previous level are freed. Normally, all temporaries are freed after the execution of the statement in which they were created. However, if we are inside a ({...}) grouping, the result may be in a temporary and hence must be preserved. If the result could be in a temporary, we preserve it if we can determine which one it is in. If we cannot determine which temporary may contain the result, all temporaries are preserved. A temporary is preserved by pretending it was allocated at the previous nesting level.
unsigned int temp_slot::align |
Referenced by assign_stack_temp_for_type().
poly_int64 temp_slot::base_offset |
Referenced by assign_stack_temp_for_type(), combine_temp_slots(), and find_temp_slot_from_address().
poly_int64 temp_slot::full_size |
Referenced by assign_stack_temp_for_type(), combine_temp_slots(), and find_temp_slot_from_address().
bool temp_slot::in_use |
Referenced by assign_stack_temp_for_type(), make_slot_available(), and remove_unused_temp_slot_addresses_1().
int temp_slot::level |
class temp_slot* temp_slot::next |
class temp_slot* temp_slot::prev |
Referenced by insert_slot_to_list().
poly_int64 temp_slot::size |
Referenced by assign_stack_temp(), assign_stack_temp_for_type(), assign_temp(), and combine_temp_slots().
rtx temp_slot::slot |
Referenced by assign_stack_temp_for_type(), and combine_temp_slots().
tree temp_slot::type |
Referenced by assign_stack_temp_for_type().