#include "be_symtab.h"#include "pu_info.h"#include "cxx_memory.h"

Go to the source code of this file.
Data Types | |
| type | match_inito_by_st |
Functions/Subroutines | |
| void | BE_symtab_initialize_be_scopes (void) |
| void | BE_symtab_free_be_scopes (void) |
| void | BE_symtab_alloc_scope_level (const SYMTAB_IDX level) |
| BOOL | ST_is_const_initialized (const ST *st) |
| BOOL | ST_is_const_initialized_scalar (const ST *st, INT64 offset, TCON &tcon_copy) |
| INITV_IDX | ST_has_initv (const ST *st) |
| INITV_IDX | ST_is_const_and_has_initv (const ST *st) |
Variables | |
| BE_SCOPE * | Be_scope_tab |
| BE_SYMBOL_TABLE | Be_symbol_table |
| BE_PREG_TAB | Be_preg_tab |
| static SYMTAB_IDX | next_level = 0 |
| static MEM_POOL | Be_symtab_pool |
| void BE_symtab_alloc_scope_level | ( | const SYMTAB_IDX | level | ) |
Definition at line 69 of file be_symtab.cxx.
References BE_SCOPE::be_st_tab, CXX_DELETE_ARRAY, CXX_NEW, CXX_NEW_ARRAY, i, next_level, and NULL.
Referenced by BE_Current_Init(), BE_Symtab_Initialize(), IPA_Preoptimize(), main(), and Preprocess_PU().
Definition at line 62 of file be_symtab.cxx.
References MEM_POOL_Delete(), and MEM_POOL_Pop.
Referenced by BE_Symtab_Finalize(), and main().
Definition at line 55 of file be_symtab.cxx.
References FALSE, MEM_POOL_Initialize, and MEM_POOL_Push.
Referenced by BE_Symtab_Initialize(), and main().
Definition at line 285 of file be_symtab.cxx.
References For_all_until(), Inito_Table, INITO_val(), ST_IDX_level(), ST_is_initialized, ST_st_idx, and ST_type.
Referenced by ALIAS_CLASSIFICATION::Classify_deref_of_expr(), OPT_STAB::Count_syms(), OPT_STAB::Enter_symbol(), and ST_is_const_and_has_initv().
Definition at line 311 of file be_symtab.cxx.
References BE_ST_unknown_const(), FALSE, Is_True, ST_has_initv(), and ST_is_const_initialized().
Referenced by CGTARG_TN_For_Asm_Operand(), and COPYPROP::Prop_const_init_scalar().
Definition at line 94 of file be_symtab.cxx.
References BE_ST_unknown_const(), CLASS_VAR, FALSE, SCLASS_EXTERN, ST_class, ST_is_const_var, ST_is_initialized, ST_name, ST_sclass, ST_type, strncmp(), TRUE, and TY_is_volatile.
Referenced by OPT_STAB::Count_syms(), OPT_STAB::Enter_symbol(), ST_is_const_and_has_initv(), ST_is_const_initialized_scalar(), and OPT_STAB::Update_attr_cache().
Definition at line 165 of file be_symtab.cxx.
References base, BE_ST_unknown_const(), BOOL, FALSE, FmtAssert, For_all_until(), FOREACH_INITV, Host_To_Targ(), Host_To_Targ_Float(), initialized, Inito_Table, INITO_val(), INITV_blk(), INITV_kind(), Initv_Table, INITV_tc(), INITVKIND_BLOCK, INITVKIND_ONE, INITVKIND_VAL, INITVKIND_ZERO, INT, Is_Simple_Type(), Is_True, KIND_ARRAY, L, mtype, MTYPE_I1, MTYPE_I2, MTYPE_I4, MTYPE_is_integral, ST_base, ST_base_idx(), ST_IDX_level(), ST_init_value_zero, ST_is_const_initialized(), ST_is_initialized, ST_st_idx, ST_type, Tcon_Table, TRUE, TY_etype, TY_kind, TY_mtype, TY_size, and TYPE_ID.
Referenced by Is_constant_global(), and COPYPROP::Prop_const_init_scalar().
Definition at line 48 of file be_symtab.cxx.
Referenced by Early_Terminate(), IPA_Preoptimize(), and Preorder_Process_PUs().
Definition at line 44 of file be_symtab.cxx.
Referenced by BE_Current_Fini(), BE_Current_Init(), BE_Symtab_Finalize(), BE_Symtab_Initialize(), Early_Terminate(), IPA_Preoptimize(), main(), Postprocess_PU(), and Preprocess_PU().
Definition at line 46 of file be_symtab.cxx.
MEM_POOL Be_symtab_pool [static] |
Definition at line 52 of file be_symtab.cxx.
SYMTAB_IDX next_level = 0 [static] |
Definition at line 50 of file be_symtab.cxx.
Referenced by BE_symtab_alloc_scope_level(), and GRA_LOOP::Make_Loop_Nest().
1.5.6