Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <stdio.h>
#include <alloca.h>
#include <algorithm>
#include <string>
#include <map>
#include "HashTable.h"
#include "defs.h"
#include "config.h"
#include "tracing.h"
#include "cxx_memory.h"
#include "symtab.h"
#include "irbdata.h"
#include "ir_a2b_util.h"
#include "const.h"
#include "ttype.h"
#include "targ_sim.h"
#include "upc_symtab_utils.h"
Go to the source code of this file.
#define ARBFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1853 of file symtab.cxx.
#define BLKFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 2004 of file symtab.cxx.
#define FIFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1744 of file symtab.cxx.
#define FLDFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1834 of file symtab.cxx.
#define LBLFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1873 of file symtab.cxx.
#define LKIND_ToStrTblENTRY | ( | flg | ) | EnumToStr_t(flg, #flg) |
Definition at line 1595 of file symtab.cxx.
#define PUFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1934 of file symtab.cxx.
#define PUSRCLANGFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1986 of file symtab.cxx.
#define STATTR_ToStrTblENTRY | ( | flg | ) | EnumToStr_t(flg, #flg) |
Definition at line 1585 of file symtab.cxx.
#define STEXTFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1802 of file symtab.cxx.
#define STFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1759 of file symtab.cxx.
#define TYFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1887 of file symtab.cxx.
#define TYPUFLAGS_ToStrTblENTRY | ( | flg | ) | FlagToStr_t(flg, #flg) |
Definition at line 1920 of file symtab.cxx.
Definition at line 926 of file symtab.cxx.
typedef TY_IDX HashKeyType |
Definition at line 825 of file symtab.cxx.
typedef SEGMENTED_ARRAY<UINT32> TY_EQUIV_VISIT_ORDER |
Definition at line 945 of file symtab.cxx.
Definition at line 318 of file symtab.cxx.
typedef std::pair<TY_IDX, UINT32> TY_POINTEE_KEY |
Definition at line 304 of file symtab.cxx.
BOOL ARB_are_equivalent | ( | ARB_HANDLE | arb_id1, |
ARB_HANDLE | arb_id2, | ||
UINT32 | flags | ||
) |
Definition at line 998 of file symtab.cxx.
References ARB_co_dimension(), ARB_const_lbnd(), ARB_const_stride(), ARB_const_ubnd(), ARB_dimension(), ARB_flags(), ARB_last_dimen(), ARB_lbnd_val(), ARB_lbnd_var(), ARB_stride_val(), ARB_stride_var(), ARB_ubnd_val(), ARB_ubnd_var(), FALSE, and TRUE.
Referenced by Equivalent_Types(), and TY_are_equivalent().
const char* ARB_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2091 of file symtab.cxx.
References ARBFLAGS_ToStrTbl, and ir_a2b::MapFlagsToStr().
ARB ARB_from_IDX | ( | ARB_IDX | x | ) |
Definition at line 3263 of file symtab.cxx.
References Arb_Table.
void ARB_swap | ( | ARB_HANDLE | arb1, |
ARB_HANDLE | arb2 | ||
) |
Definition at line 1061 of file symtab.cxx.
References ARB_HANDLE::Entry().
Referenced by cwh_types_mk_array_TY().
void Base_Symbol_And_Offset | ( | ST * | st, |
ST ** | base_symbol, | ||
INT64 * | offset_from_base | ||
) |
Definition at line 1476 of file symtab.cxx.
References ST_base(), and ST_ofst().
Referenced by Base_Symbol(), Is_Allocated(), Offset_From_Base_Symbol(), and ST_Verify_Fields().
const char* BLK_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2195 of file symtab.cxx.
References BLKFLAGS_ToStrTbl, and ir_a2b::MapFlagsToStr().
const char* Class_Name | ( | ST_CLASS | cl | ) |
Definition at line 1613 of file symtab.cxx.
References CLASS_COUNT, EnumToStr_t(), ir_a2b::MapEnumToStr(), and STClassToNameTbl.
Referenced by ST::Print(), ST_Verify_Class_Sclass(), ST_Verify_Fields(), and ST_Verify_Flags().
Definition at line 1458 of file symtab.cxx.
References Blk_Table, and SEGMENTED_ARRAY< T, block_size >::Insert().
Definition at line 114 of file symtab.cxx.
References CLASS_PREG, RELATED_SEGMENTED_ARRAY< T, block_size >::Insert(), make_ST_IDX(), Scope_tab, Set_ST_base_idx(), Set_ST_st_idx(), ST_base_idx(), ST_IDX_level(), ST_st_idx(), ST_sym_class(), SCOPE::st_tab, and St_Table.
Referenced by Copy_ST(), Copy_ST_No_Base(), DRA_Mangle_Call_Site(), DRA_Mangle_Entry(), fei_proc_imp(), Formal_Sym(), Get_Altentry_UpFormal_Symbol(), and WN_CopyNode().
ST* Copy_ST | ( | ST * | st, |
SYMTAB_IDX | scope | ||
) |
Definition at line 132 of file symtab.cxx.
References Copy_ST(), RELATED_SEGMENTED_ARRAY< T, block_size >::Insert(), make_ST_IDX(), Scope_tab, Set_ST_base_idx(), Set_ST_st_idx(), ST_base_idx(), ST_IDX_level(), ST_level(), ST_st_idx(), SCOPE::st_tab, and St_Table.
ST* Copy_ST_No_Base | ( | ST * | st, |
SYMTAB_IDX | scope | ||
) |
Definition at line 151 of file symtab.cxx.
References Copy_ST(), GLOBAL_SYMTAB, RELATED_SEGMENTED_ARRAY< T, block_size >::Insert(), make_ST_IDX(), Save_Str2i(), Scope_tab, Set_ST_base_idx(), Set_ST_name_idx(), Set_ST_st_idx(), ST_base_idx(), ST_level(), ST_name(), ST_name_idx(), ST_st_idx(), SCOPE::st_tab, and St_Table.
Referenced by IPO_SYMTAB::IPO_Copy_ST().
Definition at line 237 of file symtab.cxx.
References SEGMENTED_ARRAY< T, block_size >::Insert(), Set_TY_IDX_index(), Ty_tab, and Ty_Table.
Referenced by Allocate_All_Formals(), cwh_types_form_misaligned_TY(), and Fill_Align_Symbol().
static void Create_All_Preg_Symbols | ( | ) | [static] |
Definition at line 2939 of file symtab.cxx.
References CLASS_PREG, EXPORT_LOCAL, GLOBAL_SYMTAB, MTYPE_B, MTYPE_byte_size, MTYPE_FIRST, MTYPE_LAST, MTYPE_name, MTYPE_To_PREG, MTYPE_To_TY, New_ST(), NULL, Save_Str(), Save_Str2(), SCLASS_REG, Setup_Preg_Pointers(), and ST_Init().
Referenced by Initialize_Symbol_Tables(), and Set_up_all_preg_symbols().
PREG_NUM Create_Preg | ( | TYPE_ID | mtype, |
const char * | name | ||
) |
Definition at line 1420 of file symtab.cxx.
References Create_Preg_explicit(), CURRENT_SYMTAB, and Scope_tab.
PREG_NUM Create_Preg_explicit | ( | TYPE_ID | mtype, |
const char * | name, | ||
SCOPE * | scope_tab, | ||
SYMTAB_IDX | level | ||
) |
Definition at line 1383 of file symtab.cxx.
References Last_Dedicated_Preg_Offset, MTYPE_B, MTYPE_C4, MTYPE_C8, MTYPE_CQ, MTYPE_FQ, New_PREG_explicit(), Save_Str(), and Set_PREG_name_idx().
Referenced by Create_Preg().
static void Create_Special_Global_Symbols | ( | ) | [static] |
Definition at line 3035 of file symtab.cxx.
References SEGMENTED_ARRAY< T, block_size >::Delete_last(), Gen_predef_type_name(), Is_True, KIND_POINTER, KIND_SCALAR, KIND_VOID, MTYPE_A4, MTYPE_A8, MTYPE_align_req, MTYPE_byte_size, MTYPE_F8, MTYPE_FIRST, MTYPE_FQ, MTYPE_LAST, MTYPE_name, MTYPE_To_TY, MTYPE_V, New_TY(), Pointer_Size, Set_TY_align(), Set_TY_pointed(), Spill_Float_Mtype, Spill_Int_Mtype, TY_Init(), and Ty_tab.
Referenced by Initialize_Special_Global_Symbols(), and Initialize_Symbol_Tables().
void Delete_Scope | ( | SYMTAB_IDX | level | ) |
Definition at line 2903 of file symtab.cxx.
References CXX_DELETE, SCOPE::inito_tab, SCOPE::label_tab, SCOPE::pool, SCOPE::preg_tab, Scope_tab, SCOPE::st_attr_tab, and SCOPE::st_tab.
Referenced by cwh_stab_end_procs(), and Free_Local_Info().
void dump_inito | ( | INITO_IDX | idx | ) |
Definition at line 2764 of file symtab.cxx.
References idx, and Inito_Table.
void dump_label | ( | LABEL_IDX | idx | ) |
Definition at line 2758 of file symtab.cxx.
References idx, and Label_Table.
Definition at line 2709 of file symtab.cxx.
References ST::blk, Blk_Table, CLASS_BLOCK, CLASS_FUNC, ST::Print(), ST::pu, Pu_Table, ST::sym_class, and ST::u2.
Referenced by dump_st(), and dump_st_idx().
Definition at line 2723 of file symtab.cxx.
References dump_st(), and St_Table.
void dump_st_attr | ( | ST_ATTR_IDX | idx | ) |
Definition at line 2770 of file symtab.cxx.
References idx, and St_Attr_Table.
void dump_st_idx | ( | ST_IDX | st | ) |
Definition at line 2731 of file symtab.cxx.
References dump_st().
Definition at line 2738 of file symtab.cxx.
References TY::Print(), and Ty_Table.
Referenced by dump_ty_idx().
Definition at line 2752 of file symtab.cxx.
References TY::Print().
void dump_ty_idx | ( | TY_IDX | ty_idx | ) |
Definition at line 2746 of file symtab.cxx.
References dump_ty().
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().
const char* Export_Name | ( | ST_EXPORT | ex | ) |
Definition at line 1647 of file symtab.cxx.
References EnumToStr_t(), EXPORT_COUNT, ir_a2b::MapEnumToStr(), and STExportToNameTbl.
Referenced by ST::Print(), ST_Verify_Flags(), and ST_Verify_Sclass_Export().
const char* FILE_INFO_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2023 of file symtab.cxx.
References FIFLAGS_ToStrTbl, FIFLAGS_ToStrTblSZ, and ir_a2b::MapFlagsToStr().
Referenced by FILE_INFO::Print().
static TY_IDX Find_Ty_Pointer | ( | TY_POINTEE_KEY | key | ) | [inline, static] |
Definition at line 417 of file symtab.cxx.
References DevWarn(), stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::find(), Invalid_Pointer_Map_Entry(), pointer_map, Pointer_Size, result, Set_TY_align(), and Validate_Pointer_Map().
Referenced by TY_pointer().
BOOL FLD_are_equivalent | ( | FLD_HANDLE | fld1, |
FLD_HANDLE | fld2, | ||
UINT32 | flags | ||
) |
Definition at line 1077 of file symtab.cxx.
References FALSE, FLD_bofst(), FLD_bsize(), FLD_flags(), FLD_name_idx(), FLD_ofst(), FLD_st(), FLD_type(), TY_are_equivalent(), and TY_EQUIV_IGNORE_NAMES.
Referenced by Struct_are_equivalent().
const char* FLD_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2074 of file symtab.cxx.
References FLDFLAGS_ToStrTbl, and ir_a2b::MapFlagsToStr().
Referenced by FLD::Print().
FLD FLD_from_IDX | ( | FLD_IDX | x | ) |
Definition at line 3265 of file symtab.cxx.
References Fld_Table.
FLD_HANDLE FLD_get_to_field | ( | TY_IDX | struct_ty_idx, |
UINT | field_id, | ||
UINT & | cur_field_id | ||
) |
Definition at line 275 of file symtab.cxx.
References FLD_get_to_field(), FLD_last_field(), FLD_type(), is_upcr_ptr(), KIND_STRUCT, Make_fld_iter(), TY_fld(), and TY_kind().
Referenced by field_type(), FLD_get_to_field(), Get_Field_Type(), WN_Create_Shared_Load(), WN_CreateIstore(), WN_CreatePStid(), WN_CreatePstore(), and WN_CreateStid().
ST* Gen_Intrinsic_Function | ( | TY_IDX | ty, |
const char * | function_name | ||
) |
Definition at line 742 of file symtab.cxx.
References CLASS_FUNC, CURRENT_SYMTAB, EXPORT_PREEMPTIBLE, GLOBAL_SYMTAB, INTRINSIC_LIST_add(), INTRINSIC_LIST_lookup(), New_PU(), New_ST(), NULL, PU_Init(), Save_Str(), SCLASS_EXTERN, and ST_Init().
static STR_IDX Gen_predef_type_name | ( | const char * | basename | ) | [inline, static] |
Definition at line 3015 of file symtab.cxx.
References Save_Str2().
Referenced by Create_Special_Global_Symbols().
ST* Gen_Read_Only_Symbol | ( | TY_IDX | ty, |
const char * | rootname | ||
) |
Definition at line 2799 of file symtab.cxx.
References CLASS_VAR, Gen_Temp_Named_Symbol(), SCLASS_FSTATIC, and Set_ST_is_const_var().
static ST* Gen_Temp_Named_Symbol | ( | TY_IDX | ty, |
const char * | rootname, | ||
ST_CLASS | sym_class, | ||
ST_SCLASS | storage_class | ||
) | [static] |
Definition at line 2776 of file symtab.cxx.
References CURRENT_SYMTAB, EXPORT_LOCAL, New_ST(), Save_Str2i(), and ST_Init().
Referenced by Gen_Read_Only_Symbol(), and Gen_Temp_Symbol().
ST* Gen_Temp_Symbol | ( | TY_IDX | ty, |
const char * | rootname | ||
) |
Definition at line 2788 of file symtab.cxx.
References CLASS_VAR, Gen_Temp_Named_Symbol(), SCLASS_AUTO, and Set_ST_is_temp_var().
Referenced by Allocate_All_Formals(), Allocate_Local_Spill_Sym(), Create_Slink_Symbol(), cwh_load_distribute_temp(), cwh_stab_temp_ST(), Spill_And_Take_Address(), Spill_Shared_Load(), 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(), and WN_Create_StoP_Cvt().
string get_TY_string | ( | TY_IDX | idx | ) |
Definition at line 462 of file symtab.cxx.
References FALSE, FmtAssert, KIND_ARRAY, KIND_POINTER, KIND_SCALAR, KIND_STRUCT, KIND_VOID, TY_etype(), TY_kind(), TY_mtype(), TY_name_idx(), TY_pointed(), TY_size(), and utoa().
Referenced by Make_Shared_Type().
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().
void Initialize_Special_Global_Symbols | ( | ) |
Definition at line 3115 of file symtab.cxx.
References Create_Special_Global_Symbols(), KIND_POINTER, KIND_SCALAR, KIND_VOID, make_TY_IDX(), MIN, MTYPE_A4, MTYPE_A8, MTYPE_align_req, MTYPE_byte_size, MTYPE_FIRST, MTYPE_FQ, MTYPE_LAST, MTYPE_To_TY, MTYPE_V, Predefined_Void_Type(), Set_TY_align(), Set_up_all_preg_symbols(), Spill_Float_Mtype, Spill_Int_Mtype, TY_flags(), TY_kind(), TY_mtype(), TY_pointed(), TY_size(), Ty_Table, and TY_Table_Size().
Referenced by main().
void Initialize_Symbol_Tables | ( | BOOL | reserve_index_zero | ) |
Definition at line 3170 of file symtab.cxx.
References Create_All_Preg_Symbols(), Create_Special_Global_Symbols(), GLOBAL_SYMTAB, Init_Constab(), Initialize_Strtab(), Initv_Table, Malloc_Mem_Pool, MEM_POOL_Alloc, MTYPE_LAST, New_ARB(), New_BLK(), SEGMENTED_ARRAY< T, block_size >::New_entry(), New_FLD(), New_PU(), New_Scope(), New_TY(), New_TYLIST(), NULL, Read_Global_Data, Scope_tab, and TRUE.
Referenced by ir_b2a(), main(), and PDGCS_initialize().
INITO INITO_from_IDX | ( | INITO_IDX | x | ) |
Definition at line 3260 of file symtab.cxx.
References Inito_Table.
INITV INITV_from_IDX | ( | INITV_IDX | x | ) |
Definition at line 3261 of file symtab.cxx.
References Initv_Table.
static void INTRINSIC_LIST_add | ( | ST * | st | ) | [static] |
Definition at line 709 of file symtab.cxx.
References intrinsic_list.
Referenced by Gen_Intrinsic_Function().
static ST* INTRINSIC_LIST_lookup | ( | TY_IDX | ty, |
const char * | function_name | ||
) | [static] |
Definition at line 715 of file symtab.cxx.
References intrinsic_list, NULL, and result.
Referenced by Gen_Intrinsic_Function().
static BOOL Invalid_Pointer_Map_Entry | ( | const TY_IDX_POINTER_MAP::value_type & | entry | ) | [static] |
Definition at line 325 of file symtab.cxx.
References FALSE, KIND_POINTER, TRUE, TY_flags(), TY_IDX_index(), TY_kind(), TY_pointed(), Ty_Table, and TY_Table_Size().
Referenced by Find_Ty_Pointer(), Update_Pointer_Map(), and Validate_Pointer_Map().
Definition at line 1664 of file symtab.cxx.
References EnumToStr_t(), KIND_LAST, ir_a2b::MapEnumToStr(), and TYKindToNameTbl.
Referenced by TY_kind_name().
const char* LABEL_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2108 of file symtab.cxx.
References LBLFLAGS_ToStrTbl, and ir_a2b::MapFlagsToStr().
Referenced by LABEL::Print().
LABEL LABEL_from_IDX | ( | LABEL_IDX | x | ) |
Definition at line 3266 of file symtab.cxx.
References Label_Table.
const char* LABEL_Kind_Name | ( | LABEL_KIND | k | ) |
Definition at line 1681 of file symtab.cxx.
References EnumToStr_t(), LKIND_COUNT, LKIND_ToStrTbl, and ir_a2b::MapEnumToStr().
TY_IDX Make_Array_Type | ( | TYPE_ID | element, |
INT32 | ndim, | ||
INT64 | len | ||
) |
Definition at line 766 of file symtab.cxx.
References ARB_Init(), FmtAssert, KIND_ARRAY, MTYPE_align_best, MTYPE_name, MTYPE_RegisterSize, MTYPE_To_TY, MTYPE_UNKNOWN, New_ARB(), New_TY(), Set_ARB_dimension(), Set_ARB_first_dimen(), Set_ARB_last_dimen(), Set_TY_align(), Set_TY_arb(), Set_TY_etype(), and TY_Init().
Referenced by Create_Global_Array_ST().
TY_IDX Make_F90_Pointer_Type | ( | TY_IDX | ty_idx | ) |
Definition at line 602 of file symtab.cxx.
References make_ptr_type(), and TRUE.
Referenced by cwh_types_make_pointer_type(), fei_member(), and fei_object().
TY_IDX Make_Function_Type | ( | TY_IDX | return_ty_idx | ) |
Definition at line 610 of file symtab.cxx.
References SEGMENTED_ARRAY< T, block_size >::begin(), buf, SEGMENTED_ARRAY< T, block_size >::Delete_last(), SEGMENTED_ARRAY< T, block_size >::end(), SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::Index(), Is_True, KIND_FUNCTION, MTYPE_UNKNOWN, New_TY(), New_TYLIST(), Save_Str(), Set_TY_align(), Set_TY_tylist(), Set_TYLIST_type(), SEGMENTED_ARRAY< T, block_size >::Size(), TY_IDX_index(), TY_Init(), TY_is_unique(), TY_kind(), Ty_tab, TY_tylist(), Tylist_Table, and TYLIST_type().
TY_IDX Make_Pointer_Type | ( | TY_IDX | ty_idx, |
BOOL | |||
) |
Definition at line 595 of file symtab.cxx.
References FALSE, and make_ptr_type().
Referenced by cwh_auxst_add_dummy(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_types_ch_parm_TY(), cwh_types_make_pointer_type(), cwh_types_mk_namelist_item_TY(), cwh_types_mk_pointer_TY(), cwh_types_WN_TY(), Declare_Func_N_Arg(), Declare_Function(), DRA_EC_Array_Portion_Parms(), DRA_EC_Declare_Types(), Formal_ST_type(), Formal_Sym(), W2CF_TRANSLATOR::Get_Pointer_To(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), MemCtr_Init(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Stab_Pointer_To(), TY_Of_Parameter(), WN2C_istore(), WN_Create_Shared_Load(), WN_get_tld_type(), WN_Iload(), WN_Lda(), WN_LdaLabel(), and WN_RIload().
TY_IDX make_ptr_type | ( | TY_IDX | ty_idx, |
BOOL | f90_pointer | ||
) |
Definition at line 576 of file symtab.cxx.
References KIND_POINTER, New_TY(), Pointer_Mtype, Pointer_Size, Save_Str(), Set_TY_align(), Set_TY_is_f90_pointer(), Set_TY_pointed(), TY_Init(), and TY_pointer().
Referenced by Make_F90_Pointer_Type(), and Make_Pointer_Type().
TY_IDX Make_Shared_Type | ( | TY_IDX | ty_idx, |
int | bsize, | ||
CONSISTENCY_class | consistency | ||
) |
Given a type(shared/non-shared), this function returns an equivalent shared type with the specified block size
Definition at line 510 of file symtab.cxx.
References get_TY_string(), KIND_ARRAY, KIND_POINTER, KIND_SCALAR, KIND_STRUCT, Make_Shared_Type(), New_TY(), Save_Str(), Set_TY_align(), Set_TY_arb(), Set_TY_block_size(), Set_TY_etype(), Set_TY_flags(), Set_TY_fld(), Set_TY_is_shared(), Set_TY_is_strict(), Set_TY_pointed(), STRICT_CONSISTENCY, TY_align(), TY_arb(), TY_block_size(), TY_etype(), TY_flags(), TY_fld(), TY_Init(), TY_is_shared(), TY_is_strict(), TY_kind(), ty_map, TY_mtype(), TY_name(), TY_pointed(), TY_size(), and utoa().
Referenced by Make_Shared_Type().
ST_CLASS Name_To_Class | ( | const char * | nm | ) |
Definition at line 1621 of file symtab.cxx.
References CLASS_COUNT, EnumToStr_t(), ir_a2b::MapStrToEnum(), and STClassToNameTbl.
ST_EXPORT Name_To_Export | ( | const char * | nm | ) |
Definition at line 1655 of file symtab.cxx.
References EnumToStr_t(), EXPORT_COUNT, ir_a2b::MapStrToEnum(), and STExportToNameTbl.
TY_KIND Name_To_Kind | ( | const char * | nm | ) |
Definition at line 1672 of file symtab.cxx.
References EnumToStr_t(), KIND_LAST, ir_a2b::MapStrToEnum(), and TYKindToNameTbl.
LABEL_KIND Name_To_LABEL_Kind | ( | const char * | nm | ) |
Definition at line 1689 of file symtab.cxx.
References EnumToStr_t(), LKIND_COUNT, LKIND_ToStrTbl, and ir_a2b::MapStrToEnum().
ST_SCLASS Name_To_Sclass | ( | const char * | nm | ) |
Definition at line 1638 of file symtab.cxx.
References EnumToStr_t(), ir_a2b::MapStrToEnum(), SCLASS_COUNT, and STSclassToNameTbl.
ST_ATTR_KIND Name_To_ST_ATTR_Kind | ( | const char * | nm | ) |
Definition at line 1706 of file symtab.cxx.
References EnumToStr_t(), ir_a2b::MapStrToEnum(), ST_ATTR_KIND_COUNT, and STATTR_ToStrTbl.
void New_Scope | ( | SYMTAB_IDX | level, |
MEM_POOL * | pool, | ||
BOOL | reserve_index_zero | ||
) |
Definition at line 2859 of file symtab.cxx.
References Current_scope, CXX_NEW, GLOBAL_SYMTAB, SCOPE::Init(), Malloc_Mem_Pool, MEM_POOL_Realloc, SEGMENTED_ARRAY< T, block_size >::New_entry(), RELATED_SEGMENTED_ARRAY< T, block_size >::New_entry(), NULL, Scope_tab, and size.
Referenced by fei_next_func_idx(), Initialize_Symbol_Tables(), ir_b2a(), main(), IPO_SYMTAB::New_Symtab(), and Read_Local_Info().
static void Pop_Equiv_Visit_Order | ( | UINT32 | ty_index1, |
UINT32 | ty_index2 | ||
) | [static] |
Definition at line 982 of file symtab.cxx.
References Ty_Equiv_Visit1, Ty_Equiv_Visit2, and Ty_Equiv_Visit_Number.
Referenced by TY_are_equivalent().
static BOOL Predefined_Void_Type | ( | TY_IDX | ty_idx | ) | [inline, static] |
Definition at line 3101 of file symtab.cxx.
References KIND_VOID, make_TY_IDX(), MTYPE_V, TY_IDX_index(), TY_kind(), TY_mtype(), and Ty_Table.
Referenced by Initialize_Special_Global_Symbols().
INT32 Preg_Increment | ( | TYPE_ID | mtype | ) |
Definition at line 1428 of file symtab.cxx.
References MTYPE_B, MTYPE_C4, MTYPE_C8, MTYPE_CQ, MTYPE_FQ, MTYPE_I8, MTYPE_size_reg, MTYPE_U8, and Spill_Int_Mtype.
Definition at line 1366 of file symtab.cxx.
References Is_True, Last_Dedicated_Preg_Offset, PREG_name(), PREG_name_idx(), and Preg_Table.
Referenced by ir_put_wn(), W2CF_Symtab_Nameof_Preg(), and Whirl_Symbol_Type().
void Print_global_symtab | ( | FILE * | f | ) |
Definition at line 2674 of file symtab.cxx.
References Blk_Table, DBar, File_info, For_all(), fprintf(), GLOBAL_SYMTAB, Inito_Table, FILE_INFO::Print(), Pu_Table, St_Attr_Table, St_Table, STR_Table_Size(), Tcon_Table, and Ty_Table.
Referenced by ir_b2a(), PDGCS_terminate(), and Print_symtab().
void Print_local_symtab | ( | FILE * | f, |
const SCOPE & | scope | ||
) |
Definition at line 2643 of file symtab.cxx.
References DBar, For_all_entries(), fprintf(), SCOPE::inito_tab, SCOPE::label_tab, SCOPE::preg_tab, PU_lexical_level(), SEGMENTED_ARRAY< T, block_size >::Size(), RELATED_SEGMENTED_ARRAY< T, block_size >::Size(), SCOPE::st, SCOPE::st_attr_tab, ST_name(), and SCOPE::st_tab.
Referenced by ir_b2a_process_PUs(), PDGCS_do_proc(), and Print_symtab().
static void Print_TY_IDX_verbose | ( | FILE * | f, |
TY_IDX | idx | ||
) | [static] |
Definition at line 2231 of file symtab.cxx.
References fprintf(), idx, name, Print_type_attributes(), TY_align(), TY_IDX_index(), TY_name(), TY_name_idx(), and Ty_Table.
Referenced by FLD::Print(), TY::Print(), and PU::Print().
static void Print_type_attributes | ( | FILE * | f, |
TY_IDX | ty | ||
) | [static] |
Definition at line 2219 of file symtab.cxx.
References TY_is_const(), TY_is_restrict(), and TY_is_volatile().
Referenced by ST::Print(), and Print_TY_IDX_verbose().
TY_IDX Promoted_Parm_Type | ( | const ST * | formal_parm | ) |
Definition at line 2810 of file symtab.cxx.
References Integer_type, Is_True, KIND_SCALAR, MTYPE_F8, MTYPE_float, MTYPE_To_TY, ST_is_value_parm(), ST_promote_parm(), ST_type(), TY_kind(), TY_mtype(), and TY_size().
const char* PU_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2159 of file symtab.cxx.
References ir_a2b::MapFlagsToStr(), and PUFLAGS_ToStrTbl.
Referenced by ST::Print().
PU PU_from_IDX | ( | PU_IDX | x | ) |
Definition at line 3262 of file symtab.cxx.
References Pu_Table.
const char* PU_SRC_LANG_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2176 of file symtab.cxx.
References ir_a2b::MapFlagsToStr(), and PUSRCLANGFLAGS_ToStrTbl.
Referenced by ST::Print().
static BOOL Push_Equiv_Visit_Order | ( | UINT32 | ty_index1, |
UINT32 | ty_index2, | ||
BOOL & | are_equiv | ||
) | [static] |
Definition at line 951 of file symtab.cxx.
References dummy, FALSE, SEGMENTED_ARRAY< T, block_size >::New_entry(), SEGMENTED_ARRAY< T, block_size >::Size(), TRUE, Ty_Equiv_Visit1, Ty_Equiv_Visit2, Ty_Equiv_Visit_Number, and TY_Table_Size().
Referenced by TY_are_equivalent().
const char* Sclass_Name | ( | ST_SCLASS | sc | ) |
Definition at line 1630 of file symtab.cxx.
References EnumToStr_t(), ir_a2b::MapEnumToStr(), SCLASS_COUNT, and STSclassToNameTbl.
Referenced by ST::Print(), ST_Verify_Class_Sclass(), ST_Verify_Flags(), and ST_Verify_Sclass_Export().
static void Set_up_all_preg_symbols | ( | ) | [static] |
Definition at line 2973 of file symtab.cxx.
References CLASS_PREG, Create_All_Preg_Symbols(), GLOBAL_SYMTAB, idx, make_ST_IDX(), MIN, MTYPE_FIRST, MTYPE_LAST, MTYPE_To_PREG, MTYPE_To_TY, NULL, ST_name(), ST_sym_class(), St_Table, ST_Table_Size(), ST_type(), TY_mtype(), and Ty_Table.
Referenced by Initialize_Special_Global_Symbols().
static void Setup_Preg_Pointers | ( | ) | [static] |
Definition at line 2917 of file symtab.cxx.
References Float32_Preg, Float64_Preg, Int32_Preg, Int64_Preg, Is_True, MTYPE_byte_size, MTYPE_FIRST, MTYPE_I4, MTYPE_LAST, MTYPE_signed, MTYPE_To_PREG, MTYPE_To_TY, MTYPE_U4, NULL, and ST_type().
Referenced by Create_All_Preg_Symbols().
const char* ST_ATTR_Kind_Name | ( | ST_ATTR_KIND | k | ) |
Definition at line 1698 of file symtab.cxx.
References EnumToStr_t(), ir_a2b::MapEnumToStr(), ST_ATTR_KIND_COUNT, and STATTR_ToStrTbl.
const char* ST_EXT_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2057 of file symtab.cxx.
References ir_a2b::MapFlagsToStr(), and STEXTFLAGS_ToStrTbl.
Referenced by ST::Print().
const char* ST_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2040 of file symtab.cxx.
References ir_a2b::MapFlagsToStr(), and STFLAGS_ToStrTbl.
Referenced by ST::Print().
ST ST_from_IDX | ( | ST_IDX | x | ) |
Definition at line 3258 of file symtab.cxx.
References St_Table.
BOOL ST_is_constant | ( | const ST * | st | ) |
Definition at line 180 of file symtab.cxx.
References CLASS_CONST, CLASS_VAR, FALSE, ST_is_const_var(), ST_sym_class(), and TRUE.
Referenced by Allocate_Object(), Assign_ST_To_Named_Section(), and WN_Can_Be_Speculative().
BOOL ST_is_private_local | ( | const ST * | st | ) |
Definition at line 199 of file symtab.cxx.
References CURRENT_SYMTAB, FALSE, Get_Current_PU(), Is_True, LANG_Recursive, LANG_Recursive_Set, PU_F77_LANG, PU_F90_LANG, PU_recursive(), PU_src_lang(), ST_IDX_level(), ST_st_idx(), and TRUE.
Definition at line 89 of file symtab.cxx.
References CLASS_BLOCK, CLASS_CONST, CLASS_FUNC, CLASS_PARAMETER, CLASS_PREG, CLASS_VAR, FALSE, FmtAssert, MTYPE_STR, ST_class(), ST_type(), STB_size(), STC_val(), Targ_String_Length(), TCON_add_null, TCON_ty, and TY_size().
Referenced by Add_Object_To_Frame_Segment(), Adjusted_Alignment(), Allocate_Space(), Assign_Offset(), Assign_ST_To_Named_Section(), Calc_Local_Area(), Create_And_Set_ST_Base(), Shorten_Section(), St_Block_Union(), ST_Verify_Fields(), and Uses_Small_Offset().
UINT64 Str_To_ARB_FLAGS | ( | const char * | str | ) |
Definition at line 2099 of file symtab.cxx.
References ARBFLAGS_ToStrTbl, and ir_a2b::MapStrToFlags().
UINT64 Str_To_BLK_FLAGS | ( | const char * | str | ) |
Definition at line 2203 of file symtab.cxx.
References BLKFLAGS_ToStrTbl, and ir_a2b::MapStrToFlags().
UINT64 Str_To_FILE_INFO_FLAGS | ( | const char * | str | ) |
Definition at line 2031 of file symtab.cxx.
References FIFLAGS_ToStrTbl, FIFLAGS_ToStrTblSZ, and ir_a2b::MapStrToFlags().
UINT64 Str_To_FLD_FLAGS | ( | const char * | str | ) |
Definition at line 2082 of file symtab.cxx.
References FLDFLAGS_ToStrTbl, and ir_a2b::MapStrToFlags().
UINT64 Str_To_LABEL_FLAGS | ( | const char * | str | ) |
Definition at line 2116 of file symtab.cxx.
References LBLFLAGS_ToStrTbl, and ir_a2b::MapStrToFlags().
UINT64 Str_To_PU_FLAGS | ( | const char * | str | ) |
Definition at line 2167 of file symtab.cxx.
References ir_a2b::MapStrToFlags(), and PUFLAGS_ToStrTbl.
UINT64 Str_To_PU_SRC_LANG_FLAGS | ( | const char * | str | ) |
Definition at line 2185 of file symtab.cxx.
References ir_a2b::MapStrToFlags(), and PUSRCLANGFLAGS_ToStrTbl.
UINT64 Str_To_ST_EXT_FLAGS | ( | const char * | str | ) |
Definition at line 2065 of file symtab.cxx.
References ir_a2b::MapStrToFlags(), and STEXTFLAGS_ToStrTbl.
UINT64 Str_To_ST_FLAGS | ( | const char * | str | ) |
Definition at line 2048 of file symtab.cxx.
References ir_a2b::MapStrToFlags(), and STFLAGS_ToStrTbl.
UINT64 Str_To_TY_FLAGS | ( | const char * | str | ) |
Definition at line 2133 of file symtab.cxx.
References ir_a2b::MapStrToFlags(), and TYFLAGS_ToStrTbl.
UINT64 Str_To_TY_PU_FLAGS | ( | const char * | str | ) |
Definition at line 2150 of file symtab.cxx.
References ir_a2b::MapStrToFlags(), and TYPUFLAGS_ToStrTbl.
static BOOL Struct_are_equivalent | ( | FLD_HANDLE | fld_id1, |
FLD_HANDLE | fld_id2, | ||
UINT32 | flags | ||
) | [static] |
Definition at line 1116 of file symtab.cxx.
References FALSE, FLD_are_equivalent(), FLD_last_field(), Make_fld_iter(), and TRUE.
Referenced by TY_are_equivalent().
TCON TCON_from_IDX | ( | TCON_IDX | x | ) |
Definition at line 3264 of file symtab.cxx.
References Tcon_Table.
BOOL TY_are_equivalent | ( | TY_IDX | ty_id1, |
TY_IDX | ty_id2, | ||
UINT32 | flags | ||
) |
Definition at line 1176 of file symtab.cxx.
References ARB_are_equivalent(), FALSE, KIND_ARRAY, KIND_FUNCTION, KIND_INVALID, KIND_POINTER, KIND_SCALAR, KIND_STRUCT, KIND_VOID, Pop_Equiv_Visit_Order(), TY::Pu_flags(), Push_Equiv_Visit_Order(), Struct_are_equivalent(), TRUE, TY_align_exp(), TY_arb(), TY_are_equivalent(), TY_EQUIV_ALIGN, TY_EQUIV_IGNORE_NAMES, TY_EQUIV_QUALIFIER, TY_etype(), TY_flags(), TY_fld(), TY_IDX_index(), TY_is_const(), TY_is_restrict(), TY_is_volatile(), TY_kind(), TY_mtype(), TY_name_idx(), TY_pointed(), TY_size(), Ty_Table, TY_tylist(), and TYLIST_are_equivalent().
Referenced by FLD_are_equivalent(), TY_EQUIV::operator()(), TY_are_equivalent(), and TYLIST_are_equivalent().
size_t TY_array_hash | ( | const TY & | ty | ) |
Definition at line 871 of file symtab.cxx.
References ARB_dimension(), ARB_ubnd_val(), TY_arb(), TY_etype(), TY_mtype(), and Ty_Table.
Referenced by TY_hash_func().
const char* TY_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2125 of file symtab.cxx.
References ir_a2b::MapFlagsToStr(), and TYFLAGS_ToStrTbl.
Referenced by TY::Print().
TY TY_from_IDX | ( | TY_IDX | x | ) |
Definition at line 3259 of file symtab.cxx.
References Ty_Table.
size_t TY_fun_hash | ( | const TY & | ty | ) |
Definition at line 847 of file symtab.cxx.
References Make_tylist_iter(), MTYPE_LAST, TY_mtype(), Ty_Table, and TY_tylist().
Referenced by TY_hash_func().
size_t TY_hash_func | ( | const TY_IDX | ty_id | ) |
Definition at line 889 of file symtab.cxx.
References Fail_FmtAssertion(), KIND_ARRAY, KIND_FUNCTION, KIND_INVALID, KIND_LAST, KIND_POINTER, KIND_SCALAR, KIND_STRUCT, KIND_VOID, TY_array_hash(), TY_fun_hash(), TY_kind(), TY_mtype(), TY_pointed(), TY_struct_hash(), and Ty_Table.
Referenced by TY_hash::operator()().
TY_IDX TY_is_unique | ( | const TY_IDX | ty_idx | ) |
Definition at line 1325 of file symtab.cxx.
References Fail_FmtAssertion(), Hash_ty_array_table, Hash_ty_function_table, Hash_ty_pointer_table, Hash_ty_scalar_table, Hash_ty_struct_table, KIND_ARRAY, KIND_FUNCTION, KIND_INVALID, KIND_LAST, KIND_POINTER, KIND_SCALAR, KIND_STRUCT, KIND_VOID, TY_is_unique_op(), TY_kind(), and Ty_Table.
Referenced by cwh_types_unique_TY(), and Make_Function_Type().
static TY_IDX TY_is_unique_op | ( | const TY_IDX | ty_idx, |
HASH_TY_TABLE & | hash_ty_table | ||
) | [inline, static] |
Definition at line 1292 of file symtab.cxx.
References stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::insert(), Set_TY_IDX_index(), and TY_IDX_index().
Referenced by TY_is_unique().
static const char* TY_kind_name | ( | const TY & | ty | ) | [static] |
Definition at line 2246 of file symtab.cxx.
References Kind_Name(), KIND_SCALAR, MTYPE_name, MTYPE_UNKNOWN, TY_kind(), and TY_mtype().
Referenced by ST::Print().
UINT TY_log_base2 | ( | UINT | align | ) |
Definition at line 248 of file symtab.cxx.
References Is_True, and result.
Referenced by Set_STB_align(), and Set_TY_align().
TY_IDX TY_pointer | ( | TY_IDX | pointee, |
BOOL | f90_pointer | ||
) |
Definition at line 437 of file symtab.cxx.
References Find_Ty_Pointer(), result, TY_IS_F90_POINTER, and Update_Pointer_Map().
Referenced by W2CF_TRANSLATOR::Get_Pointer_To(), and make_ptr_type().
const char* TY_PU_FLAGS_To_Str | ( | UINT64 | flags | ) |
Definition at line 2142 of file symtab.cxx.
References ir_a2b::MapFlagsToStr(), and TYPUFLAGS_ToStrTbl.
size_t TY_struct_hash | ( | const TY & | ty | ) | [inline] |
Definition at line 884 of file symtab.cxx.
References TY_name_idx(), and TY_size().
Referenced by TY_hash_func().
BOOL TYLIST_are_equivalent | ( | TYLIST_IDX | tylist_id1, |
TYLIST_IDX | tylist_id2, | ||
UINT32 | flags | ||
) |
Definition at line 1139 of file symtab.cxx.
References FALSE, TRUE, TY_are_equivalent(), and Tylist_Table.
Referenced by TY_are_equivalent().
Definition at line 3267 of file symtab.cxx.
References Tylist_Table.
static void Update_Pointer_Map | ( | ) | [static] |
Definition at line 400 of file symtab.cxx.
References DevWarn(), For_all_entries(), Invalid_Pointer_Map_Entry(), last_valid_map_entry, TY_IDX_index(), Ty_tab, and Validate_Pointer_Map().
Referenced by TY_pointer().
Definition at line 451 of file symtab.cxx.
References val.
Referenced by get_TY_string(), and Make_Shared_Type().
static void Validate_Pointer_Map | ( | ) | [static] |
Definition at line 349 of file symtab.cxx.
References stlCompatibility::HashTable< Key, Value, KeyHash, KeyEq >::forAll(), handle, Invalid_Pointer_Map_Entry(), last_valid_map_entry, pointer_map, and TY_IDX_index().
Referenced by Find_Ty_Pointer(), and Update_Pointer_Map().
Definition at line 72 of file symtab.cxx.
Referenced by ARB_from_IDX(), ARB_HANDLE::ARB_HANDLE(), ARB_Table_Size(), ir_b_write_global_symtab(), Make_arb_iter(), New_ARB(), Stab_finalize(), and WN_get_global_symtab().
{ ARBFLAGS_ToStrTblENTRY(ARB_CONST_LBND), ARBFLAGS_ToStrTblENTRY(ARB_CONST_UBND), ARBFLAGS_ToStrTblENTRY(ARB_CONST_STRIDE), ARBFLAGS_ToStrTblENTRY(ARB_FIRST_DIMEN), ARBFLAGS_ToStrTblENTRY(ARB_LAST_DIMEN), ARBFLAGS_ToStrTblENTRY(ARB_EMPTY_LBND), ARBFLAGS_ToStrTblENTRY(ARB_EMPTY_UBND), ARBFLAGS_ToStrTblENTRY(ARB_STAR_UBND), ARBFLAGS_ToStrTblENTRY(ARB_EMPTY_STRIDE) }
Definition at line 1856 of file symtab.cxx.
Referenced by ARB_FLAGS_To_Str(), and Str_To_ARB_FLAGS().
(sizeof(ARBFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1868 of file symtab.cxx.
Definition at line 78 of file symtab.cxx.
Referenced by Copy_BLK(), dump_st(), ir_b_write_global_symtab(), New_BLK(), Print_global_symtab(), Reset_STB_flags(), Set_STB_align(), Set_STB_flags(), Set_STB_scninfo_idx(), Set_STB_section_idx(), Set_STB_size(), ST_Verify_Fields(), STB_align(), STB_flags(), STB_is_set(), STB_scninfo_idx(), STB_section_idx(), STB_size(), and WN_get_global_symtab().
{ BLKFLAGS_ToStrTblENTRY(BLK_SECTION), BLKFLAGS_ToStrTblENTRY(BLK_ROOT_BASE), BLKFLAGS_ToStrTblENTRY(BLK_IS_BASEREG), BLKFLAGS_ToStrTblENTRY(BLK_DECREMENT), BLKFLAGS_ToStrTblENTRY(BLK_EXEC), BLKFLAGS_ToStrTblENTRY(BLK_NOBITS), BLKFLAGS_ToStrTblENTRY(BLK_MERGE), BLKFLAGS_ToStrTblENTRY(BLK_COMPILER_LAYOUT) }
Definition at line 2007 of file symtab.cxx.
Referenced by BLK_FLAGS_To_Str(), and Str_To_BLK_FLAGS().
(sizeof(BLKFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 2018 of file symtab.cxx.
Definition at line 82 of file symtab.cxx.
Referenced by Get_Current_PU(), Preprocess_PU(), and Read_Local_Info().
Definition at line 81 of file symtab.cxx.
Referenced by cwh_stab_end_procs(), cwh_stab_set_symtab(), fei_proc_def(), fei_proc_parent(), New_Scope(), write_st::operator()(), Restore_Local_Symtab(), Save_Local_Symtab(), ST2F_decl_type(), ST2F_decl_var(), and ST2F_Declare_Tempvar().
Definition at line 2848 of file symtab.cxx.
Definition at line 2848 of file symtab.cxx.
{ FIFLAGS_ToStrTblENTRY(FI_IPA), FIFLAGS_ToStrTblENTRY(FI_NEEDS_LNO), FIFLAGS_ToStrTblENTRY(FI_HAS_INLINES), FIFLAGS_ToStrTblENTRY(FI_HAS_MP) }
Definition at line 1747 of file symtab.cxx.
Referenced by FILE_INFO_FLAGS_To_Str(), and Str_To_FILE_INFO_FLAGS().
(sizeof(FIFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1754 of file symtab.cxx.
Referenced by FILE_INFO_FLAGS_To_Str(), and Str_To_FILE_INFO_FLAGS().
Definition at line 64 of file symtab.cxx.
Referenced by Allocate_Object(), cwh_directive_set_LNO_flags(), cwh_directive_set_PU_flags(), cwh_stab_distrib_pragmas(), DRA_Add_Clone(), DRA_Initialize(), Fill_Align_Symbol(), main(), Preorder_Process_PUs(), Print_global_symtab(), Verify_GLOBAL_SYMTAB(), WN_get_global_symtab(), and write_file_info().
Definition at line 70 of file symtab.cxx.
Referenced by Adjust_Type_Size(), Adjusted_Type_Size(), FLD_from_IDX(), FLD_HANDLE::FLD_HANDLE(), FLD_Table_Size(), FLD_Verify_all(), ir_b_write_global_symtab(), Make_fld_iter(), New_FLD(), Stab_finalize(), Upc_Lower_SymbolTable(), and WN_get_global_symtab().
{ FLDFLAGS_ToStrTblENTRY(FLD_LAST_FIELD), FLDFLAGS_ToStrTblENTRY(FLD_EQUIVALENCE), FLDFLAGS_ToStrTblENTRY(FLD_BEGIN_UNION), FLDFLAGS_ToStrTblENTRY(FLD_END_UNION), FLDFLAGS_ToStrTblENTRY(FLD_BEGIN_MAP), FLDFLAGS_ToStrTblENTRY(FLD_END_MAP), FLDFLAGS_ToStrTblENTRY(FLD_IS_BIT_FIELD), FLDFLAGS_ToStrTblENTRY(FLD_IS_POINTER) }
Definition at line 1837 of file symtab.cxx.
Referenced by FLD_FLAGS_To_Str(), and Str_To_FLD_FLAGS().
(sizeof(FLDFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1848 of file symtab.cxx.
ST * Float_Preg |
Definition at line 2844 of file symtab.cxx.
Definition at line 932 of file symtab.cxx.
Referenced by TY_is_unique().
Definition at line 935 of file symtab.cxx.
Referenced by TY_is_unique().
Definition at line 934 of file symtab.cxx.
Referenced by TY_is_unique().
Definition at line 931 of file symtab.cxx.
Referenced by TY_is_unique().
Definition at line 933 of file symtab.cxx.
Referenced by TY_is_unique().
Definition at line 75 of file symtab.cxx.
Referenced by add_initv(), dump_inito(), dump_INITO_idx(), Finalize_Stack_Frame(), Find_INITO_For_Symbol(), INIT2F_Get_Initv_Array(), INITO_from_IDX(), INITO_st(), INITO_val(), INITV_index(), ir_put_wn(), Print_global_symtab(), Print_INITO(), IPO_SYMTAB::Promote_Statics(), Set_INITO_st_idx(), Set_INITO_val(), ST_has_initv(), ST_is_const_initialized_scalar(), Verify_GLOBAL_SYMTAB(), and WN_CopyNode().
Definition at line 74 of file symtab.cxx.
Referenced by add_initv(), IPO_SYMTAB::Clone_INITVs_For_EH(), Copy_INITV(), dump_INITV_idx(), For_all_initv(), INIT2F_array(), INIT2F_Collect_Initvs(), INIT2F_Get_Array_Segment(), INIT2F_Number_Of_Initvs(), INIT2F_ptr_or_scalar(), INIT2F_Skip_Padding(), INIT2F_substring(), INIT2F_Translate_Array_Ref(), INIT2F_Translate_Array_Value(), Initialize_Symbol_Tables(), INITV2C_array_dimension(), INITV2C_block_array(), INITV2C_block_struct(), INITV2C_block_union(), INITV2C_struct_fill(), INITV2C_symoff(), INITV2C_translate(), INITV_blk(), INITV_from_IDX(), INITV_Init_Block(), INITV_Init_Float(), INITV_Init_Integer(), INITV_Init_Label(), INITV_Init_Pad(), INITV_Init_String(), INITV_Init_Symdiff(), INITV_Init_Symoff(), INITV_kind(), INITV_lab(), INITV_lab1(), INITV_mtype(), INITV_next(), INITV_Next_Idx(), INITV_ofst(), INITV_pad(), INITV_repeat(), INITV_st(), INITV_st2(), INITV_Table_Size(), INITV_tc_val(), INITVKIND_translate(), INITVKIND_ty(), ir_b_write_global_symtab(), Irb_Init_Block(), Irb_Init_Label(), Irb_Init_Pad(), Irb_Init_predefined_integer(), Irb_Init_Symdiff(), Irb_Init_Symoff(), Irb_Init_Val(), Make_initv_iter(), New_INITV(), Set_INITV_blk(), Set_INITV_lab(), Set_INITV_lab1(), Set_INITV_next(), Set_INITV_ofst(), Set_INITV_st(), Set_INITV_st2(), ST_is_const_initialized_scalar(), TCON_For_Initv(), Verify_GLOBAL_SYMTAB(), and WN_get_global_symtab().
Definition at line 2844 of file symtab.cxx.
Referenced by Allocate_All_Formals().
std::vector<ST *> intrinsic_list [static] |
Definition at line 693 of file symtab.cxx.
Referenced by INTRINSIC_LIST_add(), and INTRINSIC_LIST_lookup().
Definition at line 77 of file symtab.cxx.
Referenced by Clear_LABEL_addr_passed(), Clear_LABEL_addr_saved(), Clear_LABEL_target_of_goto_outer_block(), cwh_io_cvt_tos_label_to_wn(), dump_label(), fei_new_select(), fei_new_select_case(), LABEL_addr_passed(), LABEL_addr_saved(), LABEL_begin_eh_range(), LABEL_end_eh_range(), LABEL_from_IDX(), LABEL_name(), LABEL_name_idx(), LABEL_target_of_goto_outer_block(), Set_LABEL_addr_passed(), Set_LABEL_addr_saved(), Set_LABEL_begin_eh_range(), Set_LABEL_end_eh_range(), and Set_LABEL_target_of_goto_outer_block().
std::pair<TY_POINTEE_KEY, TY_IDX> last_valid_map_entry [static] |
Definition at line 321 of file symtab.cxx.
Referenced by update_pointer_map::operator()(), Update_Pointer_Map(), and Validate_Pointer_Map().
{ LBLFLAGS_ToStrTblENTRY(LABEL_TARGET_OF_GOTO_OUTER_BLOCK), LBLFLAGS_ToStrTblENTRY(LABEL_ADDR_SAVED), LBLFLAGS_ToStrTblENTRY(LABEL_ADDR_PASSED) }
Definition at line 1876 of file symtab.cxx.
Referenced by LABEL_FLAGS_To_Str(), and Str_To_LABEL_FLAGS().
(sizeof(LBLFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1882 of file symtab.cxx.
{ LKIND_ToStrTblENTRY(LKIND_DEFAULT), LKIND_ToStrTblENTRY(LKIND_ASSIGNED), LKIND_ToStrTblENTRY(LKIND_BEGIN_EH_RANGE), LKIND_ToStrTblENTRY(LKIND_END_EH_RANGE), LKIND_ToStrTblENTRY(LKIND_BEGIN_HANDLER), LKIND_ToStrTblENTRY(LKIND_END_HANDLER), LKIND_ToStrTblENTRY(LKIND_TAG), LKIND_ToStrTblENTRY(LKIND_INTERNAL), LKIND_ToStrTblENTRY(LKIND_LOOP_GEN), LKIND_ToStrTblENTRY(LKIND_SELECT_GEN) }
Definition at line 1598 of file symtab.cxx.
Referenced by LABEL_Kind_Name(), and Name_To_LABEL_Kind().
Definition at line 2855 of file symtab.cxx.
Definition at line 2842 of file symtab.cxx.
Definition at line 2846 of file symtab.cxx.
TY_IDX_POINTER_MAP pointer_map [static] |
Definition at line 320 of file symtab.cxx.
Referenced by Find_Ty_Pointer(), update_pointer_map::operator()(), and Validate_Pointer_Map().
Definition at line 76 of file symtab.cxx.
Referenced by Preg_Name().
Definition at line 66 of file symtab.cxx.
Referenced by WN_Verifier::CALL_parent_LDID(), Clear_PU_decl_view(), Clear_PU_need_unparsed(), Copy_PU_Flags(), cwh_directive_fill_align(), cwh_dst_enter_pu(), cwh_dst_mk_func(), cwh_dst_mk_MAIN(), cwh_stab_adjust_name(), DRA_Add_Clone(), DRA_Finalize(), DRA_Mangle_Call_Site(), DRA_Mangle_Entry(), DRA_Processing(), dump_st(), fei_assert(), fei_object(), fei_proc_def(), fei_proc_interface(), Get_Current_PU(), Get_Scope_PU(), ir_b_write_global_symtab(), WN_Verifier::Is_return_register_of_call(), Make_pu_iter(), New_PU(), IPO_SYMTAB::New_Symtab(), PDGCS_do_proc(), ST::Print(), Print_global_symtab(), PU_adjust_addr_flags(), PU_decl_view(), PU_from_IDX(), PU_has_exc_scopes(), PU_in_elf_section(), PU_is_mainpu(), PU_lexical_level(), PU_need_unparsed(), PU_src_lang(), PU_Table_Size(), Read_Local_Info(), Set_PU_decl_view(), Set_PU_need_unparsed(), ST2C_basic_decl(), ST2C_func_header(), ST2F_Declare_Tempvar(), ST2F_func_header(), ST_pu_type(), ST_type(), ST_Verify_Fields(), IPO_SYMTAB::Update_Symtab(), W2F_Outfile_Translate_Pu(), WN2C_block(), WN2F_call(), WN2F_End_Routine_Strings(), and WN_get_global_symtab().
Definition at line 1937 of file symtab.cxx.
Referenced by PU_FLAGS_To_Str(), and Str_To_PU_FLAGS().
(sizeof(PUFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1981 of file symtab.cxx.
{ PUSRCLANGFLAGS_ToStrTblENTRY(PU_UNKNOWN_LANG), PUSRCLANGFLAGS_ToStrTblENTRY(PU_MIXED_LANG), PUSRCLANGFLAGS_ToStrTblENTRY(PU_C_LANG), PUSRCLANGFLAGS_ToStrTblENTRY(PU_CXX_LANG), PUSRCLANGFLAGS_ToStrTblENTRY(PU_F77_LANG), PUSRCLANGFLAGS_ToStrTblENTRY(PU_F90_LANG), PUSRCLANGFLAGS_ToStrTblENTRY(PU_JAVA_LANG) }
Definition at line 1989 of file symtab.cxx.
Referenced by PU_SRC_LANG_FLAGS_To_Str(), and Str_To_PU_SRC_LANG_FLAGS().
(sizeof(PUSRCLANGFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1999 of file symtab.cxx.
Definition at line 2848 of file symtab.cxx.
Definition at line 2844 of file symtab.cxx.
Referenced by cwh_stmt_return_scalar(), ST_Verify_Fields(), 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(), and WN_Create_StoP_Cvt().
Definition at line 65 of file symtab.cxx.
Referenced by Calc_Local_Area(), Change_ST_Of_Current_PU(), Change_Type_To_Shared(), Copy_ST(), Copy_ST_No_Base(), Create_Preg(), cwh_auxst_register_table(), cwh_auxst_un_register_table(), cwh_stab_common_ST(), Delete_Scope(), DRA_Add_Clone(), DST_enter_cloned_childs(), DST_enter_cloned_subroutine(), DST_enter_inlined_subroutine(), Early_Terminate(), fei_gen_st_for_type(), fei_object(), fei_proc_def(), fei_proc_parent(), fei_seg(), fei_user_type(), For_all(), For_all_until(), Get_Current_PU(), Get_Current_PU_ST(), SAVED_SCOPE::Get_Scope(), Get_Scope_PU(), Initialize_Symbol_Tables(), INITO_Table_Size(), ir_b2a_process_PUs(), ir_b_write_global_symtab(), LABEL_Table_Size(), main(), Make_inito_iter(), Make_label_iter(), Make_preg_iter(), Make_st_attr_iter(), Make_st_iter(), New_INITO(), New_LABEL(), New_PREG(), New_Scope(), New_ST(), New_ST_ATTR(), LABEL_TABLE::operator()(), PREG_TABLE::operator()(), ST_ATTR_TABLE::operator()(), write_st::operator()(), LABEL_TABLE::operator[](), PREG_TABLE::operator[](), ST_ATTR_TABLE::operator[](), PDGCS_do_proc(), Postprocess_PU(), PREG_Table_Size(), Preorder_Process_PUs(), Preprocess_PU(), Print_Inits(), Print_PU_Stats(), Print_symtab(), Read_Local_Info(), Reset_PREG_Table_Size(), Reset_ST_ATTR_Table_Size(), Restore_Local_Symtab(), Save_Local_Symtab(), SCOPE_CONTEXT::SCOPE_CONTEXT(), ST2F_Declare_Tempvar(), ST_ATTR_Table_Size(), ST_Table_Size(), Verify_GLOBAL_SYMTAB(), Verify_SYMTAB(), WN2F_Exit_PU_Block(), WN_get_global_symtab(), WN_get_symtab(), WN_Rename_Duplicate_Labels(), WN_write_symtab(), and SCOPE_CONTEXT::~SCOPE_CONTEXT().
Definition at line 2849 of file symtab.cxx.
Definition at line 2849 of file symtab.cxx.
Referenced by Allocate_Local_Spill_Sym().
Definition at line 79 of file symtab.cxx.
Referenced by Allocate_File_Statics(), dump_st_attr(), Find_Section_Name_For_ST(), Print_global_symtab(), and Verify_GLOBAL_SYMTAB().
Definition at line 67 of file symtab.cxx.
Referenced by Append_CallSite(), Collect_Goodies(), Copy_ST(), Copy_ST_No_Base(), cwh_data_emit_symbol_inits(), cwh_dst_enter_pu(), cwh_dst_subrange(), cwh_dst_substring_type(), cwh_types_array_temp_TY(), cwh_types_bound_WN(), DRA_EC_Array_Portion_Parms(), DST_enter_cloned_childs(), dump_st(), ANL_FUNC_ENTRY::Emit_Original_Construct(), fei_proc_body(), Fill_Align_Symbol(), Find_Address_Base(), Find_Alloca(), Find_Insertion_Point(), Find_Slink_Symbol(), Find_Special_Return_Address_Symbol(), IPO_CLONE::Fix_ST(), Free_Local_Info(), Get_Array_Dim_Size(), INITO_st(), INITV2C_symoff(), INITVKIND_translate(), ir_b2a_process_PUs(), ir_put_st(), ir_put_wn(), Pad_Global_Arrays(), PDGCS_do_proc(), ST::Print(), Print_global_symtab(), IPO_SYMTAB::Promote_Statics(), Prompf_Emit_Whirl_to_Source(), PUinfo_init_pu(), Read_Local_Info(), ReorderParms(), Restore_Local_Symtab(), Save_Local_Symtab(), Set_up_all_preg_symbols(), ST_base(), ST_class(), ST_from_IDX(), ST_full(), St_Idx_Is_Intconst(), ST_name(), ST_ptr(), ST_pu_type(), ST_sclass(), ST_strong(), ST_type(), ST_Verify_Sclass_Export(), Symbol_Name(), INITO::Verify(), ST_ATTR::Verify(), Verify_GLOBAL_SYMTAB(), W2F_Enter_Global_Symbols(), WN2C_call(), WN2C_func_entry(), WN2F_Append_Block_Data(), WN2F_Append_Symtab_Vars(), WN2F_call(), WN2F_Entry_Point(), WN2F_Exit_PU_Block(), WN2F_interface_blk(), WN2F_parm(), WN_CreateLdid(), WN_CreatePStid(), WN_CreateStid(), WN_get_proc_sym(), WN_pragma_asm_constraint(), WN_st(), and WN_write_symtab().
{ STATTR_ToStrTblENTRY(ST_ATTR_UNKNOWN), STATTR_ToStrTblENTRY(ST_ATTR_DEDICATED_REGISTER), STATTR_ToStrTblENTRY(ST_ATTR_SECTION_NAME) }
Definition at line 1588 of file symtab.cxx.
Referenced by Name_To_ST_ATTR_Kind(), and ST_ATTR_Kind_Name().
{ EnumToStr_t(CLASS_UNK, "C_UNK"), EnumToStr_t(CLASS_VAR, "C_VAR"), EnumToStr_t(CLASS_FUNC, "C_FUNC"), EnumToStr_t(CLASS_CONST, "C_CONST"), EnumToStr_t(CLASS_PREG, "C_PREG"), EnumToStr_t(CLASS_BLOCK, "C_BLOCK"), EnumToStr_t(CLASS_NAME, "C_NAME"), EnumToStr_t(CLASS_MODULE, "C_MODULE"), EnumToStr_t(CLASS_TYPE, "C_TYPE"), EnumToStr_t(CLASS_PARAMETER, "C_PARAMETER") }
Definition at line 1527 of file symtab.cxx.
Referenced by Class_Name(), and Name_To_Class().
{ EnumToStr_t(EXPORT_LOCAL, "X_LOCAL"), EnumToStr_t(EXPORT_LOCAL_INTERNAL, "X_LOCAL_INTERNAL"), EnumToStr_t(EXPORT_INTERNAL, "X_INTERNAL"), EnumToStr_t(EXPORT_HIDDEN, "X_HIDDEN"), EnumToStr_t(EXPORT_PROTECTED, "X_PROTECTED"), EnumToStr_t(EXPORT_PREEMPTIBLE, "X_PREEMPTIBLE"), EnumToStr_t(EXPORT_OPTIONAL, "X_OPTIONAL"), EnumToStr_t(EXPORT_INTRINSIC, "X_INTRINSIC"), }
Definition at line 1563 of file symtab.cxx.
Referenced by Export_Name(), and Name_To_Export().
{ STEXTFLAGS_ToStrTblENTRY(ST_IS_POINTER), STEXTFLAGS_ToStrTblENTRY(ST_IS_ALLOCATABLE), STEXTFLAGS_ToStrTblENTRY(ST_IS_IN_MODULE), STEXTFLAGS_ToStrTblENTRY(ST_IS_EXTERNAL), STEXTFLAGS_ToStrTblENTRY(ST_IS_BLOCK_DATA), STEXTFLAGS_ToStrTblENTRY(ST_IS_INTENT_IN_ARGUMENT), STEXTFLAGS_ToStrTblENTRY(ST_IS_INTENT_OUT_ARGUMENT), STEXTFLAGS_ToStrTblENTRY(ST_IS_ASSIGN_INTERFACE), STEXTFLAGS_ToStrTblENTRY(ST_IS_OPERATOR_INTERFACE), STEXTFLAGS_ToStrTblENTRY(ST_IS_U_OPERATOR_INTERFACE), STEXTFLAGS_ToStrTblENTRY(ST_IS_PRIVATE), STEXTFLAGS_ToStrTblENTRY(ST_IS_M_IMPORTED), STEXTFLAGS_ToStrTblENTRY(ST_IS_IMPLEM_LEVEL_TEMP), STEXTFLAGS_ToStrTblENTRY(ST_IS_PARAMETER), STEXTFLAGS_ToStrTblENTRY(ST_ONE_PER_PU), STEXTFLAGS_ToStrTblENTRY(ST_COPY_CONSTRUCTOR_ST), STEXTFLAGS_ToStrTblENTRY(ST_INITV_IN_OTHER_ST), STEXTFLAGS_ToStrTblENTRY(ST_IS_INITIALIZED_IN_F90), STEXTFLAGS_ToStrTblENTRY(ST_IS_DELETED), STEXTFLAGS_ToStrTblENTRY(ST_IS_COARRAY_CONCURRENT), STEXTFLAGS_ToStrTblENTRY(ST_KEEP_IN_OPENAD), }
Definition at line 1805 of file symtab.cxx.
Referenced by ST_EXT_FLAGS_To_Str(), and Str_To_ST_EXT_FLAGS().
(sizeof(STEXTFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1829 of file symtab.cxx.
Definition at line 1762 of file symtab.cxx.
Referenced by ST_FLAGS_To_Str(), and Str_To_ST_FLAGS().
(sizeof(STFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1797 of file symtab.cxx.
{ EnumToStr_t(SCLASS_UNKNOWN, "S_UNKNOWN"), EnumToStr_t(SCLASS_AUTO, "S_AUTO"), EnumToStr_t(SCLASS_FORMAL, "S_FORMAL"), EnumToStr_t(SCLASS_FORMAL_REF,"S_FORMAL_REF"), EnumToStr_t(SCLASS_PSTATIC, "S_PSTATIC"), EnumToStr_t(SCLASS_FSTATIC, "S_FSTATIC"), EnumToStr_t(SCLASS_COMMON, "S_COMMON"), EnumToStr_t(SCLASS_EXTERN, "S_EXTERN"), EnumToStr_t(SCLASS_UGLOBAL, "S_UGLOBAL"), EnumToStr_t(SCLASS_DGLOBAL, "S_DGLOBAL"), EnumToStr_t(SCLASS_TEXT, "S_TEXT"), EnumToStr_t(SCLASS_REG, "S_REG"), EnumToStr_t(SCLASS_CPLINIT, "S_CPLINIT"), EnumToStr_t(SCLASS_EH_REGION, "S_EH_REGION"), EnumToStr_t(SCLASS_EH_REGION_SUPP, "S_EH_REGION_SUPP"), EnumToStr_t(SCLASS_DISTR_ARRAY, "S_DISTR_ARRAY"), EnumToStr_t(SCLASS_COMMENT, "S_COMMENT"), EnumToStr_t(SCLASS_THREAD_PRIVATE_FUNCS, "S_THREAD_PRIVATE_FUNCS"), EnumToStr_t(SCLASS_MODULE, "S_MODULE"), EnumToStr_t(SCLASS_COMMON1, "S_COMMON1"), }
Definition at line 1540 of file symtab.cxx.
Referenced by Name_To_Sclass(), and Sclass_Name().
Definition at line 73 of file symtab.cxx.
Referenced by cwh_dst_mk_const(), Enter_tcon(), get_TCON_size(), Init_Constab(), INITV_tc_val(), INITVKIND_translate(), ir_b_write_global_symtab(), Make_tcon_iter(), New_Const_Sym(), ST::Print(), Print_global_symtab(), Print_INITV(), ST_is_const_initialized_scalar(), ST_tcon_val(), ST_Verify_Fields(), STC_val(), TCON_from_IDX(), TCON_Table_Size(), Verify_GLOBAL_SYMTAB(), and WN_get_global_symtab().
TY_EQUIV_VISIT_ORDER Ty_Equiv_Visit1 [static] |
Definition at line 946 of file symtab.cxx.
Referenced by Pop_Equiv_Visit_Order(), and Push_Equiv_Visit_Order().
TY_EQUIV_VISIT_ORDER Ty_Equiv_Visit2 [static] |
Definition at line 947 of file symtab.cxx.
Referenced by Pop_Equiv_Visit_Order(), and Push_Equiv_Visit_Order().
UINT32 Ty_Equiv_Visit_Number = 0 [static] |
Definition at line 948 of file symtab.cxx.
Referenced by Pop_Equiv_Visit_Order(), and Push_Equiv_Visit_Order().
Definition at line 503 of file symtab.cxx.
Referenced by Make_Shared_Type().
Definition at line 68 of file symtab.cxx.
Referenced by Copy_TY(), Create_Special_Global_Symbols(), cwh_types_unique_TY(), For_all(), For_all_until(), ir_b_write_global_symtab(), Make_Function_Type(), New_TY(), TYPE_TABLE::operator&(), TYPE_TABLE::operator[](), TY_Table_Size(), Upc_Lower_SymbolTable(), Update_Pointer_Map(), and WN_get_global_symtab().
Definition at line 69 of file symtab.cxx.
Referenced by Adjusted_Alignment(), Array_TY_OK(), Clear_TY_anonymous(), Clear_TY_AR_const_lbnd(), Clear_TY_AR_const_stride(), Clear_TY_AR_const_ubnd(), Clear_TY_has_prototype(), Clear_TY_is_character(), Clear_TY_is_co_array(), Clear_TY_is_external(), Clear_TY_is_f90_assumed_shape(), Clear_TY_is_f90_assumed_size(), Clear_TY_is_f90_deferred_shape(), Clear_TY_is_f90_pointer(), Clear_TY_is_logical(), Clear_TY_is_non_pod(), Clear_TY_is_packed(), Clear_TY_is_relaxed(), Clear_TY_is_sequence(), Clear_TY_is_shared(), Clear_TY_is_strict(), Clear_TY_is_union(), Clear_TY_is_varargs(), Clear_TY_is_written(), Clear_TY_no_ansi_alias(), Clear_TY_not_in_union(), Clear_TY_ptr_as_array(), Clear_TY_return_in_mem(), Clear_TY_return_to_param(), Clear_TY_split(), Construct_Fld_Path(), Copy_TY(), cwh_addr_array(), cwh_addr_array1(), cwh_addr_compute_stride_fudge_factor(), cwh_addr_temp_section(), cwh_auxst_set_tylist(), cwh_cray_type_from_TY(), cwh_dope_get_dope_fudge_factor(), cwh_dope_initialize(), cwh_dst_array_type(), cwh_dst_basetype(), cwh_dst_dope_bounds(), cwh_dst_has_dope(), cwh_dst_is_character_TY(), cwh_dst_stride_kind(), cwh_dst_struct_has_DST(), cwh_dst_struct_type(), cwh_inline_allocate(), cwh_io_ioitem(), cwh_stab_altres_offset(), cwh_stab_split_ST(), cwh_types_array_TY(), cwh_types_array_util(), cwh_types_dope_basic_TY(), cwh_types_dope_dims_FLD(), cwh_types_dope_rank(), cwh_types_dope_TY(), cwh_types_form_misaligned_TY(), cwh_types_is_character(), cwh_types_is_character_function(), cwh_types_is_logical(), cwh_types_mk_character_TY(), cwh_types_mk_element(), cwh_types_mk_f90_pointer_ty(), cwh_types_mk_logical_TY(), cwh_types_mk_misaligned_TY(), cwh_types_mk_namelist_TY(), cwh_types_mk_procedure_TY(), cwh_types_mk_struct(), cwh_types_mk_unique_pointer_TY(), cwh_types_scalar_TY(), cwh_types_shared_dope(), cwh_types_WN_TY(), DRA_EC_Array_Portion_Parms(), DRA_EC_Declare_Types(), DRA_Encode_Parameter(), DRA_Preprocess_Call_Site(), DRA_Preprocess_Entry(), dump_ty(), Equivalent_Types(), fei_array_dimen(), fei_co_array_dimen(), fei_dv_deref(), fei_get_pdg_type(), fei_member(), fei_nseq_subscr(), fei_pstore(), fei_redistribute(), fei_set_dv_hdr_fld(), fei_static_subscripts(), fei_store(), fei_user_type(), WN_Verifier::Field_id_valid(), Fill_Align_Symbol(), Find_Upc_Vars(), Unparse_Target_FTN::Func_Return_Character(), Unparse_Target_C::Func_Return_To_Param(), Unparse_Target_FTN::Func_Return_To_Param(), Unparse_Target_C::Func_Return_Type(), Get_Array_Dim_Size(), Get_Return_Info(), INIT2F_Get_Array_Segment(), INIT2F_structured(), INIT2F_translate(), Initialize_Special_Global_Symbols(), INITV2C_block_struct(), INITV2C_block_union(), INITVKIND_const(), INITVKIND_ty(), INITVKIND_val(), Invalid_Pointer_Map_Entry(), Is_Composite_Type(), is_f90_pointer(), WN_Verifier::Is_return_register_of_call(), Is_Simple_Type(), Is_Structure_Type(), Known_Size(), WN_Verifier::LDA_ty_not_NULL(), Make_ty_iter(), New_DRA(), Predefined_Void_Type(), ST::Print(), Print_global_symtab(), Print_TY(), Print_TY_IDX_verbose(), ReorderParms(), Set_TY_anonymous(), Set_TY_AR_const_lbnd(), Set_TY_AR_const_stride(), Set_TY_AR_const_ubnd(), Set_TY_AR_lbnd_val(), Set_TY_AR_lbnd_var(), Set_TY_AR_stride_val(), Set_TY_AR_stride_var(), Set_TY_AR_ubnd_val(), Set_TY_AR_ubnd_var(), Set_TY_arb(), Set_TY_block_size(), Set_TY_copy_constructor(), Set_TY_etype(), Set_TY_flags(), Set_TY_fld(), Set_TY_has_prototype(), Set_TY_is_character(), Set_TY_is_co_array(), Set_TY_is_external(), Set_TY_is_f90_assumed_shape(), Set_TY_is_f90_assumed_size(), Set_TY_is_f90_deferred_shape(), Set_TY_is_f90_pointer(), Set_TY_is_logical(), Set_TY_is_non_pod(), Set_TY_is_packed(), Set_TY_is_relaxed(), Set_TY_is_sequence(), Set_TY_is_shared(), Set_TY_is_strict(), Set_TY_is_union(), Set_TY_is_varargs(), Set_TY_is_written(), Set_TY_kind(), Set_TY_mtype(), Set_TY_name_idx(), Set_TY_no_ansi_alias(), Set_TY_not_in_union(), Set_TY_pointed(), Set_TY_ptr_as_array(), Set_TY_return_in_mem(), Set_TY_return_to_param(), Set_TY_size(), Set_TY_split(), Set_TY_tylist(), Set_up_all_preg_symbols(), ST2C_Get_Common_Ty2c_List(), ST2F_decl_var(), ST2F_use_const(), ST_mtype(), Stab_Compare_Types(), Stab_finalize(), Stab_Get_Mload_Ty(), Stab_Is_Equivalence_Block(), Stab_Is_Equivalenced_Struct(), TY2C_complete_struct(), TY2C_get_field_info(), TY2C_Translate_Structure(), TY2F_2_struct(), TY2F_array(), TY2F_array_for_pointer(), TY2F_Declare_Common_Flds(), TY2F_Equivalence_FldList(), TY2F_Equivalence_List(), TY2F_Get_Fld_Path(), TY2F_invalid(), TY2F_List_Common_Flds(), TY2F_scalar(), TY2F_struct(), TY2F_translate(), TY2F_Translate_Common(), TY2F_Translate_Equivalence(), TY2F_Translate_Purple_Array(), TY2F_Translate_Structure(), TY2F_void(), TY_anonymous(), TY_AR_const_lbnd(), TY_AR_const_stride(), TY_AR_const_ubnd(), TY_AR_etype(), TY_AR_last_dimen(), TY_AR_lbnd_val(), TY_AR_lbnd_var(), TY_AR_ndims(), TY_AR_stride_val(), TY_AR_stride_var(), TY_AR_ubnd_val(), TY_AR_ubnd_var(), TY_arb(), TY_are_equivalent(), TY_array_hash(), TY_block_size(), TY_copy_constructor(), TY_etype(), TY_flags(), TY_fld(), TY_from_IDX(), TY_fun_hash(), TY_has_prototype(), TY_hash_func(), TY_is_character(), TY_is_co_array(), TY_is_external(), TY_is_f90_assumed_shape(), TY_is_f90_assumed_size(), TY_is_f90_deferred_shape(), TY_is_f90_pointer(), TY_is_logical(), TY_is_non_pod(), TY_is_packed(), TY_is_relaxed(), TY_is_sequence(), TY_is_shared(), TY_is_strict(), TY_is_union(), TY_is_unique(), TY_is_varargs(), TY_is_written(), TY_kind(), TY_mtype(), TY_name(), TY_name_idx(), TY_no_ansi_alias(), TY_not_in_union(), TY_Of_Expr(), TY_parms(), TY_pointed(), TY_ptr_as_array(), TY_ret_type(), TY_return_in_mem(), TY_return_to_param(), TY_size(), TY_split(), TY_tylist(), Upc_Lower_SymbolTable(), Verify_GLOBAL_SYMTAB(), W2C_Enter_Global_Symbols(), W2C_Translate_Istore_Lhs(), W2F_Enter_Global_Symbols(), WN2C_Append_Symtab_Types(), WN2C_array(), WN2C_ldid(), WN2F_array(), WN2F_arrsection(), WN2F_Get_Substring_Info(), WN2F_istore(), WN2F_ldid(), WN2F_parm(), WN2F_pstid(), WN2F_pstore(), WN2F_stid(), WN_Is_Volatile_Mem(), WN_object_ty(), and WN_Tree_Type().
{ TYFLAGS_ToStrTblENTRY(TY_IS_CHARACTER), TYFLAGS_ToStrTblENTRY(TY_IS_LOGICAL), TYFLAGS_ToStrTblENTRY(TY_IS_UNION), TYFLAGS_ToStrTblENTRY(TY_IS_PACKED), TYFLAGS_ToStrTblENTRY(TY_PTR_AS_ARRAY), TYFLAGS_ToStrTblENTRY(TY_ANONYMOUS), TYFLAGS_ToStrTblENTRY(TY_SPLIT), TYFLAGS_ToStrTblENTRY(TY_IS_F90_POINTER), TYFLAGS_ToStrTblENTRY(TY_NOT_IN_UNION), TYFLAGS_ToStrTblENTRY(TY_NO_ANSI_ALIAS), TYFLAGS_ToStrTblENTRY(TY_IS_NON_POD), TYFLAGS_ToStrTblENTRY(TY_IS_F90_ASSUMED_SHAPE), TYFLAGS_ToStrTblENTRY(TY_IS_F90_ASSUMED_SIZE), TYFLAGS_ToStrTblENTRY(TY_IS_F90_DEFERRED_SHAPE), TYFLAGS_ToStrTblENTRY(TY_IS_EXTERNAL), TYFLAGS_ToStrTblENTRY(TY_IS_SEQUENCE), TYFLAGS_ToStrTblENTRY(TY_IS_SHARED), TYFLAGS_ToStrTblENTRY(TY_IS_STRICT), TYFLAGS_ToStrTblENTRY(TY_IS_RELAXED), TYFLAGS_ToStrTblENTRY(TY_IS_CO_ARRAY), TYFLAGS_ToStrTblENTRY(TY_IS_WRITTEN), TYFLAGS_ToStrTblENTRY(TY_RETURN_IN_MEM) }
Definition at line 1890 of file symtab.cxx.
Referenced by Str_To_TY_FLAGS(), and TY_FLAGS_To_Str().
(sizeof(TYFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1915 of file symtab.cxx.
{ EnumToStr_t(KIND_INVALID, "INVALID"), EnumToStr_t(KIND_SCALAR, "SCALAR"), EnumToStr_t(KIND_ARRAY, "ARRAY"), EnumToStr_t(KIND_STRUCT, "STRUCT"), EnumToStr_t(KIND_POINTER, "POINTER"), EnumToStr_t(KIND_FUNCTION, "FUNCTION"), EnumToStr_t(KIND_VOID, "VOID"), }
Definition at line 1574 of file symtab.cxx.
Referenced by Kind_Name(), and Name_To_Kind().
Definition at line 71 of file symtab.cxx.
Referenced by Change_Type_To_Shared(), cwh_auxst_set_tylist(), cwh_types_is_character_function(), cwh_types_mk_procedure_TY(), Declare_Func_N_Arg(), Declare_Function(), Equivalent_Types(), ir_b_write_global_symtab(), Make_Function_Type(), Make_tylist_iter(), New_TYLIST(), ST::Print(), TY::Print(), Setup_Parameter_Locations(), ST2C_func_header(), ST2F_decl_var(), Stab_finalize(), TY2C_prototype_params(), TY_ret_type(), TYLIST_are_equivalent(), TYLIST_from_IDX(), TYLIST_Table_Size(), TY::Verify(), WN2C_call(), and WN_get_global_symtab().
{ TYPUFLAGS_ToStrTblENTRY(TY_RETURN_TO_PARAM), TYPUFLAGS_ToStrTblENTRY(TY_IS_VARARGS), TYPUFLAGS_ToStrTblENTRY(TY_HAS_PROTOTYPE) }
Definition at line 1923 of file symtab.cxx.
Referenced by Str_To_TY_PU_FLAGS(), and TY_PU_FLAGS_To_Str().
(sizeof(TYPUFLAGS_ToStrTbl) / sizeof(FlagToStr_t))
Definition at line 1929 of file symtab.cxx.
Definition at line 2848 of file symtab.cxx.
Referenced by Unparse_Target_C::Func_Return_Type(), and INITVKIND_ty().