Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <list>
#include "segmented_array.h"
#include "cmplr_segmented_array.h"
#include "symtab_idx.h"
#include "mtypes.h"
#include "targ_const.h"
#include "strtab.h"
#include "irbdata_defs.h"
#include "symtab_defs.h"
#include "symtab_verify.h"
#include "symtab_access.h"
#include "symtab_utils.h"
#include "symtab_compatible.h"
Go to the source code of this file.
#define Reset_STB_compiler_layout | ( | s | ) | (Reset_STB_flags (s, BLK_COMPILER_LAYOUT)) |
#define Reset_STB_decrement | ( | s | ) | (Reset_STB_flags (s, BLK_DECREMENT)) |
Definition at line 710 of file symtab.h.
Referenced by Set_Direction().
#define Reset_STB_exec | ( | s | ) | (Reset_STB_flags (s, BLK_EXEC)) |
#define Reset_STB_is_basereg | ( | s | ) | (Reset_STB_flags (s, BLK_IS_BASEREG)) |
#define Reset_STB_merge | ( | s | ) | (Reset_STB_flags (s, BLK_MERGE)) |
#define Reset_STB_nobits | ( | s | ) | (Reset_STB_flags (s, BLK_NOBITS)) |
#define Reset_STB_root_base | ( | s | ) | (Reset_STB_flags (s, BLK_ROOT_BASE)) |
#define Reset_STB_section | ( | s | ) | (Reset_STB_flags (s, BLK_SECTION)) |
#define Set_STB_compiler_layout | ( | s | ) | (Set_STB_flags (s, BLK_COMPILER_LAYOUT)) |
#define Set_STB_decrement | ( | s | ) | (Set_STB_flags (s, BLK_DECREMENT)) |
Definition at line 709 of file symtab.h.
Referenced by Create_And_Set_ST_Base(), and Set_Direction().
#define Set_STB_exec | ( | s | ) | (Set_STB_flags (s, BLK_EXEC)) |
Definition at line 721 of file symtab.h.
Referenced by Get_Section_ST().
#define Set_STB_is_basereg | ( | s | ) | (Set_STB_flags (s, BLK_IS_BASEREG)) |
Definition at line 718 of file symtab.h.
Referenced by Create_Base_Reg(), and Get_Section_ST().
#define Set_STB_merge | ( | s | ) | (Set_STB_flags (s, BLK_MERGE)) |
Definition at line 727 of file symtab.h.
Referenced by Get_Section_ST().
#define Set_STB_nobits | ( | s | ) | (Set_STB_flags (s, BLK_NOBITS)) |
Definition at line 724 of file symtab.h.
Referenced by Get_Section_ST().
#define Set_STB_root_base | ( | s | ) | (Set_STB_flags (s, BLK_ROOT_BASE)) |
Definition at line 715 of file symtab.h.
Referenced by Create_Base_Reg(), and Get_Section_ST().
#define Set_STB_section | ( | s | ) | (Set_STB_flags (s, BLK_SECTION)) |
Definition at line 712 of file symtab.h.
Referenced by Get_Section_ST().
#define STB_compiler_layout | ( | s | ) | (STB_is_set (s, BLK_COMPILER_LAYOUT)) |
#define STB_decrement | ( | s | ) | (STB_is_set (s, BLK_DECREMENT)) |
Definition at line 708 of file symtab.h.
Referenced by Allocate_Space(), Assign_Offset(), and Get_Direction().
#define STB_is_basereg | ( | s | ) | (STB_is_set (s, BLK_IS_BASEREG)) |
Definition at line 717 of file symtab.h.
Referenced by ST_Verify_Fields().
#define STB_nobits | ( | s | ) | (STB_is_set (s, BLK_NOBITS)) |
#define STB_root_base | ( | s | ) | (STB_is_set (s, BLK_ROOT_BASE)) |
#define STB_section | ( | s | ) | (STB_is_set (s, BLK_SECTION)) |
Definition at line 711 of file symtab.h.
Referenced by Get_Section_ST_With_Given_Name(), and ST_Block_Merge().
void ARB_Init | ( | ARB_HANDLE | arb_h, |
INT64 | lbnd, | ||
INT64 | ubnd, | ||
INT64 | stride | ||
) | [inline] |
Definition at line 458 of file symtab.h.
References ARB_CONST_LBND, ARB_CONST_STRIDE, ARB_CONST_UBND, ARB::co_dimension, ARB::dimension, ARB_HANDLE::Entry(), ARB::flags, ARB::lbnd_val, stride, ARB::stride_val, ARB::u1, ARB::u2, ARB::u3, ARB::ubnd_val, and ARB::unused.
Referenced by cwh_types_array_temp_TY(), cwh_types_array_util(), DRA_EC_Declare_Types(), fei_array_dimen(), fei_co_array_dimen(), Fill_Structure_Type(), Make_Array_Type(), and Stab_Array_Of().
UINT ARB_Table_Size | ( | ) | [inline] |
Definition at line 471 of file symtab.h.
References Arb_Table, and SEGMENTED_ARRAY< T, block_size >::Size().
Referenced by ARB_Verify_all(), Stab_finalize(), Stab_initialize(), and TY::Verify().
TCON_IDX Enter_tcon | ( | const TCON & | tcon | ) |
Definition at line 3215 of file symtab.cxx.
References SEGMENTED_ARRAY< T, block_size >::Insert(), MTYPE_F4, MTYPE_F8, Tcon_Table, and TCON_ty.
Referenced by cwh_stab_const_ST(), fei_addr_con(), fei_arith_con(), Gen_String_Sym(), INITV_Init_Float(), INITV_Init_Integer(), INITV_Init_String(), Irb_Init_Integer_Of_Type(), Irb_Init_String(), Make_Const(), and TCON_from_stack().
void FLD_Init | ( | FLD_HANDLE | f, |
STR_IDX | _name, | ||
TY_IDX | _type, | ||
UINT64 | _ofst | ||
) | [inline] |
Definition at line 431 of file symtab.h.
References FLD::bofst, FLD::bsize, FLD_HANDLE::Entry(), FLD::flags, FLD::name_idx, FLD::ofst, FLD::st, and FLD::type.
Referenced by cwh_types_fld_util(), cwh_types_form_misaligned_TY(), DRA_EC_Declare_Types(), fei_member(), and Fill_Structure_Type().
UINT FLD_Table_Size | ( | ) | [inline] |
Definition at line 443 of file symtab.h.
References Fld_Table, and SEGMENTED_ARRAY< T, block_size >::Size().
Referenced by Stab_finalize(), Stab_initialize(), and TY::Verify().
PU& Get_Current_PU | ( | ) | [inline] |
Definition at line 301 of file symtab.h.
References Current_pu, CURRENT_SYMTAB, Pu_Table, Scope_tab, and ST_pu().
Referenced by Adjust_Opt_Level(), Allocate_All_Formals(), Allocate_Entry_Formal(), Backend_Processing(), Calc_Formal_Area(), Choose_Stack_Model(), Configure_Source(), Create_Slink_Symbol(), cwh_directive_set_LNO_flags(), cwh_directive_set_PU_flags(), cwh_stab_distrib_pragmas(), cwh_stmt_init_srcpos(), cwh_stmt_return_altentry(), cwh_stmt_return_scalar(), Do_WOPT_and_CG_with_Regions(), DRA_Clone_Instantiate(), DRA_Processing(), fei_object(), fei_proc_parent(), Finalize_Stack_Frame(), Find_Insertion_Point(), fix_tree(), Formal_Sym(), Initialize_Stack_Frame(), Insert_Alloca(), LNO_Processing(), MemCtr_Add(), IPO_CLONE::New_Clone(), Preorder_Process_PUs(), Preprocess_PU(), Rail(), ST2F_func_header(), ST_is_private_local(), ST_is_uplevelTemp(), Whirl2Src_Emit(), Whirl2Src_Init(), Whirl2Src_Translate_Iload_Str(), Whirl2Src_Translate_Istore_Str(), WN2F_Exit_PU_Block(), WN2F_interface_blk(), WN2F_return(), WN_CreateComma(), WN_CreateMstore(), WN_CreateRcomma(), WN_CreateRegion(), WN_CreateSwitch(), and WN_Rrotate().
ST* Get_Current_PU_ST | ( | ) | [inline] |
Definition at line 295 of file symtab.h.
References CURRENT_SYMTAB, Scope_tab, and SCOPE::st.
Referenced by Backend_Processing(), Calculate_Stack_Frame_Sizes(), Ipl_Processing(), and Merge_Fixed_Stack_Frame().
PU& Get_Scope_PU | ( | UINT | level | ) | [inline] |
BOOL Has_Base_Block | ( | const ST * | s | ) | [inline] |
Definition at line 214 of file symtab.h.
References ST_base_idx(), and ST_st_idx().
Referenced by Allocate_File_Statics(), Allocate_Object(), cwh_addr_address_ST(), cwh_dst_mk_formal(), cwh_dst_mk_var(), cwh_dst_mk_variable(), cwh_io_ST_base(), cwh_stab_adjust_base_name(), fei_object(), fei_section_gp(), fei_section_nongp(), fei_task_var(), WN2F_emit_commons::operator()(), ST2C_weakext_translate(), St_Belongs_In_Varlist(), and Write_Sclass().
BOOL Has_Strong_Symbol | ( | const ST * | s | ) | [inline] |
Definition at line 219 of file symtab.h.
References s, SCLASS_EXTERN, ST_is_weak_symbol(), ST_sclass(), and ST_strong().
void Init_Constab | ( | void | ) |
Definition at line 3231 of file symtab.cxx.
References idx, Initialize_TCON_strtab(), SEGMENTED_ARRAY< T, block_size >::Insert(), Is_True, MAX_PREDEFINED_TCON_IDX, MTYPE_F4, MTYPE_F8, SEGMENTED_ARRAY< T, block_size >::Size(), and Tcon_Table.
Referenced by Initialize_Symbol_Tables().
UINT INITO_Table_Size | ( | SYMTAB_IDX | level | ) | [inline] |
Definition at line 228 of file symtab.h.
References SCOPE::inito_tab, Scope_tab, and SEGMENTED_ARRAY< T, block_size >::Size().
Referenced by INITV_index(), Verify_GLOBAL_SYMTAB(), and Verify_LOCAL_SYMTAB().
INITV_IDX INITV_index | ( | SYMTAB_IDX | level, |
ST_IDX | st | ||
) | [inline] |
Definition at line 239 of file symtab.h.
References init, Inito_Table, INITO_Table_Size(), INITV_Table_Size(), INITO::st_idx, and INITO::val.
UINT INITV_Table_Size | ( | ) | [inline] |
Definition at line 236 of file symtab.h.
References Initv_Table, and SEGMENTED_ARRAY< T, block_size >::Size().
Referenced by INITV_index(), INITO::Verify(), and Verify_GLOBAL_SYMTAB().
BOOL Is_Composite_Type | ( | const TY & | ty | ) | [inline] |
Definition at line 406 of file symtab.h.
References FALSE, KIND_ARRAY, KIND_STRUCT, TRUE, and TY_kind().
Referenced by Adjusted_Alignment(), and Is_Composite_Type().
BOOL Is_Composite_Type | ( | TY_IDX | ty | ) | [inline] |
Definition at line 417 of file symtab.h.
References Is_Composite_Type(), and Ty_Table.
BOOL Is_Global_Symbol | ( | const ST * | s | ) | [inline] |
Definition at line 618 of file symtab.h.
References GLOBAL_SYMTAB, and ST_level().
Referenced by Common_Variable(), Create_And_Set_ST_Base(), Fill_Align_Symbol(), Global_Variable(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), St_Block_Union(), and ST_is_uplevelTemp().
BOOL Is_Local_Symbol | ( | const ST * | s | ) | [inline] |
Definition at line 621 of file symtab.h.
References CURRENT_SYMTAB, and ST_level().
Referenced by Allocate_Space(), and ST_is_uplevelTemp().
BOOL Is_Simple_Type | ( | const TY & | ty | ) | [inline] |
Definition at line 381 of file symtab.h.
References FALSE, KIND_POINTER, KIND_SCALAR, KIND_VOID, TRUE, and TY_kind().
Referenced by Is_Simple_Type(), and ST_is_const_initialized_scalar().
BOOL Is_Simple_Type | ( | TY_IDX | ty | ) | [inline] |
Definition at line 393 of file symtab.h.
References Is_Simple_Type(), and Ty_Table.
BOOL Is_Structure_Type | ( | const TY & | ty | ) | [inline] |
Definition at line 397 of file symtab.h.
References KIND_STRUCT, and TY_kind().
Referenced by Adjusted_Alignment(), and Is_Structure_Type().
BOOL Is_Structure_Type | ( | TY_IDX | ty | ) | [inline] |
Definition at line 402 of file symtab.h.
References Is_Structure_Type(), and Ty_Table.
void LABEL_Init | ( | LABEL & | label, |
STR_IDX | name_idx, | ||
LABEL_KIND | kind | ||
) | [inline] |
Definition at line 496 of file symtab.h.
References LABEL::flags, LABEL::kind, kind, and LABEL::name_idx.
Referenced by fei_label(), and WN_Rename_Duplicate_Labels().
char* LABEL_name | ( | LABEL_IDX | idx | ) | [inline] |
UINT32 LABEL_Table_Size | ( | SYMTAB_IDX | level | ) | [inline] |
Definition at line 504 of file symtab.h.
References SCOPE::label_tab, Scope_tab, and RELATED_SEGMENTED_ARRAY< T, block_size >::Size().
Referenced by Verify_LOCAL_SYMTAB(), and WN_Tree_Has_Duplicate_Labels().
ARB_HANDLE New_ARB | ( | ) | [inline] |
Definition at line 450 of file symtab.h.
References Arb_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by cwh_types_array_temp_TY(), cwh_types_array_util(), DRA_EC_Declare_Types(), fei_array_dimen(), fei_co_array_dimen(), Fill_Structure_Type(), Initialize_Symbol_Tables(), Make_Array_Type(), and Stab_Array_Of().
Definition at line 628 of file symtab.h.
References Blk_Table, BLK::Init(), and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by Initialize_Symbol_Tables(), and New_ST_Block().
FLD_HANDLE New_FLD | ( | ) | [inline] |
Definition at line 423 of file symtab.h.
References Fld_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by cwh_types_fld_util(), cwh_types_form_misaligned_TY(), DRA_EC_Declare_Types(), fei_get_pdg_type(), fei_user_type(), Fill_Structure_Type(), and Initialize_Symbol_Tables().
LABEL& New_LABEL | ( | SYMTAB_IDX | scope, |
LABEL_IDX & | label_idx | ||
) | [inline] |
Definition at line 486 of file symtab.h.
References LABEL::flags, SCOPE::label_tab, LKIND_DEFAULT, RELATED_SEGMENTED_ARRAY< T, block_size >::New_entry(), Scope_tab, Set_LABEL_KIND(), and Set_LABEL_name_idx().
Referenced by cwh_io_create_new_label(), cwh_stmt_assigned_goto(), cwh_stmt_computed_goto(), cwh_stmt_select_case_char(), fei_label(), fei_new_select_case(), and WN_Rename_Duplicate_Labels().
PREG& New_PREG | ( | SYMTAB_IDX | scope, |
PREG_IDX & | p | ||
) | [inline] |
Definition at line 523 of file symtab.h.
References New_PREG_explicit(), and Scope_tab.
PREG& New_PREG_explicit | ( | SCOPE * | scope_tab, |
SYMTAB_IDX | scope, | ||
PREG_IDX & | p | ||
) | [inline] |
Definition at line 517 of file symtab.h.
References RELATED_SEGMENTED_ARRAY< T, block_size >::New_entry(), and SCOPE::preg_tab.
Referenced by Create_Preg_explicit(), and New_PREG().
Definition at line 257 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::New_entry(), and Pu_Table.
Referenced by cwh_stab_mk_pu(), Declare_Func_N_Arg(), Declare_Function(), DRA_Add_Clone(), DRA_Mangle_Call_Site(), Gen_Intrinsic_Function(), and Initialize_Symbol_Tables().
ST* New_ST | ( | SYMTAB_IDX | level | ) | [inline] |
Definition at line 88 of file symtab.h.
References idx, make_ST_IDX(), RELATED_SEGMENTED_ARRAY< T, block_size >::New_entry(), s, Scope_tab, Set_ST_st_idx(), and SCOPE::st_tab.
Referenced by Create_All_Preg_Symbols(), Create_Global_Array_ST(), Create_Local_ST(), cwh_stab_address_temp_ST(), cwh_stab_altentry_temp(), cwh_stab_common_ST(), cwh_stab_mk_fn_0args(), cwh_stab_module_ST(), cwh_types_formal_util(), Declare_Func_N_Arg(), Declare_Function(), DRA_Add_Clone(), DRA_Finalize(), fei_gen_st_for_type(), fei_interface(), fei_namelist(), fei_object(), fei_proc_def(), fei_proc_interface(), fei_rename_list(), fei_seg(), fei_smt_parameter(), fei_user_type(), Gen_Intrinsic_Function(), Gen_Temp_Named_Symbol(), Initialize_Stack_Frame(), Initialize_Upc_Vars(), New_Const_Sym(), New_ST(), New_ST_Block(), Rewrite_Structs_In_MPRegion(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), and WN_CreateComment().
Definition at line 97 of file symtab.h.
References CURRENT_SYMTAB, and New_ST().
ST_ATTR& New_ST_ATTR | ( | SYMTAB_IDX | scope, |
ST_ATTR_IDX & | p | ||
) | [inline] |
Definition at line 562 of file symtab.h.
References New_ST_ATTR_explicit(), and Scope_tab.
ST_ATTR& New_ST_ATTR_explicit | ( | SCOPE * | scope_tab, |
SYMTAB_IDX | scope, | ||
ST_ATTR_IDX & | p | ||
) | [inline] |
Definition at line 556 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::New_entry(), and SCOPE::st_attr_tab.
Referenced by New_ST_ATTR().
Definition at line 322 of file symtab.h.
References idx, make_TY_IDX(), SEGMENTED_ARRAY< T, block_size >::New_entry(), and Ty_tab.
Referenced by Create_Special_Global_Symbols(), Create_Special_Shared_Global_Symbols(), cwh_types_new_TY(), Declare_Func_N_Arg(), Declare_Function(), DRA_EC_Declare_Types(), Fill_Structure_Type(), Initialize_Symbol_Tables(), Initialize_Upc_Types(), Make_Array_Type(), Make_Function_Type(), make_ptr_type(), Make_Shared_Type(), Stab_Array_Of(), and WN2F_String_Argument().
TYLIST& New_TYLIST | ( | TYLIST_IDX & | tylist | ) | [inline] |
Definition at line 477 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::New_entry(), and Tylist_Table.
Referenced by cwh_auxst_set_tylist(), cwh_types_mk_procedure_TY(), Initialize_Symbol_Tables(), and Make_Function_Type().
UINT32 PREG_Table_Size | ( | SYMTAB_IDX | level | ) | [inline] |
Definition at line 534 of file symtab.h.
References PREG_Table_Size_explicit(), and Scope_tab.
Referenced by Adjust_Opt_Level(), ir_put_wn(), and Verify_LOCAL_SYMTAB().
UINT32 PREG_Table_Size_explicit | ( | SCOPE * | scope_tab, |
SYMTAB_IDX | level | ||
) | [inline] |
Definition at line 529 of file symtab.h.
References SCOPE::preg_tab, and RELATED_SEGMENTED_ARRAY< T, block_size >::Size().
Referenced by PREG_Table_Size(), and Reset_PREG_Table_Size_explicit().
BOOL PU_ftn_lang | ( | const PU & | pu | ) | [inline] |
Definition at line 281 of file symtab.h.
References PU_f77_lang(), and PU_f90_lang().
Referenced by PU::Verify().
BOOL PU_has_nested | ( | const PU & | pu | ) | [inline] |
Definition at line 277 of file symtab.h.
References PU_has_mp(), and PU_uplevel().
Referenced by Choose_Stack_Model(), Finalize_Stack_Frame(), and WN2F_End_Routine_Strings().
void PU_Init | ( | PU & | pu, |
TY_IDX | prototype, | ||
SYMTAB_IDX | level | ||
) | [inline] |
Definition at line 260 of file symtab.h.
References PU::flags, GLOBAL_SYMTAB, PU::gp_group, Is_True, PU::lexical_level, PU::prototype, PU_UNKNOWN_LANG, Set_PU_need_unparsed(), PU::src_lang, PU::target_idx, TARGET_INFO_IDX_ZERO, and PU::unused.
Referenced by cwh_stab_mk_pu(), Declare_Func_N_Arg(), and Gen_Intrinsic_Function().
SYMTAB_IDX PU_lexical_level | ( | const ST * | st | ) | [inline] |
Definition at line 285 of file symtab.h.
References CLASS_FUNC, CLASS_NAME, Is_True, Pu_Table, ST_asm_function_st(), ST_pu(), and ST_sym_class().
Referenced by Change_Type_To_Shared(), cwh_dst_enter_pu(), cwh_stab_set_symtab(), fei_proc_parent(), Find_Slink_For_Scope(), Free_Local_Info(), ir_b2a_process_PUs(), Postprocess_PU(), Preprocess_PU(), Print_local_symtab(), Read_Local_Info(), Restore_Local_Symtab(), Save_Local_Symtab(), PU::Verify(), WN2F_Exit_PU_Block(), and WN_write_symtab().
UINT PU_Table_Size | ( | ) | [inline] |
Definition at line 274 of file symtab.h.
References Pu_Table, and SEGMENTED_ARRAY< T, block_size >::Size().
Referenced by ST_Verify_Fields().
void Reset_PREG_Table_Size | ( | SYMTAB_IDX | level, |
UINT32 | size | ||
) | [inline] |
Definition at line 547 of file symtab.h.
References Reset_PREG_Table_Size_explicit(), and Scope_tab.
void Reset_PREG_Table_Size_explicit | ( | SCOPE * | scope_tab, |
SYMTAB_IDX | level, | ||
UINT32 | size | ||
) | [inline] |
Definition at line 539 of file symtab.h.
References RELATED_SEGMENTED_ARRAY< T, block_size >::Delete_last(), Is_True, SCOPE::preg_tab, PREG_Table_Size_explicit(), and size.
Referenced by Reset_PREG_Table_Size().
void Reset_ST_ATTR_Table_Size | ( | SYMTAB_IDX | level, |
UINT32 | size | ||
) | [inline] |
Definition at line 594 of file symtab.h.
References Reset_ST_ATTR_Table_Size_explicit(), and Scope_tab.
void Reset_ST_ATTR_Table_Size_explicit | ( | SCOPE * | scope_tab, |
SYMTAB_IDX | level, | ||
UINT32 | size | ||
) | [inline] |
Definition at line 586 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::Delete_last(), Is_True, size, SCOPE::st_attr_tab, and ST_ATTR_Table_Size_explicit().
Referenced by Reset_ST_ATTR_Table_Size().
void Reset_STB_flags | ( | ST * | s, |
UINT16 | flags | ||
) | [inline] |
void Set_ST_base | ( | ST & | s, |
ST & | base | ||
) | [inline] |
Definition at line 163 of file symtab.h.
References ST::base_idx, and ST_st_idx().
Referenced by Add_Object_To_Frame_Segment(), Allocate_All_Formals(), Allocate_File_Statics(), Assign_Object_To_Frame_Segment(), Assign_Object_To_Section(), Assign_ST_To_Named_Section(), Create_And_Set_ST_Base(), cwh_stab_altentry_temp(), cwh_stab_altres_offset(), cwh_stab_common_ST(), cwh_stab_emit_split(), cwh_stab_module_ST(), cwh_stab_split_ST(), DRA_Add_Clone(), DRA_Mangle_Call_Site(), DRA_Mangle_Entry(), fei_allocate(), fei_gen_st_for_type(), fei_object(), fei_proc_imp(), fei_seg(), fei_smt_parameter(), fei_user_type(), Fill_Align_Symbol(), Finalize_Stack_Frame(), Initialize_Stack_Frame(), Merge_Fixed_Stack_Frame(), and ST_Block_Merge().
void Set_ST_classes | ( | ST * | s, |
ST_CLASS | c, | ||
ST_SCLASS | sc | ||
) | [inline] |
Definition at line 119 of file symtab.h.
References c, ST_Verify_Class_Sclass(), ST::storage_class, and ST::sym_class.
void Set_STB_align | ( | ST * | s, |
UINT | align | ||
) | [inline] |
Definition at line 660 of file symtab.h.
References Blk_Table, ST_blk(), and TY_log_base2().
Referenced by Allocate_Space(), New_ST_Block(), and St_Block_Union().
void Set_STB_flags | ( | ST * | s, |
UINT16 | flags | ||
) | [inline] |
Definition at line 701 of file symtab.h.
References Blk_Table, and ST_blk().
Referenced by Copy_ST_Block().
void Set_STB_scninfo_idx | ( | ST * | s, |
UINT16 | scn | ||
) | [inline] |
Definition at line 689 of file symtab.h.
References Blk_Table, and ST_blk().
Referenced by Copy_ST_Block().
void Set_STB_section_idx | ( | ST * | s, |
UINT16 | sec | ||
) | [inline] |
Definition at line 681 of file symtab.h.
References Blk_Table, and ST_blk().
Referenced by Copy_ST_Block(), and Get_Section_ST().
void Set_STB_size | ( | ST * | s, |
UINT64 | size | ||
) | [inline] |
Definition at line 641 of file symtab.h.
References Blk_Table, and ST_blk().
Referenced by Add_Object_To_Frame_Segment(), Allocate_Space(), Merge_Fixed_Stack_Frame(), New_ST_Block(), Reset_UPFORMAL_Segment(), and St_Block_Union().
void ST_ATTR_Init | ( | ST_ATTR & | st_attr, |
ST_IDX | st_idx, | ||
ST_ATTR_KIND | akind, | ||
UINT32 | val | ||
) | [inline] |
Definition at line 568 of file symtab.h.
References ST_ATTR::kind, ST_ATTR::st_idx, ST_ATTR::u, val, and ST_ATTR::value.
UINT32 ST_ATTR_Table_Size | ( | SYMTAB_IDX | level | ) | [inline] |
Definition at line 581 of file symtab.h.
References Scope_tab, and ST_ATTR_Table_Size_explicit().
Referenced by Allocate_File_Statics(), Verify_GLOBAL_SYMTAB(), and Verify_LOCAL_SYMTAB().
UINT32 ST_ATTR_Table_Size_explicit | ( | SCOPE * | scope_tab, |
SYMTAB_IDX | level | ||
) | [inline] |
Definition at line 576 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::Size(), and SCOPE::st_attr_tab.
Referenced by Reset_ST_ATTR_Table_Size_explicit(), and ST_ATTR_Table_Size().
Definition at line 166 of file symtab.h.
References ST_base_idx(), and St_Table.
Referenced by Base_Symbol_And_Offset(), Base_Symbol_And_Offset_For_Addressing(), IPO_CLONE::Clone_Tree(), Collect_Goodies(), cwh_addr_address_ST(), cwh_addr_pstid(), cwh_addr_pstore_ST(), cwh_addr_stid(), cwh_addr_store_ST(), cwh_dst_mk_dope_bound(), cwh_dst_mk_formal(), cwh_dst_mk_var(), cwh_io_ST_base(), cwh_stab_adjust_base_name(), cwh_stab_altentry_TY(), cwh_stab_altres_offset(), cwh_stab_altres_offset_comp(), cwh_stab_seen_derived_type_or_imported_var(), cwh_stmt_return_altentry(), cwh_stmt_return_scalar(), DRA_Add_Clone(), DRA_Collect_Commons(), DRA_Mangle_Entry(), DRA_Process_Commons(), DRA_Process_Globals(), fei_object(), fei_return(), fei_section_gp(), fei_section_nongp(), fei_static_base(), fei_task_var(), Fill_Align_Symbol(), Get_Array_Type(), get_base_and_offset(), get_lda_info(), Is_VLA(), Local_Variable(), MemCtr_Add(), MemCtr_Add_Common(), build_type_mod_map::operator()(), IPO_SYMTAB::fix_base< T >::operator()(), write_st::operator()(), set_derived_ty_based_on_st::operator()(), ST2C_weakext_translate(), ST2F_decl_parameter(), ST2F_decl_var(), ST2F_use_var(), St_Belongs_In_Varlist(), ST_Block_Merge(), ST_is_const_initialized_scalar(), Stab_Is_Based_At_Common_Or_Equivalence(), Stab_Is_Valid_Base(), Trace_Stack_Segments(), WN2C_lvalue_st(), WN2F_Offset_Symref(), and Write_Sclass().
Definition at line 160 of file symtab.h.
References ST_mtype().
Definition at line 139 of file symtab.h.
References St_Table.
Referenced by W2CF_TRANSLATOR::_Array_Segment_To_String(), W2CF_TRANSLATOR::_Clause_Symbols_To_String(), ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives(), Access_vector_is_too_messy(), Adjusted_Alignment(), Allocate_File_Statics(), Allocate_Space(), Append_A_Clause_Symbol(), Append_Distribution(), Append_Nest_Clauses(), Assign_ST_To_Named_Section(), WN_Verifier::CALL_parent_LDID(), Can_Be_Immediate(), Change_Type_To_Shared(), Create_And_Set_ST_Base(), cwh_addr_address_ST(), cwh_addr_f90_pointer_reference(), cwh_addr_load_ST(), cwh_addr_pstore_ST(), cwh_addr_store_ST(), cwh_dst_process_var(), cwh_stab_earlier_hosted(), cwh_stmt_call_helper(), DRA_Collect_Commons(), DRA_Finalize(), DRA_Process_Globals(), DRA_Read_Pragmas_In_Block(), fei_doloop(), Fill_Align_Symbol(), Finalize_Stack_Frame(), IPO_CLONE::Fix_ST(), Get_Original_Type(), ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range(), Get_Section_ST_With_Given_Name(), Initialize_Stack_Frame(), INITV2C_symoff(), ir_put_st(), ir_put_wn(), Is_Allocated(), Is_Exp_Linexable(), is_f90_pointer(), Is_String_Literal(), LINEX::Map_access_vector(), MemCtr_Add(), New_Const_Sym(), ANL_PRAGMA_ATTRIBUTE::Next_Stmt(), build_type_mod_map::operator()(), write_st::operator()(), set_derived_ty_based_on_st::operator()(), WN2F_emit_commons::operator()(), pad_global_arrays::operator()(), ST::Print(), Print_INITV(), Process_Stack_Variable(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_expr(), Shorten_Section(), simp_cvt(), SIMPNODE_GetDefinition(), ST2C_basic_decl(), ST_Block_Merge(), St_Idx_Is_Intconst(), ST_is_const_initialized(), ST_is_uplevelTemp(), ST_pu_defined(), ST_size(), ST_Verify_Fields(), WN_Verifier::STID_check_st_class(), Uses_Small_Offset(), Verify_addr_saved_expr(), W2F_Translate_Stid_Lhs(), Whirl_Symbol_Type(), WN2C_Append_Symtab_Vars(), WN2F_Function_Call_Lhs(), WN2F_io_control(), WN2F_Is_Address_Preg(), WN2F_lda(), WN2F_ldid(), WN2F_pstid(), WN2F_return(), WN2F_stid(), WN_Create_Shared_Store(), WN_CreatePStid(), WN_CreateStid(), WN_Lda(), and WN_set_st_addr_saved().
Definition at line 175 of file symtab.h.
References ST::base_idx, FmtAssert, ST_is_split_common(), and St_Table.
Referenced by WN2C_lvalue_st(), and WN2F_Offset_Symref().
Definition at line 211 of file symtab.h.
References ST_IDX_index(), and ST_st_idx().
Referenced by Allocate_File_Statics(), DRA_Mangle_All(), IPO_SYMTAB::Get_ST(), ir_put_st(), and IPO_SYMTAB::Is_Cloned_ST().
Definition at line 101 of file symtab.h.
References ST::base_idx, CLASS_PARAMETER, CLASS_VAR, ST::export_class, ST::flags, ST::flags_ext, ST::name_idx, ST::offset, Set_ST_keep_name_w2f(), ST::st_idx, ST::storage_class, ST::sym_class, ST::type, ST::u1, and ST::u2.
Referenced by Create_All_Preg_Symbols(), Create_Global_Array_ST(), Create_Local_ST(), cwh_stab_address_temp_ST(), cwh_stab_altentry_temp(), cwh_stab_common_ST(), cwh_stab_mk_fn_0args(), cwh_stab_module_ST(), cwh_types_formal_util(), Declare_Func_N_Arg(), Declare_Function(), DRA_Add_Clone(), DRA_Finalize(), fei_gen_st_for_type(), fei_interface(), fei_namelist(), fei_object(), fei_proc_def(), fei_proc_interface(), fei_rename_list(), fei_seg(), fei_smt_parameter(), fei_user_type(), Gen_Intrinsic_Function(), Gen_Temp_Named_Symbol(), Initialize_Stack_Frame(), Initialize_Upc_Vars(), New_Const_Sym(), New_ST_Block(), Rewrite_Structs_In_MPRegion(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), and WN_CreateComment().
BOOL ST_is_export_local | ( | const ST * | s | ) | [inline] |
Definition at line 191 of file symtab.h.
References EXPORT_LOCAL, EXPORT_LOCAL_INTERNAL, and ST_export().
BOOL ST_is_preemptible | ( | const ST * | s | ) | [inline] |
Definition at line 185 of file symtab.h.
References EXPORT_OPTIONAL, EXPORT_PREEMPTIBLE, and ST_export().
Referenced by Base_Symbol_And_Offset_For_Addressing(), and Shorten_Section().
SYMTAB_IDX ST_level | ( | const ST * | s | ) | [inline] |
Definition at line 209 of file symtab.h.
References ST_IDX_level(), and ST_st_idx().
Referenced by Access_vector_is_too_messy(), IPO_SYMTAB::Clone_INITVs_For_EH(), Copy_ST(), Copy_ST_Block(), Copy_ST_No_Base(), cwh_auxst_find(), cwh_directive_fill_align(), cwh_types_mk_element(), DRA_Add_Clone(), fei_object(), Find_Slink_For_ST(), IPO_CLONE::Fix_ST(), Get_Original_Type(), IPO_SYMTAB::Get_ST(), INIT2F_Get_Initv_Array(), ir_put_st(), IPO_SYMTAB::Is_Cloned_ST(), Is_Exp_Linexable(), Is_Global_Symbol(), Is_Local_Symbol(), Prompf_Emit_Whirl_to_Source(), Set_ST_formal_ref_base(), and ST_Verify_Fields().
Definition at line 156 of file symtab.h.
References ST_type(), TY_mtype(), and Ty_Table.
Referenced by ST_btype().
Definition at line 136 of file symtab.h.
References St_Table.
Referenced by W2CF_TRANSLATOR::_Get_Ftn_Name(), Add_Object_To_Frame_Segment(), Add_Pragma_To_MP_Regions(), Allocate_File_Statics(), Allocate_Space(), Assign_Object_To_Frame_Segment(), Assign_Object_To_Section(), Assign_ST_To_Named_Section(), Calc_Local_Area(), cleanUpPUInfo(), Common_Variable(), Copy_ST_No_Base(), Create_And_Set_ST_Base(), cwh_auxst_dump(), cwh_auxst_dump_dummies(), cwh_auxst_dump_list(), cwh_auxst_find_item(), cwh_dst_mk_common(), cwh_dst_mk_formal(), cwh_dst_mk_func(), cwh_dst_mk_MAIN(), cwh_dst_mk_var(), cwh_dst_mk_variable(), cwh_stab_adjust_base_name(), cwh_stab_adjust_name(), cwh_stab_dump_FIELDS(), cwh_stab_earlier_common(), cwh_stab_earlier_hosted(), cwh_stab_seen_common_element(), cwh_stab_seen_derived_type_or_imported_var(), cwh_stab_split_ST(), cwh_stats_print(), cwh_stmt_call_helper(), cwh_types_mk_element(), Do_WOPT_and_CG_with_Regions(), DRA_EC_Array_Portion_Parms(), DRA_Mangle_Call_Site(), DRA_Mangle_Entry(), DRA_Preprocess_Call_Site(), DRA_Preprocess_Entry(), DRA_Process_Commons(), DRA_Process_Globals(), DRA_Read_Pragmas_In_Block(), DST_enter_cloned_subroutine(), emit_inits_for_symbol(), fei_allocate(), fei_nseq_subscr(), fei_object(), fei_proc_def(), fei_seq_subscr(), Fill_Align_Symbol(), Find_Alloca(), Find_Insertion_Point(), Find_Section_Name_For_ST(), Find_Slink_For_ST(), find_stmt(), Find_Upc_Vars(), findEquivFldNm(), Formal_Position(), Formal_Sym(), Get_Altentry_UpFormal_Symbol(), IPO_CLONE::Get_Func_Name(), Get_Orig_PU_Name(), Get_Section_ST_With_Given_Name(), GetStSet(), GetTmpVarTransInfo(), haveCommonBlockName(), Host_Format_Parm(), Initialize_Stack_Frame(), Initialize_Upc_Metadata(), Insert_Call(), IVAR::IPA_LNO_Print_File(), ir_put_st(), ir_put_wn(), ir_sel(), main(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), New_DRA(), is_slink_sym::operator()(), matches_pu_ty_and_name::operator()(), is_return_address::operator()(), write_st::operator()(), W2CF_TRANSLATOR::Original_Symname_To_String(), PARAMETER2F_translate(), PDGCS_do_proc(), Postprocess_PU(), Preorder_Process_PUs(), Preprocess_PU(), INITO::Print(), IVAR::Print(), ST::Print(), ST_ATTR::Print(), Print_INITV(), Print_local_symtab(), process_func(), process_pu(), process_stab(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_expr(), Set_up_all_preg_symbols(), data_info_s::sort_data(), ST2C_Get_Common_Block_Name(), ST2C_Get_Common_Ty2c_List(), ST2C_New_Common_Block(), ST2F_decl_func(), ST2F_decl_parameter(), ST2F_decl_var(), ST2F_use_block(), ST2F_use_var(), St_Block_Union(), WN_Verifier::ST_is_not_NULL(), ST_Verify_Fields(), Stab_Full_Split_Offset(), Stab_Reserved_St(), Symbol_Name(), Trace_Stack_Segments(), TY2F_Append_Array_Bnd_Ph(), Verify_addr_saved_expr(), W2CF_Dump_Symbol(), W2CF_Symtab_Nameof_St(), IVAR::WB_Print(), Whirl_Symbol_Type(), WN2C_altentry(), WN2C_Append_Symtab_Vars(), WN2C_block(), WN2C_lda(), WN2C_lvalue_st(), WN2F_call(), WN2F_Get_Named_Param(), WN2F_interface_blk(), WN2F_ldid(), WN2F_process_pragma(), WN2F_return(), WN2F_stid(), WN_asm_input_constraint(), WN_asm_string(), WN_pragma_asm_constraint(), and WN_Rename_Duplicate_Labels().
TY_IDX ST_pu_type | ( | const ST * | s | ) | [inline] |
Definition at line 199 of file symtab.h.
References CLASS_FUNC, CLASS_NAME, Is_True, PU_prototype(), Pu_Table, ST_asm_function_st(), ST_pu(), ST_sym_class(), and ST::sym_class.
Referenced by Allocate_All_Formals(), Append_CallSite(), Calc_Formal_Area(), Change_Type_To_Shared(), Check_Actual_Stack_Size(), cwh_addr_address_ST(), cwh_auxst_set_tylist(), INITV2C_symoff(), Max_Arg_Area_Bytes(), Merge_Fixed_Stack_Frame(), enter_st::operator()(), matches_pu_ty_and_name::operator()(), ST2C_basic_decl(), ST2C_func_header(), ST2F_decl_func(), ST2F_func_header(), WN2C_Append_Symtab_Vars(), WN2C_call(), WN2C_lda(), WN2C_lvalue_st(), WN2F_call(), WN2F_Infix_Op(), WN2F_interface_blk(), and WN_Lda().
Definition at line 142 of file symtab.h.
References St_Table.
Referenced by Access_vector_is_too_messy(), Add_Object_To_Frame_Segment(), Adjusted_Alignment(), Allocate_File_Statics(), Allocate_Label(), Allocate_Object(), Allocate_Temp_To_Memory(), Assign_Object_To_Frame_Segment(), Assign_Object_To_Section(), Assign_ST_To_Named_Section(), Base_Symbol_And_Offset_For_Addressing(), Calc_Local_Area(), IPO_SYMTAB::Clone_INITVs_For_EH(), Collect_Goodies(), Common_Variable(), Copy_ST_Block(), Create_And_Set_ST_Base(), cwh_addr_address_ST(), cwh_addr_load_ST(), cwh_addr_pstore_ST(), cwh_addr_store_ST(), cwh_auxst_add_dummy(), cwh_data_set_init_flag(), cwh_dst_dope_bounds(), cwh_dst_mk_dope_bound(), cwh_dst_mk_formal(), cwh_dst_mk_var(), cwh_dst_mk_variable(), cwh_io_ioitem(), cwh_io_ST_base(), cwh_stab_adjust_base_name(), cwh_stab_distrib_pragmas(), cwh_stmt_call_helper(), cwh_types_mk_element(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Finalize(), DRA_Process_Commons(), DRA_Process_Globals(), DRA_Read_Pragmas_In_Block(), Exp_To_Linex_Array(), fei_copy_in(), fei_doloop(), fei_dv_deref(), fei_nseq_subscr(), fei_object(), fei_return(), fei_section_gp(), fei_section_nongp(), fei_smt_parameter(), fei_static_base(), fei_task_var(), Fill_Align_Symbol(), Formal_Position(), Formal_ST_type(), Formal_Sym(), Get_Array_Type(), get_lda_info(), Get_ST_formal_ref_base(), Global_Variable(), Has_Strong_Symbol(), Initialize_Stack_Frame(), Is_Allocated(), Is_Exp_Linexable(), Is_VLA(), LDA_Equal_Address(), Local_Variable(), MemCtr_Add(), New_Const_Sym(), New_DRA(), IPO_SYMTAB::fix_table_entry< T >::operator()(), IPO_SYMTAB::promote_entry< T >::operator()(), IPO_SYMTAB::fix_base< T >::operator()(), write_st::operator()(), set_derived_ty_based_on_st::operator()(), WN2F_emit_commons::operator()(), pad_global_arrays::operator()(), Process_Stack_Variable(), Set_ST_base_idx(), Set_ST_export(), Set_ST_strong_idx(), ST2C_basic_decl(), ST2C_decl_var(), ST2C_formal_ref_decl(), ST2C_func_header(), ST2C_use_var(), ST2F_decl_func(), ST2F_decl_var(), ST2F_Is_Dummy_Procedure(), ST2F_use_var(), ST_base_idx(), St_Block_Union(), ST_has_formal_preg_num(), ST_is_uplevelTemp(), ST_on_stack(), ST_pu_defined(), ST_strong_idx(), ST_Verify_Fields(), ST_Verify_Flags(), ST_Verify_Sclass_Export(), Stab_External_Def_Linkage(), Stab_External_Linkage(), Stab_Is_Common_Block(), Stab_Is_Equivalence_Block(), STAB_IS_POINTER_REF_PARAM(), Stab_No_Linkage(), STAB_PARAM_HAS_IMPLICIT_LENGTH(), WN_Verifier::STID_check_st_class(), TY2F_Append_Array_Bnd_Ph(), Update_EHRegion_Inito(), Uses_Small_Offset(), W2C_Enter_Global_Symbols(), WN2C_Append_Purple_Funcinfo(), WN2C_Append_Symtab_Vars(), WN2C_iload(), WN2C_istore(), WN2C_lda(), WN2C_ldid(), WN2C_stid(), WN2F_Append_Purple_Funcinfo(), WN2F_Append_Purple_Xsym(), WN2F_array(), WN2F_arrsection(), WN2F_io_list(), WN2F_ldid(), WN2F_Offset_Symref(), and Write_Sclass().
Definition at line 169 of file symtab.h.
References ST::base_idx, FmtAssert, ST_is_weak_symbol(), and St_Table.
Referenced by Has_Strong_Symbol(), and ST2C_weakext_translate().
UINT32 ST_Table_Size | ( | SYMTAB_IDX | level | ) | [inline] |
Definition at line 130 of file symtab.h.
References Scope_tab, RELATED_SEGMENTED_ARRAY< T, block_size >::Size(), and SCOPE::st_tab.
Referenced by Adjust_Opt_Level(), Set_up_all_preg_symbols(), INITO::Verify(), ST_ATTR::Verify(), Verify_GLOBAL_SYMTAB(), and Verify_LOCAL_SYMTAB().
TCON& ST_tcon_val | ( | const ST * | s | ) | [inline] |
Definition at line 181 of file symtab.h.
References ST_tcon(), and Tcon_Table.
Referenced by cwh_dst_mk_const(), and WN_val().
Definition at line 146 of file symtab.h.
References St_Table, TY_is_f90_pointer(), and TY_pointed().
Referenced by Accumulate_Expr_PUinfo(), Add_Object_To_Frame_Segment(), Adjusted_Alignment(), Allocate_All_Formals(), Allocate_File_Statics(), Allocate_Object(), Append_A_Clause_Symbol(), Append_Implicit_Locals(), Append_Nest_Clauses(), Array_Element_Then_Struct(), Calc_Local_Area(), Change_Type_To_Shared(), Collect_Goodies(), cwh_addr_address_ST(), cwh_addr_load_ST(), cwh_addr_pstore_ST(), cwh_addr_store_ST(), cwh_addr_substr_util(), cwh_auxst_add_dummy(), cwh_auxst_find_dummy_len(), cwh_dope_initialize(), cwh_dst_mk_common(), cwh_dst_mk_const(), cwh_dst_mk_dope_bound(), cwh_dst_mk_formal(), cwh_dst_mk_var(), cwh_dst_mk_variable(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_ioitem(), cwh_io_split_io_items(), cwh_io_ST_base(), cwh_stab_altentry_TY(), cwh_stab_altres_offset(), cwh_stab_altres_offset_comp(), cwh_stab_const(), cwh_stab_distrib_pragmas(), cwh_stab_formal_ref(), cwh_stab_full_split(), cwh_stab_split_common(), cwh_stab_split_ST(), cwh_stmt_call_helper(), cwh_stmt_return_scalar(), cwh_types_character_extra(), cwh_types_mk_element(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Insert_Pragmas(), DRA_Process_Commons(), DRA_Process_Globals(), emit_inits_for_symbol(), Enter_Local_Syms_Into_Symtab(), fei_as_ref(), fei_constant(), fei_control_list(), fei_doloop(), fei_dv_deref(), fei_imported_type(), fei_nseq_subscr(), fei_object(), fei_pstore(), fei_push_pattern_con(), fei_redistribute(), fei_return(), fei_seg(), fei_seq_subscr(), fei_set_dv_hdr_fld(), fei_static_base(), fei_store(), Fill_Align_Symbol(), Find_INITO_For_Symbol(), Formal_ST_type(), Formal_Sym(), Gen_Call_Array(), Gen_Free_Cart(), Gen_Malloc_Cart(), Get_Array_Dim_Size(), Get_Original_Type(), INIT2F_ptr_or_scalar(), INIT2F_Translate_Array_Ref(), INIT2F_Translate_Char_Ref(), INITO2C_translate(), INITO2F_translate(), INITV2C_symoff(), INITVKIND_symoff(), INITVKIND_ty(), Insert_Alloca(), IPA_LNO_SUMMARY_GLOBAL::Is_Scalar(), Is_String_Literal(), Is_VLA(), Known_Size(), Machine_Type(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), MemCtr_Criteria_Check(), New_DRA(), change_type_op< T >::operator()(), enter_st::operator()(), build_type_mod_map::operator()(), write_st::operator()(), set_derived_ty_based_on_st::operator()(), pad_global_arrays::operator()(), PARAMETER2F_translate(), Process_Stack_Variable(), Projected_Region_From_St(), Promoted_Parm_Type(), ReorderParms(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_up_all_preg_symbols(), Setup_Preg_Pointers(), Shorten_Section(), SIMPNODE_SimplifyExp2_h(), ST2C_basic_decl(), ST2C_formal_ref_decl(), ST2C_func_header(), ST2C_Get_Common_Block_Name(), ST2C_New_Common_Block(), ST2F_decl_parameter(), ST2F_decl_type(), ST2F_decl_var(), ST2F_deref_translate(), ST2F_Is_Dummy_Procedure(), ST2F_use_const(), ST2F_use_var(), ST_has_initv(), ST_is_const_initialized(), ST_is_const_initialized_scalar(), ST_mtype(), ST_size(), ST_Verify_Fields(), Stab_Is_Common_Block(), Stab_Is_Equivalence_Block(), STAB_IS_POINTER_REF_PARAM(), STAB_PARAM_HAS_IMPLICIT_LENGTH(), ST_ATTR::Verify(), W2F_Translate_Stid_Lhs(), Weird_Array_Element(), WN2C_Append_Preg(), WN2C_Append_Symtab_Vars(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2C_lda(), WN2C_ldid(), WN2C_Load_From_PregIdx(), WN2C_lvalue_st(), WN2C_stid_lhs(), WN2F_call(), WN2F_const(), WN2F_Function_Call_Lhs(), WN2F_implied_do(), WN2F_interface_blk(), WN2F_Is_Address_Preg(), WN2F_lda(), WN2F_ldid(), WN2F_Offset_Memref(), WN2F_Offset_Symref(), WN2F_pstid(), WN2F_return(), WN2F_stid(), WN2F_translate_purple_main(), WN2F_Translate_StringLEN(), WN_Create_Shared_Store(), WN_IloadLdid(), WN_Lda(), WN_LdidPreg(), and WN_StidIntoPreg().
Definition at line 645 of file symtab.h.
References Blk_Table, Is_True, ST_blk(), and TY_ALIGN.
Referenced by Adjusted_Alignment(), Allocate_Space(), Copy_ST_Block(), St_Block_Union(), Trace_Stack_Segments(), and WN_Lda().
Definition at line 693 of file symtab.h.
References Blk_Table, and ST_blk().
Referenced by Copy_ST_Block().
BOOL STB_is_set | ( | const ST * | s, |
UINT16 | flags | ||
) | [inline] |
UINT16 STB_scninfo_idx | ( | const ST * | s | ) | [inline] |
Definition at line 685 of file symtab.h.
References Blk_Table, and ST_blk().
Referenced by Copy_ST_Block().
UINT16 STB_section_idx | ( | const ST * | s | ) | [inline] |
Definition at line 677 of file symtab.h.
References Blk_Table, and ST_blk().
Referenced by Assign_ST_To_Named_Section(), Copy_ST_Block(), and Get_Section_ST_With_Given_Name().
Definition at line 637 of file symtab.h.
References Blk_Table, SEGMENTED_ARRAY< T, block_size >::Size(), and ST_blk().
Referenced by Add_Object_To_Frame_Segment(), Allocate_Space(), Assign_Offset(), Copy_ST_Block(), Finalize_Stack_Frame(), Merge_Fixed_Stack_Frame(), Process_Stack_Variable(), ST_size(), and Trace_Stack_Segments().
UINT32 TCON_Table_Size | ( | ) | [inline] |
Definition at line 610 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::Size(), and Tcon_Table.
Referenced by ST_Verify_Fields(), and Verify_GLOBAL_SYMTAB().
Definition at line 331 of file symtab.h.
References TY::etype, TY::flags, TY::fld, TY::kind, KIND_FUNCTION, TY::mtype, TY::name_idx, s, TY::size, TY_Verify_Kind_Function(), TY_Verify_Kind_Mtype(), TY::u1, and TY::u2.
Referenced by Create_Special_Global_Symbols(), Create_Special_Shared_Global_Symbols(), cwh_types_array_util(), cwh_types_mk_character_TY(), cwh_types_mk_f90_pointer_ty(), cwh_types_mk_logical_TY(), cwh_types_mk_misaligned_TY(), cwh_types_mk_procedure_TY(), cwh_types_mk_struct(), cwh_types_mk_unique_pointer_TY(), Declare_Func_N_Arg(), Declare_Function(), DRA_EC_Declare_Types(), fei_user_type(), Fill_Structure_Type(), Initialize_Upc_Types(), Make_Array_Type(), Make_Function_Type(), make_ptr_type(), Make_Shared_Type(), Stab_Array_Of(), and WN2F_String_Argument().
Definition at line 356 of file symtab.h.
References Ty_Table.
Referenced by Add_Object_To_Frame_Segment(), Adjust_Field_Offset(), Adjust_Type_Size(), Adjusted_Alignment(), Adjusted_Type_Size(), Array_Element_Then_Struct(), Array_Is_HFA(), Array_TY_OK(), cancel_in_relop(), Collect_Goodies(), Construct_Fld_Path(), cwh_addr_address_ST(), cwh_addr_adjust_array(), cwh_addr_compute_stride_fudge_factor(), cwh_addr_ldid(), cwh_addr_load_ST(), cwh_addr_load_WN(), cwh_addr_mk_ldid(), cwh_addr_pstore_ST(), cwh_addr_pstore_WN(), cwh_addr_stid(), cwh_addr_store_ST(), cwh_addr_store_WN(), cwh_addr_substr_util(), cwh_cray_type_from_TY(), cwh_do_tranformational(), cwh_dope_get_dope_fudge_factor(), cwh_dst_dope_type(), cwh_dst_has_dope(), cwh_dst_is_character_TY(), cwh_dst_mk_common(), cwh_dst_mk_const(), cwh_dst_mk_dope_bound(), cwh_dst_mk_formal(), cwh_dst_mk_type(), cwh_dst_stride_kind(), cwh_dst_struct_has_DST(), cwh_inline_allocate(), cwh_io_ioitem(), cwh_io_split_io_items(), cwh_io_ST_base(), cwh_stab_altentry_TY(), cwh_stab_altres_offset(), cwh_stab_distrib_pragmas(), cwh_stab_formal_ref(), cwh_stab_split_common(), cwh_stmt_call_helper(), cwh_stmt_return_scalar(), cwh_types_array_TY(), cwh_types_contains_dope(), cwh_types_dope_basic_TY(), cwh_types_dope_dims_FLD(), cwh_types_dope_TY(), cwh_types_form_misaligned_TY(), cwh_types_is_character_function(), cwh_types_is_dope(), cwh_types_mk_misaligned_TY(), cwh_types_scalar_TY(), cwh_types_size_WN(), cwh_types_WN_TY(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Encode_Parameter(), DRA_New_Clone_Sig(), DRA_Preprocess_Call_Site(), DRA_Preprocess_Entry(), DRA_Process_Globals(), DRA_Read_Pragmas_In_Block(), Equivalent_Types(), fei_control_list(), fei_object(), fei_redistribute(), fei_return(), fei_set_dv_hdr_fld(), fei_static_base(), fei_static_member(), fei_static_subscripts(), WN_Verifier::Field_id_valid(), Fill_Align_Symbol(), Fix_TY_mtype(), FLD_get_to_field(), Get_Access_Consistency(), Get_Array_Type(), Get_Field_Type(), Get_Inner_Array_Type(), Get_Parameter_Location(), Get_PU_arg_area_size(), get_TY_string(), Get_Type_Block_Size(), Get_Type_Inner_Size(), INIT2F_array(), INIT2F_structured(), INIT2F_substring(), Initialize_Special_Global_Symbols(), Invalid_Pointer_Map_Entry(), Is_Composite_Type(), Is_Float_Type(), IPA_LNO_SUMMARY_GLOBAL::Is_Scalar(), Is_Simple_Type(), Is_String_Literal(), Is_Structure_Type(), Is_VLA(), Known_Size(), WN_Verifier::LDA_ty_not_NULL(), Machine_Type(), Make_Function_Type(), Make_Shared_Type(), Need_StoP_Cvt(), New_DRA(), update_pointer_map::operator()(), enter_fld::operator()(), pad_global_arrays::operator()(), Predefined_Void_Type(), ST::Print(), Projected_Region_From_St(), Promoted_Parm_Type(), ReorderParms(), Rewrite_Pragmas_On_Structs(), Set_PU_arg_area_size(), Setup_Parameter_Locations(), ST2C_basic_decl(), ST2F_decl_var(), ST2F_Declare_Return_Type(), ST2F_func_header(), ST2F_Is_Dummy_Procedure(), ST2F_use_var(), Stab_Compare_Types(), Struct_Has_One_Float(), Struct_Has_Two_Floats(), Struct_Is_HFA(), TY2C_array(), TY2C_builtin(), TY2C_invalid(), TY2C_Output_Struct_Type(), TY2C_translate(), TY2C_translate_unqualified(), TY2F_2_struct(), TY2F_array(), TY2F_array_for_pointer(), TY2F_Get_Fld_Path(), TY2F_invalid(), TY2F_is_character(), TY2F_pointer(), TY2F_Purple_Assumed_Sized_Array(), TY2F_scalar(), TY2F_struct(), TY2F_translate(), TY2F_Translate_ArrayElt(), TY2F_Translate_Common(), TY2F_Translate_Equivalence(), TY2F_Translate_Structure(), TY2F_void(), TY_are_equivalent(), TY_hash_func(), TY_Is_Array(), TY_Is_Complex(), TY_Is_Function(), TY_Is_Pointer(), TY_is_pshared(), TY_Is_Quad(), TY_Is_Scalar(), TY_Is_Struct(), TY_Is_Structured(), TY_Is_Union(), TY_is_unique(), TY_kind_name(), TY_parms(), TY_ret_type(), TY_To_Sptr_Idx(), Type_Is_Shared_Ptr(), Types_Are_Equiv(), Upc_Lower_SymbolTable(), W2F_Outfile_Translate_Pu(), Weird_Array_Element(), WN2C_Append_Assignment(), WN2C_call(), WN2C_funcall_op(), WN2C_Function_Call_Lhs(), WN2C_ldid(), WN2C_return(), WN2C_translate_purple_main(), WN2F_array(), WN2F_call(), WN2F_End_Routine_Strings(), WN2F_Exit_PU_Block(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_Funcall_Op(), WN2F_Function_Call_Lhs(), WN2F_iload(), WN2F_interface_blk(), WN2F_io_control(), WN2F_ios_definefile(), WN2F_Is_Address_Preg(), WN2F_istore(), WN2F_ldid(), WN2F_Offset_Memref(), WN2F_Offset_Symref(), WN2F_return(), WN2F_stid(), WN2F_strctfld(), WN2F_String_Argument(), WN2F_translate_purple_main(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_get_tld_type(), WN_object_ty(), WN_Tree_Type(), and Write_Typedef().
Definition at line 359 of file symtab.h.
References Ty_Table.
Referenced by W2CF_TRANSLATOR::A_Pragma_Expr_To_String(), Accumulate_Preg_Info(), Add_Object_To_Frame_Segment(), addr_gen_iload_for_strctfld(), Append_A_Clause_Symbol(), Append_Nest_Clauses(), Array_Is_HFA(), cwh_addr_iload(), cwh_addr_istore(), cwh_addr_ldid(), cwh_addr_pstid(), cwh_addr_pstore(), cwh_addr_pstore_ST(), cwh_addr_stid(), cwh_addr_store_ST(), cwh_ceiling_floor(), cwh_cray_type_from_TY(), cwh_do_tranformational(), cwh_dope_get_dope_fudge_factor(), cwh_dope_initialize(), cwh_dst_basetype(), cwh_dst_mk_const(), cwh_dst_stride_kind(), cwh_expr_binop(), cwh_expr_binop_shift(), cwh_expr_compare_bitwise(), cwh_expr_compare_char(), cwh_expr_unop(), cwh_funny_fp_intrinsic(), cwh_intrin_popcnt_leadz_helper(), cwh_io_split_io_items(), cwh_stab_altentry_TY(), cwh_stab_altres_offset(), cwh_stab_altres_offset_comp(), cwh_stab_const(), cwh_stmt_append_truebr(), cwh_stmt_call_helper(), cwh_stmt_falsebr(), cwh_stmt_return_altentry(), cwh_stmt_return_scalar(), cwh_stmt_truebr(), cwh_types_mk_f90_pointer_ty(), cwh_types_mk_misaligned_TY(), cwh_types_mk_procedure_TY(), cwh_types_shared_dope(), do_simple(), DRA_Insert_Pragmas(), Equivalent_Types(), fei_abs(), fei_addr_con(), fei_arith_con(), fei_arith_goto(), fei_array_construct(), fei_bneg(), fei_doloop(), fei_dot_product(), fei_exponent(), fei_exponentiate(), fei_ibits(), fei_ieee_sign_xfer(), fei_ieee_trunc(), fei_imag(), fei_logb(), fei_matmul(), fei_mvbits(), fei_object(), fei_ranf(), fei_return(), fei_round(), fei_rtc(), fei_trunc(), Fix_TY_mtype(), Formal_Sym(), Get_Array_Dim_Size(), Get_Return_Info(), get_TY_string(), Initialize_Special_Global_Symbols(), INITVKIND_const(), INITVKIND_val(), Is_Float_Type(), Is_String_Literal(), Machine_Type(), Make_Shared_Type(), update_pointer_map::operator()(), Predefined_Void_Type(), W2CF_TRANSLATOR::Prefetch_Attributes_To_String(), Promoted_Parm_Type(), PUinfo_Is_Preg_Declared(), PUinfo_Preg_Type(), PUinfo_Set_Preg_Declared(), Select_Best_Fld_Path(), Set_up_all_preg_symbols(), Spill_And_Take_Address(), Spill_Shared_Load(), ST2F_Declare_Return_Type(), ST2F_func_header(), ST2F_use_const(), ST_is_const_initialized_scalar(), ST_mtype(), Stab_Compare_Types(), Struct_Has_One_Float(), Struct_Has_Two_Floats(), Struct_Is_HFA(), TCON_from_stack(), TY2C_builtin(), TY2C_get_field_info(), TY2C_scalar(), TY2C_translate(), TY2F_array(), TY2F_array_for_pointer(), TY2F_scalar(), TY_are_equivalent(), TY_array_hash(), TY_fun_hash(), TY_hash_func(), TY_Is_Array_Of_UChars(), TY_Is_Character_Reference(), TY_Is_Character_String(), TY_Is_Complex(), TY_Is_Integral(), TY_is_pshared(), TY_Is_Quad(), TY_Is_String(), TY_kind_name(), TY_Of_Expr(), WN2C_Append_Preg(), WN2C_Append_Symtab_Vars(), WN2C_based_lvalue(), WN2C_compgoto(), WN2C_create_ref_param_lda(), WN2C_Function_Call_Lhs(), WN2C_intrinsic_op(), WN2C_lda(), WN2C_ldid(), WN2C_switch(), WN2C_Value_Reference(), WN2F_call(), WN2F_cvtl(), WN2F_interface_blk(), WN2F_Is_Address_Preg(), WN2F_ldid(), WN2F_recip(), WN2F_translate_purple_main(), WN_Convert_Shared_To_Local(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), WN_Create_Shared_Store(), WN_Create_StoP_Cvt(), WN_intrinsic_return_to_param(), and WN_SetNull_Sptr().
Definition at line 362 of file symtab.h.
References Ty_Table.
Referenced by Construct_Fld_Path(), cwh_auxst_dump_dummies(), cwh_dst_array_type(), cwh_dst_struct_type(), cwh_dst_substring_type(), cwh_load_distribute_temp(), cwh_types_form_misaligned_TY(), cwh_types_is_dope(), cwh_types_mk_misaligned_TY(), ir_put_ty(), is_upcr_ptr(), Make_Shared_Type(), TY_shared::operator()(), ST::Print(), Print_TY_IDX_verbose(), process_stab(), ST2F_use_var(), Stab_Reserved_Ty(), TY2C_Output_Struct_Type(), TY2C_scalar(), TY2F_Pointer_To_Dope(), TY2F_scalar(), W2CF_Dump_Symbol(), W2CF_Symtab_Nameof_Ty(), and WN2C_ldid().
TYLIST_IDX TY_parms | ( | const TY & | ty | ) | [inline] |
Definition at line 373 of file symtab.h.
References Is_True, KIND_FUNCTION, TY_kind(), and TY_tylist().
Referenced by ST2C_func_header(), Stab_Compare_Types(), TY2C_function(), TY_parms(), and WN2C_call().
TYLIST_IDX TY_parms | ( | const TY_IDX | ty_idx | ) | [inline] |
Definition at line 378 of file symtab.h.
References TY_parms(), and Ty_Table.
TY_IDX TY_ret_type | ( | const TY & | ty | ) | [inline] |
Definition at line 365 of file symtab.h.
References Is_True, KIND_FUNCTION, TY_kind(), TY_tylist(), and Tylist_Table.
Referenced by cwh_stmt_call_helper(), Unparse_Target_FTN::Func_Return_Character(), Unparse_Target_C::Func_Return_To_Param(), Unparse_Target_C::Func_Return_Type(), Unparse_Target_FTN::Func_Return_Type(), WN_Verifier::Is_return_register_of_call(), Setup_Parameter_Locations(), TY_ret_type(), WN2C_Append_Symtab_Vars(), and WN2F_Infix_Op().
TY_IDX TY_ret_type | ( | const TY_IDX | ty_idx | ) | [inline] |
Definition at line 370 of file symtab.h.
References TY_ret_type(), and Ty_Table.
Definition at line 353 of file symtab.h.
References Ty_Table.
Referenced by Adjusted_Type_Size(), Allocate_File_Statics(), Calc_Actual_Area(), Construct_Fld_Path(), cwh_addr_array(), cwh_addr_array1(), cwh_addr_compute_stride_fudge_factor(), cwh_addr_mk_ldid(), cwh_addr_mload(), cwh_addr_mstore(), cwh_dst_pointer_type(), cwh_dst_struct_type(), cwh_inline_allocate(), cwh_stab_altentry_temp(), cwh_stab_altentry_TY(), cwh_stab_altres_offset(), cwh_stab_altres_offset_comp(), cwh_stab_full_split(), cwh_stab_split_common(), cwh_stmt_call_helper(), cwh_stmt_return_altentry(), cwh_types_array_temp_TY(), cwh_types_form_misaligned_TY(), cwh_types_mk_misaligned_TY(), cwh_types_mk_namelist_TY(), Declare_Function(), DRA_EC_Array_Portion_Parms(), DRA_EC_Declare_Types(), DRA_Encode_Parameter(), DRA_New_Clone_Sig(), DRA_Process_Commons(), DRA_Process_Globals(), emit_inits_for_symbol(), Equivalent_Types(), fei_array_dimen(), fei_co_array_dimen(), fei_constant(), fei_pattern_con(), fei_push_pattern_con(), fei_static_base(), fei_static_member(), WN_Verifier::Field_id_valid(), Fill_Align_Symbol(), FLD_Is_Bitfield(), get_field_gap(), Get_Parameter_Location(), Get_Return_Info(), Get_Struct_Parameter_Location(), get_TY_string(), Get_Type_Inner_Size(), INIT2F_array(), INIT2F_Get_Array_Segment(), INIT2F_Implied_DoLoop(), INIT2F_is_string_initv(), INIT2F_ptr_or_scalar(), INIT2F_Skip_Padding(), INIT2F_structured(), INIT2F_substring(), INIT2F_Translate_Array_Ref(), INIT2F_Translate_Char_Ref(), Initialize_Special_Global_Symbols(), Initialize_Upc_Types(), INITV2C_block_array(), INITV2C_block_struct(), INITV2C_struct_fill(), INITV2C_symoff(), INITVKIND_val(), Is_VLA(), Make_Shared_Type(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), MemCtr_Criteria_Check(), New_DRA(), no_overlap(), pad_global_arrays::operator()(), Process_Stack_Variable(), Promoted_Parm_Type(), Setup_Struct_Parameter_Locations(), Shared_Load_Extend_Mtyp(), Shorten_Section(), Size_To_Mtype(), ST_size(), Stab_Array_Of(), Stab_Get_Mload_Ty(), Struct_Is_HFA(), TCON2F_translate(), TY2C_complete_struct(), TY2C_get_field_info(), TY2C_prepend_FLD_list(), TY2F_Append_Assumed_Single_Dim(), TY2F_array(), TY2F_array_for_pointer(), TY2F_Fld_Size(), TY2F_Get_Fld_Path(), TY2F_Purple_Assumed_Sized_Array(), TY2F_scalar(), TY_are_equivalent(), TY_Is_Array_Of_Chars(), TY_Is_Character_String(), TY_struct_hash(), FLD::Verify(), WN2C_address_add(), WN2C_array(), WN2C_based_lvalue(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2C_is_pointer_diff(), WN2C_MemAccess_Type(), WN2C_mstore(), WN2C_SymAccess_Type(), WN2F_array(), WN2F_array_bounds(), WN2F_arrsection(), WN2F_arrsection_bounds(), WN2F_Function_Call_Lhs(), WN2F_Get_Substring_Info(), WN2F_Offset_Memref(), WN2F_String_Argument(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_CreateIstore(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateStid(), and WN_Get_PtrAdd_Intconst().
UINT32 TY_Table_Size | ( | ) | [inline] |
Definition at line 350 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::Size(), and Ty_tab.
Referenced by Init_PU_arg_area_size_array(), Initialize_Special_Global_Symbols(), Invalid_Pointer_Map_Entry(), Push_Equiv_Visit_Order(), ST_Verify_Fields(), Stab_finalize(), Stab_initialize(), Stab_initialize_flags(), Stab_Reset_Referenced_Flag(), FLD::Verify(), TY::Verify(), PU::Verify(), Verify_GLOBAL_SYMTAB(), W2C_Enter_Global_Symbols(), W2F_Outfile_Translate_Pu(), WN2C_Append_Symtab_Types(), and WN2F_Exit_PU_Block().
UINT32 TYLIST_Table_Size | ( | ) | [inline] |
Definition at line 480 of file symtab.h.
References SEGMENTED_ARRAY< T, block_size >::Size(), and Tylist_Table.
Referenced by Stab_finalize(), Stab_initialize(), and TY::Verify().
Definition at line 602 of file symtab.h.
Referenced by Init_Constab().