Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
declNode::Storage_location Struct ReferenceActual Storage Type Storage Location.
More...
#include <ast.h>
List of all members.
Detailed Description
Actual Storage Type Storage Location.
This structure indicates where the data associated with this declaration will be stored. It is initially setup by the lir_gen_walker phase and may be modified by later phases.
Definition at line 787 of file ast.h.
Member Enumeration Documentation
|
- Enumeration values:
-
storageloc_unknown |
placeholder for invalid value |
storageloc_register |
data is stored in a register |
storageloc_stack |
data is stored on the stack |
storageloc_mem_global |
data is in the global static memory area |
storageloc_advanced |
data may be stored in different places at different times |
Definition at line 798 of file ast.h. |
Constructor & Destructor Documentation
declNode::Storage_location::Storage_location |
( |
|
) |
[inline] |
|
Member Data Documentation
Register declNode::Storage_location::_register
|
|
int declNode::Storage_location::_stack_offset
|
|
enum { ... } declNode::Storage_location::_type
|
|
|
If in a register, the register in which the data is stored.
Referenced by procNode::alloc_stack_local(), storage_alloc::assign_register(), LIR::DeclareLocal(), lir_gen_walker::gen_arg_decl(), lir_gen_walker::gen_global_decl(), lir_gen_walker::gen_local_decl(), lir_gen_walker::load_global_addr(), lir_gen_walker::load_global_value(), lir_gen_walker::load_global_var(), lir_gen_walker::load_stack_addr(), lir_gen_walker::load_stack_value(), lir_gen_walker::load_stack_var(), Storage_location(), lir_gen_walker::store_global(), and lir_gen_walker::store_stack(). |
The documentation for this struct was generated from the following file:
|