osprey/common/com/symtab.h File Reference

#include <ext/slist>
#include "segmented_array.h"
#include "cmplr_segmented_array.h"
#include "symtab_idx.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"
#include "mtypes.h"

Include dependency graph for symtab.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define STB_decrement(s)   (STB_is_set (s, BLK_DECREMENT))
#define Set_STB_decrement(s)   (Set_STB_flags (s, BLK_DECREMENT))
#define Reset_STB_decrement(s)   (Reset_STB_flags (s, BLK_DECREMENT))
#define STB_section(s)   (STB_is_set (s, BLK_SECTION))
#define Set_STB_section(s)   (Set_STB_flags (s, BLK_SECTION))
#define Reset_STB_section(s)   (Reset_STB_flags (s, BLK_SECTION))
#define STB_root_base(s)   (STB_is_set (s, BLK_ROOT_BASE))
#define Set_STB_root_base(s)   (Set_STB_flags (s, BLK_ROOT_BASE))
#define Reset_STB_root_base(s)   (Reset_STB_flags (s, BLK_ROOT_BASE))
#define STB_is_basereg(s)   (STB_is_set (s, BLK_IS_BASEREG))
#define Set_STB_is_basereg(s)   (Set_STB_flags (s, BLK_IS_BASEREG))
#define Reset_STB_is_basereg(s)   (Reset_STB_flags (s, BLK_IS_BASEREG))
#define STB_exec(s)   (STB_is_set (s, BLK_EXEC))
#define Set_STB_exec(s)   (Set_STB_flags (s, BLK_EXEC))
#define Reset_STB_exec(s)   (Reset_STB_flags (s, BLK_EXEC))
#define STB_nobits(s)   (STB_is_set (s, BLK_NOBITS))
#define Set_STB_nobits(s)   (Set_STB_flags (s, BLK_NOBITS))
#define Reset_STB_nobits(s)   (Reset_STB_flags (s, BLK_NOBITS))
#define STB_merge(s)   (STB_is_set (s, BLK_MERGE))
#define Set_STB_merge(s)   (Set_STB_flags (s, BLK_MERGE))
#define Reset_STB_merge(s)   (Reset_STB_flags (s, BLK_MERGE))
#define STB_compiler_layout(s)   (STB_is_set (s, BLK_COMPILER_LAYOUT))
#define Set_STB_compiler_layout(s)   (Set_STB_flags (s, BLK_COMPILER_LAYOUT))
#define Reset_STB_compiler_layout(s)   (Reset_STB_flags (s, BLK_COMPILER_LAYOUT))

Functions/Subroutines

STNew_ST (SYMTAB_IDX level)
STNew_ST ()
void ST_Init (ST *st, STR_IDX n, ST_CLASS sc, ST_SCLASS stc, ST_EXPORT exp, TY_IDX t)
void Set_ST_classes (ST *s, ST_CLASS c, ST_SCLASS sc)
UINT32 ST_Table_Size (SYMTAB_IDX level)
char * ST_name (ST_IDX idx)
ST_CLASS ST_class (const ST_IDX s)
ST_SCLASS ST_sclass (const ST_IDX s)
TY_IDX ST_type (const ST_IDX s)
TYPE_ID ST_mtype (const ST *s)
TYPE_ID ST_btype (const ST *s)
void Set_ST_base (ST &s, ST &base)
STST_base (const ST &s)
STST_strong (const ST &s)
STST_full (const ST &s)
TCONST_tcon_val (const ST *s)
BOOL ST_is_preemptible (const ST *s)
BOOL ST_is_export_local (const ST *s)
BOOL ST_is_export_hidden (const ST *s)
TY_IDX ST_pu_type (const ST *s)
SYMTAB_IDX ST_level (const ST *s)
UINT32 ST_index (const ST *s)
BOOL Has_Base_Block (const ST *s)
BOOL Has_Strong_Symbol (const ST *s)
UINT INITO_Table_Size (SYMTAB_IDX level)
UINT INITV_Table_Size ()
PUNew_PU (PU_IDX &pu)
void PU_Init (PU &pu, TY_IDX prototype, SYMTAB_IDX level)
UINT PU_Table_Size ()
BOOL PU_has_nested (const PU &pu)
BOOL PU_ftn_lang (const PU &pu)
SYMTAB_IDX PU_lexical_level (const ST *st)
STGet_Current_PU_ST ()
PUGet_Current_PU ()
PUGet_Scope_PU (UINT level)
TYNew_TY (TY_IDX &ty_idx)
void TY_Init (TY &ty, UINT64 s, TY_KIND k, TYPE_ID t, STR_IDX n)
UINT32 TY_Table_Size ()
UINT64 TY_size (TY_IDX ty_idx)
TY_KIND TY_kind (TY_IDX ty_idx)
TYPE_ID TY_mtype (TY_IDX ty_idx)
char * TY_name (TY_IDX ty_idx)
TY_IDX TY_ret_type (const TY &ty)
TY_IDX TY_ret_type (const TY_IDX ty_idx)
TYLIST_IDX TY_parms (const TY &ty)
TYLIST_IDX TY_parms (const TY_IDX ty_idx)
BOOL Is_Simple_Type (const TY &ty)
BOOL Is_Simple_Type (TY_IDX ty)
BOOL Is_Structure_Type (const TY &ty)
BOOL Is_Structure_Type (TY_IDX ty)
BOOL Is_Composite_Type (const TY &ty)
BOOL Is_Composite_Type (TY_IDX ty)
FLD_HANDLE New_FLD ()
void FLD_Init (FLD_HANDLE f, STR_IDX _name, TY_IDX _type, UINT64 _ofst)
UINT FLD_Table_Size ()
ARB_HANDLE New_ARB ()
void ARB_Init (ARB_HANDLE arb_h, INT64 lbnd, INT64 ubnd, INT64 stride)
UINT ARB_Table_Size ()
TYLISTNew_TYLIST (TYLIST_IDX &tylist)
UINT32 TYLIST_Table_Size ()
LABELNew_LABEL (SYMTAB_IDX scope, LABEL_IDX &label_idx)
void LABEL_Init (LABEL &label, STR_IDX name_idx, LABEL_KIND kind)
UINT32 LABEL_Table_Size (SYMTAB_IDX level)
char * LABEL_name (LABEL_IDX idx)
PREGNew_PREG_explicit (SCOPE *scope_tab, SYMTAB_IDX scope, PREG_IDX &p)
PREGNew_PREG (SYMTAB_IDX scope, PREG_IDX &p)
UINT32 PREG_Table_Size_explicit (SCOPE *scope_tab, SYMTAB_IDX level)
UINT32 PREG_Table_Size (SYMTAB_IDX level)
void Reset_PREG_Table_Size_explicit (SCOPE *scope_tab, SYMTAB_IDX level, UINT32 size)
void Reset_PREG_Table_Size (SYMTAB_IDX level, UINT32 size)
ST_ATTRNew_ST_ATTR_explicit (SCOPE *scope_tab, SYMTAB_IDX scope, ST_ATTR_IDX &p)
ST_ATTRNew_ST_ATTR (SYMTAB_IDX scope, ST_ATTR_IDX &p)
void ST_ATTR_Init (ST_ATTR &st_attr, ST_IDX st_idx, ST_ATTR_KIND akind, UINT64 val)
UINT32 ST_ATTR_Table_Size_explicit (SCOPE *scope_tab, SYMTAB_IDX level)
UINT32 ST_ATTR_Table_Size (SYMTAB_IDX level)
void Reset_ST_ATTR_Table_Size_explicit (SCOPE *scope_tab, SYMTAB_IDX level, UINT32 size)
void Reset_ST_ATTR_Table_Size (SYMTAB_IDX level, UINT32 size)
TCON_IDX Enter_tcon (const TCON &tcon)
void Init_Constab (void)
UINT32 TCON_Table_Size ()
BOOL Is_Global_Symbol (const ST *s)
BOOL Is_Local_Symbol (const ST *s)
BLKNew_BLK (BLK_IDX &blk_idx)
UINT64 STB_size (const ST *s)
void Set_STB_size (ST *s, UINT64 size)
UINT STB_align (const ST *s)
void Set_STB_align (ST *s, UINT align)
UINT16 STB_section_idx (const ST *s)
void Set_STB_section_idx (ST *s, UINT16 sec)
UINT16 STB_scninfo_idx (const ST *s)
void Set_STB_scninfo_idx (ST *s, UINT16 scn)
UINT16 STB_flags (const ST *s)
BOOL STB_is_set (const ST *s, UINT16 flags)
void Set_STB_flags (ST *s, UINT16 flags)
void Reset_STB_flags (ST *s, UINT16 flags)

Variables

const UINT32 MAX_PREDEFINED_TCON_IDX = 2


Define Documentation

#define Reset_STB_compiler_layout (  )     (Reset_STB_flags (s, BLK_COMPILER_LAYOUT))

Definition at line 729 of file symtab.h.

#define Reset_STB_decrement (  )     (Reset_STB_flags (s, BLK_DECREMENT))

Definition at line 708 of file symtab.h.

Referenced by Set_Direction().

#define Reset_STB_exec (  )     (Reset_STB_flags (s, BLK_EXEC))

Definition at line 720 of file symtab.h.

#define Reset_STB_is_basereg (  )     (Reset_STB_flags (s, BLK_IS_BASEREG))

Definition at line 717 of file symtab.h.

#define Reset_STB_merge (  )     (Reset_STB_flags (s, BLK_MERGE))

Definition at line 726 of file symtab.h.

#define Reset_STB_nobits (  )     (Reset_STB_flags (s, BLK_NOBITS))

Definition at line 723 of file symtab.h.

#define Reset_STB_root_base (  )     (Reset_STB_flags (s, BLK_ROOT_BASE))

Definition at line 714 of file symtab.h.

Referenced by EMT_End_File().

#define Reset_STB_section (  )     (Reset_STB_flags (s, BLK_SECTION))

Definition at line 711 of file symtab.h.

Referenced by EMT_End_File().

#define Set_STB_compiler_layout (  )     (Set_STB_flags (s, BLK_COMPILER_LAYOUT))

Definition at line 728 of file symtab.h.

Referenced by EMT_End_File().

#define Set_STB_decrement (  )     (Set_STB_flags (s, BLK_DECREMENT))

Definition at line 707 of file symtab.h.

Referenced by Create_And_Set_ST_Base(), and Set_Direction().

#define Set_STB_exec (  )     (Set_STB_flags (s, BLK_EXEC))

Definition at line 719 of file symtab.h.

Referenced by Get_Section_ST().

#define Set_STB_is_basereg (  )     (Set_STB_flags (s, BLK_IS_BASEREG))

Definition at line 716 of file symtab.h.

Referenced by Create_Base_Reg(), and Get_Section_ST().

#define Set_STB_merge (  )     (Set_STB_flags (s, BLK_MERGE))

Definition at line 725 of file symtab.h.

Referenced by Get_Section_ST().

#define Set_STB_nobits (  )     (Set_STB_flags (s, BLK_NOBITS))

Definition at line 722 of file symtab.h.

Referenced by Get_Section_ST().

#define Set_STB_root_base (  )     (Set_STB_flags (s, BLK_ROOT_BASE))

Definition at line 713 of file symtab.h.

Referenced by Create_Base_Reg(), and Get_Section_ST().

#define Set_STB_section (  )     (Set_STB_flags (s, BLK_SECTION))

Definition at line 710 of file symtab.h.

Referenced by Get_Section_ST().

#define STB_compiler_layout (  )     (STB_is_set (s, BLK_COMPILER_LAYOUT))

#define STB_decrement (  )     (STB_is_set (s, BLK_DECREMENT))

Definition at line 706 of file symtab.h.

Referenced by Allocate_Space(), Assign_Offset(), and Get_Direction().

#define STB_exec (  )     (STB_is_set (s, BLK_EXEC))

Definition at line 718 of file symtab.h.

Referenced by Init_Section().

#define STB_is_basereg (  )     (STB_is_set (s, BLK_IS_BASEREG))

Definition at line 715 of file symtab.h.

Referenced by ST_Verify_Fields(), and Symbol_Is_Base_Register().

#define STB_merge (  )     (STB_is_set (s, BLK_MERGE))

Definition at line 724 of file symtab.h.

Referenced by Expand_ST_into_base_and_ofst(), and lower_bit_field_id().

#define STB_nobits (  )     (STB_is_set (s, BLK_NOBITS))

Definition at line 721 of file symtab.h.

Referenced by Change_Section_Origin(), EMT_End_File(), Init_Section(), and Process_Bss_Data().

#define STB_root_base (  )     (STB_is_set (s, BLK_ROOT_BASE))

Definition at line 712 of file symtab.h.

#define STB_section (  )     (STB_is_set (s, BLK_SECTION))


Function Documentation

void ARB_Init ( ARB_HANDLE  arb_h,
INT64  lbnd,
INT64  ubnd,
INT64  stride 
) [inline]

UINT ARB_Table_Size (  )  [inline]

TCON_IDX Enter_tcon ( const TCON tcon  ) 

Definition at line 2791 of file symtab.cxx.

References SEGMENTED_ARRAY< T, block_size >::Insert(), MTYPE_F4, MTYPE_F8, and TCON_ty.

Referenced by OCCUR_REPLACEMENT::_replace_by_const(), CGSPILL_Attach_Floatconst_Remat(), CGSPILL_Load_From_Memory(), CR_CreateFPconst(), Create_Const_ST(), Create_Global_ST(), Create_Unroll_Copy(), cwh_stab_const_ST(), Do_EH_Tables(), Exp_Immediate(), Exp_Immediate_Int(), Exp_Intrinsic_Op(), Exp_Select_And_Condition(), Expand_Abs(), Expand_Add(), Expand_Expr(), Expand_Fast_Sqrt(), Expand_Int_To_Long_Double(), Expand_Long_Double_To_Int(), Expand_Neg(), Expand_Recip(), Expand_Unsigned_Int_To_Float_m32(), fei_addr_con(), fei_arith_con(), Gen_Const_Symbol_TN(), Gen_String_Sym(), INITV_Init_Float(), INITV_Init_Integer(), INITV_Init_Integer_2(), INITV_Init_String(), ir_b_write_tree(), Irb_Init_Complex(), Irb_Init_Complex_4(), Irb_Init_Complex_Quad(), Irb_Init_Float(), Irb_Init_Float_4(), Irb_Init_Integer_Of_Type(), Irb_Init_Quad(), Irb_Init_String(), Make_Const(), IPO_INLINE::Process_OPR_REGION(), COPYPROP::Prop_const_init_scalar(), Setup_Entry_For_EH(), Simd_Vectorize_Constants(), Simd_Vectorize_Induction_Variables(), Simd_Vectorize_Scalar_Reduction(), Simplify_value(), TCON_from_stack(), WFE_Add_Aggregate_Init_Address(), WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Real(), WFE_Address_Of(), WFE_Expand_Expr(), AGGINIT::WGEN_Add_Aggregate_Init_Address(), AGGINIT::WGEN_Add_Aggregate_Init_Complex(), AGGINIT::WGEN_Add_Aggregate_Init_Real(), WGEN_Address_Of(), WGEN_Expand_Expr(), and WGEN_Expand_Pragma().

void FLD_Init ( FLD_HANDLE  f,
STR_IDX  _name,
TY_IDX  _type,
UINT64  _ofst 
) [inline]

UINT FLD_Table_Size (  )  [inline]

PU& Get_Current_PU (  )  [inline]

Definition at line 299 of file symtab.h.

References Current_pu, CURRENT_SYMTAB, Pu_Table, Scope_tab, and ST_pu().

ST* Get_Current_PU_ST (  )  [inline]

Definition at line 293 of file symtab.h.

References CURRENT_SYMTAB, Scope_tab, and SCOPE::st.

PU& Get_Scope_PU ( UINT  level  )  [inline]

Definition at line 310 of file symtab.h.

References Pu_Table, Scope_tab, and ST_pu().

Referenced by Find_Slink_Symbol(), get_DECL_ST(), WGEN_Expand_Goto(), and WGEN_Finish_Function().

BOOL Has_Base_Block ( const ST s  )  [inline]

Definition at line 220 of file symtab.h.

References ST_base_idx(), and ST_st_idx.

BOOL Has_Strong_Symbol ( const ST s  )  [inline]

Definition at line 225 of file symtab.h.

References SCLASS_EXTERN, ST_is_weak_symbol, ST_sclass, and ST_strong.

Referenced by EMT_End_File().

void Init_Constab ( void   )  [inline]

UINT INITO_Table_Size ( SYMTAB_IDX  level  )  [inline]

UINT INITV_Table_Size (  )  [inline]

Definition at line 242 of file symtab.h.

References Initv_Table, and SEGMENTED_ARRAY< T, block_size >::Size().

Referenced by INITO::Verify(), and Verify_GLOBAL_SYMTAB().

BOOL Is_Composite_Type ( TY_IDX  ty  )  [inline]

Definition at line 415 of file symtab.h.

References Is_Composite_Type(), and Ty_Table.

BOOL Is_Composite_Type ( const TY ty  )  [inline]

Definition at line 404 of file symtab.h.

References FALSE, KIND_ARRAY, KIND_STRUCT, TRUE, and TY_kind.

Referenced by Adjusted_Alignment(), Is_Composite_Type(), and Mtype_For_Type_Offset().

BOOL Is_Global_Symbol ( const ST s  )  [inline]

Definition at line 616 of file symtab.h.

References GLOBAL_SYMTAB, and ST_level.

BOOL Is_Local_Symbol ( const ST s  )  [inline]

Definition at line 619 of file symtab.h.

References CURRENT_SYMTAB, and ST_level.

BOOL Is_Simple_Type ( TY_IDX  ty  )  [inline]

Definition at line 391 of file symtab.h.

References Is_Simple_Type(), and Ty_Table.

BOOL Is_Simple_Type ( const TY ty  )  [inline]

BOOL Is_Structure_Type ( TY_IDX  ty  )  [inline]

Definition at line 400 of file symtab.h.

References Is_Structure_Type(), and Ty_Table.

BOOL Is_Structure_Type ( const TY ty  )  [inline]

void LABEL_Init ( LABEL label,
STR_IDX  name_idx,
LABEL_KIND  kind 
) [inline]

char* LABEL_name ( LABEL_IDX  idx  )  [inline]

Definition at line 509 of file symtab.h.

References LABEL_name, and Label_Table.

UINT32 LABEL_Table_Size ( SYMTAB_IDX  level  )  [inline]

ARB_HANDLE New_ARB (  )  [inline]

BLK& New_BLK ( BLK_IDX blk_idx  )  [inline]

FLD_HANDLE New_FLD (  )  [inline]

LABEL& New_LABEL ( SYMTAB_IDX  scope,
LABEL_IDX label_idx 
) [inline]

Definition at line 483 of file symtab.h.

References LABEL::flags, SCOPE::label_tab, LKIND_DEFAULT, make_LABEL_IDX(), RELATED_SEGMENTED_ARRAY< T, block_size >::New_entry(), Scope_tab, Set_LABEL_KIND(), and Set_LABEL_name_idx().

Referenced by CFG::Alloc_label(), convert_do_while(), convert_while_do(), cwh_io_create_new_label(), cwh_stmt_assigned_goto(), cwh_stmt_computed_goto(), cwh_stmt_select_case_char(), CYG_Instrument_Block(), Do_Handlers(), Duplicate_LABEL(), EMT_Assemble_BB(), fei_label(), fei_new_select_case(), Gen_Label_For_BB(), Gen_Tag(), Gen_Temp_Label(), Generate_Exception_Table_Header(), Get_New_Label_Idx(), RINIT::Handle_split_label(), New_Label(), NewLabel(), IPO_INLINE::Post_Process_Caller(), IPO_INLINE::Pre_Process_Caller(), Push_Handler_Info(), Push_Scope_Cleanup(), Push_Temp_Cleanup(), r_assemble_op(), REGION_add_exit(), Rename_Labels_Gotos(), Set_Handler_Labels(), GOTO::Set_region_exit(), Setup_Text_Section_For_PU(), Translate_Label(), vho_lower_cand_cior(), vho_lower_check_labels(), vho_lower_cselect(), vho_lower_do_loop(), vho_lower_do_while(), vho_lower_falsebr(), vho_lower_if(), VHO_Lower_Switch(), vho_lower_truebr(), vho_lower_while_do(), VHO_Switch_Generate_Binary_Search(), WFE_Add_Case_Node(), WFE_Expand_Break(), WFE_Expand_Case(), WFE_Expand_Continue(), WFE_Expand_Continue_Loop(), WFE_Expand_End_Case(), WFE_Expand_Expr(), WFE_Expand_Start_Loop_Continue_Elsewhere(), WFE_Expand_Try(), WFE_Get_LABEL(), WGEN_Expand_Break(), WGEN_Expand_Case(), WGEN_Expand_Continue(), WGEN_Expand_End_Case(), WGEN_Expand_Expr(), WGEN_Expand_Try(), WGEN_Get_LABEL(), WN_CreateNewLabel(), and WN_Rename_Duplicate_Labels().

PREG& New_PREG ( SYMTAB_IDX  scope,
PREG_IDX p 
) [inline]

Definition at line 521 of file symtab.h.

References New_PREG_explicit(), and Scope_tab.

Referenced by Create_MicroTask().

PREG& New_PREG_explicit ( SCOPE scope_tab,
SYMTAB_IDX  scope,
PREG_IDX p 
) [inline]

PU& New_PU ( PU_IDX pu  )  [inline]

ST* New_ST (  )  [inline]

Definition at line 103 of file symtab.h.

References CURRENT_SYMTAB, and New_ST().

ST* New_ST ( SYMTAB_IDX  level  )  [inline]

Definition at line 91 of file symtab.h.

References idx, make_ST_IDX(), memset, RELATED_SEGMENTED_ARRAY< T, block_size >::New_entry(), s, Scope_tab, Set_ST_st_idx(), SCOPE::st_tab, and UINT.

Referenced by Add_Ordered_XPragmas(), CG_End_Final(), CG_Init_Func_Infos(), CG_Instrument_Arcs(), Compute_Return_Preg_Offset(), convert_to_reference(), Create_All_Preg_Symbols(), Create_Common_Block(), Create_Critical_Lock(), Create_Global_Array_ST(), Create_Global_Variable(), Create_Gtid_ST(), Create_Local_Array_ST(), Create_Local_Lda_Array(), Create_Local_ST(), Create_Local_Symbol(), Create_Local_Variable(), Create_MemTools_Load(), Create_MemTools_MakeGlobal(), Create_MemTools_MakeLocal(), Create_MemTools_RemoveLocal(), Create_MemTools_Store(), Create_MicroTask(), Create_Name_Lock(), Create_Null_Call(), Create_Omp_Get_Thread_Num(), Create_Preg_or_Temp(), Create_Split_Common(), Create_ST_For_Tree(), Create_Stack_Symbol(), Create_Sync_Structure(), Create_Temp(), Create_Unnamed_Critical_Lock(), cwh_stab_address_temp_ST(), cwh_stab_altentry_temp(), cwh_stab_common_ST(), cwh_stab_mk_fn_0args(), cwh_stmt_init_pu(), cwh_types_formal_util(), CYG_Initialize_for_PU(), Declare_Func_N_Arg(), Declare_Func_One_Arg(), Declare_Func_Three_Arg(), Declare_Func_Two_Arg(), Declare_Func_Zero_Arg(), Declare_Function(), DISTR_INFO::DISTR_INFO(), DRA_Add_Clone(), DRA_Finalize(), EETARG_Call_Mcount(), EETARG_Generate_PIC_Entry_Code(), EH_Build_PIC_Type(), Em_Dwarf_Begin(), Expand_Expr(), F90_Lower_Create_Temp(), fei_namelist(), fei_object(), fei_proc_def(), fei_seg(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Function_ST_For_String(), Gen_Impld_Io_Calls(), Gen_Intrinsic_Function(), Gen_quad_preg(), Gen_ST_For_BB(), Gen_Temp_Named_Symbol(), OUTPUT_FUNC_START_PROFILER::Generate_Func_Start_Profiler_PU(), Generate_Temp_Apply_Arg(), Get_eh_spec_ST(), Get_IoStruct_ST(), Get_KeyStruct_ST(), Get_typeinfo_ST(), Get_UnitPointer_ST(), Handle_Entry(), Init_Special_Lego_Mp_Call(), WN_INSTRUMENT_WALKER::Initialize_Instrumenter_Compgoto(), WN_INSTRUMENT_WALKER::Initialize_Instrumenter_Switch(), Initialize_Stack_Frame(), Insert_ctype_b(), Insert_ctype_tolower(), Insert_ctype_toupper(), IPA_Start_Function(), IPO_Clone(), IPO_generate_new_types(), Localize_Variable(), Lookup_Function_Name(), lower_bit_field_id(), lower_char(), lower_maxminloc(), lower_reduction(), Make_IoRuntime_ST(), Make_MPRuntime_ST(), New_Const_Sym(), New_DART(), New_ST(), New_ST_Block(), new_temp_st(), Process_Exception_Region(), Process_Preg_Temps(), Read_Pragma_Thread_Affinity(), Rename_Privatized_COMMON(), Rewrite_Structs_In_MPRegion(), SE_Symbols_For_SE(), Section_Variable_ST(), Setup_Entry_For_EH(), ST_For_Range_Table(), st_of_new_temp_for_expr(), Throw_Runtime_st_idx(), TLS_init(), WFE_Alloca_ST(), WFE_Assemble_Asm(), WFE_Assemble_Constructor(), WFE_Assemble_Destructor(), Wfe_Expand_Asm_Operands(), WFE_Expand_End_Case(), WFE_Expand_Expr(), WFE_Generate_Temp_For_Initialized_Aggregate(), WFE_Get_Return_Address_ST(), WFE_maybe_localize_vars(), WFE_Start_Function(), WGEN_Address_Of(), WGEN_Alloca_ST(), WGEN_Assemble_Asm(), Wgen_Expand_Asm_Operands(), WGEN_Expand_Expr(), WGEN_Expand_Ptr_To_Member_Func_Call_Expr(), WGEN_Finish_Function(), WGEN_generate_non_pod_lastlocal_finalization(), WGEN_Generate_Temp_For_Initialized_Aggregate(), WGEN_Get_Return_Address_ST(), WGEN_Lhs_Of_Modify_Expr(), WGEN_maybe_localize_vars(), WGEN_Start_Function(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), and WN_CreateComment().

ST_ATTR& New_ST_ATTR ( SYMTAB_IDX  scope,
ST_ATTR_IDX p 
) [inline]

ST_ATTR& New_ST_ATTR_explicit ( SCOPE scope_tab,
SYMTAB_IDX  scope,
ST_ATTR_IDX p 
) [inline]

Definition at line 554 of file symtab.h.

References SEGMENTED_ARRAY< T, block_size >::New_entry(), and SCOPE::st_attr_tab.

Referenced by New_ST_ATTR().

TY& New_TY ( TY_IDX ty_idx  )  [inline]

Definition at line 320 of file symtab.h.

References idx, make_TY_IDX(), SEGMENTED_ARRAY< T, block_size >::New_entry(), Ty_tab, and UINT.

Referenced by CG_End_Final(), CG_Init_Func_Infos(), Commit_Recursive_Type(), Copy_array_type(), Create_Common_Block(), Create_DST_type_For_Tree(), Create_Local_Array_ST(), Create_Lock_Type(), Create_MemTools_Load(), Create_MemTools_MakeGlobal(), Create_MemTools_MakeLocal(), Create_MemTools_RemoveLocal(), Create_MemTools_Store(), Create_MicroTask(), Create_Omp_Get_Thread_Num(), Create_Special_Global_Symbols(), Create_Split_Common(), Create_Struct_Type(), Create_Sync_Structure(), Create_TY_For_Tree(), Create_Unroll_Copy(), cwh_stmt_init_pu(), cwh_types_new_TY(), Declare_Func_N_Arg(), Declare_Func_One_Arg(), Declare_Func_Three_Arg(), Declare_Func_Two_Arg(), Declare_Func_Zero_Arg(), Declare_Function(), DRA_EC_Declare_Types(), EETARG_Generate_PIC_Entry_Code(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Fixup_Base(), OUTPUT_FUNC_START_PROFILER::Generate_Func_Start_Profiler_PU(), Generate_Runtime_Stuff(), Generate_Temp_Apply_Arg(), Get_eh_spec_ST(), Get_Func_One_Arg_TY(), Get_Func_Zero_Arg_TY(), Get_KeyStruct_ST(), Get_typeinfo_ST(), Get_UnitPointer_ST(), Init_fioruntime_ty(), Initialize_Symbol_Tables(), Insert_ctype_b(), Insert_ctype_tolower(), Insert_ctype_toupper(), Insert_Ty(), Insert_Ty_Specific(), intrinsic_runtime(), IPA_Create_Func_Type_3(), IPO_generate_new_types(), Lock_Padding_TY(), Lookup_Function_Name(), lower_bit_field_id(), lower_char(), Make_Array_Type(), make_dope_vector_ty(), Make_Function_Type(), Make_IoStruct_TY(), Make_MPRuntime_ST(), make_ptr_type(), Make_Simple_Array_Type(), IPO_INLINE::Process_OPR_REGION(), SE_Symbols_For_SE(), Section_Variable_TY(), Setup_EH_Region(), Setup_Entry_For_EH(), Simd_Align_Load_Store(), ST_For_Range_Table(), Stab_Array_Of(), TLS_init(), Type_For_Function_Returning_Void(), WFE_Expand_Expr(), WFE_Expand_Try(), WFE_Start_Function(), WGEN_Expand_Expr(), WGEN_Start_Function(), and WN2F_String_Argument().

TYLIST& New_TYLIST ( TYLIST_IDX tylist  )  [inline]

UINT32 PREG_Table_Size ( SYMTAB_IDX  level  )  [inline]

UINT32 PREG_Table_Size_explicit ( SCOPE scope_tab,
SYMTAB_IDX  level 
) [inline]

BOOL PU_ftn_lang ( const PU pu  )  [inline]

BOOL PU_has_nested ( const PU pu  )  [inline]

Definition at line 275 of file symtab.h.

References PU_has_mp, and PU_uplevel.

void PU_Init ( PU pu,
TY_IDX  prototype,
SYMTAB_IDX  level 
) [inline]

SYMTAB_IDX PU_lexical_level ( const ST st  )  [inline]

UINT PU_Table_Size (  )  [inline]

void Reset_PREG_Table_Size ( SYMTAB_IDX  level,
UINT32  size 
) [inline]

void Reset_PREG_Table_Size_explicit ( SCOPE scope_tab,
SYMTAB_IDX  level,
UINT32  size 
) [inline]

void Reset_ST_ATTR_Table_Size ( SYMTAB_IDX  level,
UINT32  size 
) [inline]

Definition at line 592 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]

void Reset_STB_flags ( ST s,
UINT16  flags 
) [inline]

Definition at line 703 of file symtab.h.

References Blk_Table, and ST_blk().

void Set_ST_base ( ST s,
ST base 
) [inline]

Definition at line 162 of file symtab.h.

References ST::base_idx, and ST_st_idx.

void Set_ST_classes ( ST s,
ST_CLASS  c,
ST_SCLASS  sc 
) [inline]

Definition at line 126 of file symtab.h.

References ST_Verify_Class_Sclass(), ST::storage_class, and ST::sym_class.

void Set_STB_align ( ST s,
UINT  align 
) [inline]

Definition at line 658 of file symtab.h.

References Blk_Table, ST_blk(), TY_log_base2(), UINT16, and UINT32.

void Set_STB_flags ( ST s,
UINT16  flags 
) [inline]

Definition at line 699 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]

void Set_STB_section_idx ( ST s,
UINT16  sec 
) [inline]

Definition at line 679 of file symtab.h.

References Blk_Table, and ST_blk().

void Set_STB_size ( ST s,
UINT64  size 
) [inline]

Definition at line 639 of file symtab.h.

References Blk_Table, and ST_blk().

void ST_ATTR_Init ( ST_ATTR st_attr,
ST_IDX  st_idx,
ST_ATTR_KIND  akind,
UINT64  val 
) [inline]

UINT32 ST_ATTR_Table_Size ( SYMTAB_IDX  level  )  [inline]

UINT32 ST_ATTR_Table_Size_explicit ( SCOPE scope_tab,
SYMTAB_IDX  level 
) [inline]

ST& ST_base ( const ST s  )  [inline]

Definition at line 165 of file symtab.h.

References ST_base_idx(), and St_Table.

TYPE_ID ST_btype ( const ST s  )  [inline]

Definition at line 159 of file symtab.h.

References ST_mtype().

ST_CLASS ST_class ( const ST_IDX  s  )  [inline]

Definition at line 146 of file symtab.h.

References ST_class, and St_Table.

ST& ST_full ( const ST s  )  [inline]

Definition at line 174 of file symtab.h.

References ST::base_idx, FmtAssert, ST_is_split_common, and St_Table.

UINT32 ST_index ( const ST s  )  [inline]

Definition at line 217 of file symtab.h.

References ST_IDX_index(), and ST_st_idx.

void ST_Init ( ST st,
STR_IDX  n,
ST_CLASS  sc,
ST_SCLASS  stc,
ST_EXPORT  exp,
TY_IDX  t 
) [inline]

Definition at line 107 of file symtab.h.

References ST::base_idx, ST::export_class, ST::flags, ST::flags_ext, ST::name_idx, ST::offset, ST::st_idx, ST::storage_class, ST::sym_class, ST::type, ST::u1, and ST::u2.

Referenced by Add_Ordered_XPragmas(), CG_End_Final(), CG_Init_Func_Infos(), CG_Instrument_Arcs(), Compute_Return_Preg_Offset(), Create_All_Preg_Symbols(), Create_Common_Block(), Create_Critical_Lock(), Create_Global_Array_ST(), Create_Global_Variable(), Create_Gtid_ST(), Create_Local_Array_ST(), Create_Local_Lda_Array(), Create_Local_ST(), Create_Local_Symbol(), Create_Local_Variable(), Create_MicroTask(), Create_Name_Lock(), Create_Null_Call(), Create_Omp_Get_Thread_Num(), Create_Preg_or_Temp(), Create_Split_Common(), Create_ST_For_Tree(), Create_Stack_Symbol(), Create_Sync_Structure(), Create_Temp(), Create_Unnamed_Critical_Lock(), cwh_stab_address_temp_ST(), cwh_stab_altentry_temp(), cwh_stab_common_ST(), cwh_stab_mk_fn_0args(), cwh_stmt_init_pu(), cwh_types_formal_util(), CYG_Initialize_for_PU(), Declare_Func_N_Arg(), Declare_Func_One_Arg(), Declare_Func_Three_Arg(), Declare_Func_Two_Arg(), Declare_Func_Zero_Arg(), Declare_Function(), DISTR_INFO::DISTR_INFO(), DRA_Add_Clone(), DRA_Finalize(), EETARG_Call_Mcount(), EETARG_Generate_PIC_Entry_Code(), EH_Build_PIC_Type(), Em_Dwarf_Begin(), Expand_Expr(), fei_namelist(), fei_object(), fei_proc_def(), fei_seg(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Function_ST_For_String(), Gen_Impld_Io_Calls(), Gen_Intrinsic_Function(), Gen_quad_preg(), Gen_ST_For_BB(), Gen_Temp_Named_Symbol(), OUTPUT_FUNC_START_PROFILER::Generate_Func_Start_Profiler_PU(), Generate_Temp_Apply_Arg(), Get_eh_spec_ST(), Get_IoStruct_ST(), Get_KeyStruct_ST(), Get_typeinfo_ST(), Get_UnitPointer_ST(), Handle_Entry(), Init_Special_Lego_Mp_Call(), WN_INSTRUMENT_WALKER::Initialize_Instrumenter_Compgoto(), WN_INSTRUMENT_WALKER::Initialize_Instrumenter_Switch(), Initialize_Stack_Frame(), Insert_ctype_b(), Insert_ctype_tolower(), Insert_ctype_toupper(), IPA_Start_Function(), IPO_Clone(), IPO_generate_new_types(), Localize_Variable(), Lookup_Function_Name(), lower_bit_field_id(), lower_reduction(), Make_IoRuntime_ST(), Make_MPRuntime_ST(), New_Const_Sym(), New_DART(), New_ST_Block(), new_temp_st(), Process_Exception_Region(), Process_Preg_Temps(), Read_Pragma_Thread_Affinity(), Rename_Privatized_COMMON(), Rewrite_Structs_In_MPRegion(), SE_Symbols_For_SE(), Section_Variable_ST(), Setup_EH_Region(), Setup_Entry_For_EH(), Split_Individual_Common(), ST_For_Range_Table(), st_of_new_temp_for_expr(), Throw_Runtime_st_idx(), TLS_init(), WFE_Alloca_ST(), WFE_Assemble_Asm(), WFE_Assemble_Constructor(), WFE_Assemble_Destructor(), Wfe_Expand_Asm_Operands(), WFE_Expand_End_Case(), WFE_Expand_Expr(), WFE_Expand_Try(), WFE_Generate_Temp_For_Initialized_Aggregate(), WFE_Get_Return_Address_ST(), WFE_maybe_localize_vars(), WFE_Start_Function(), WGEN_Address_Of(), WGEN_Alloca_ST(), WGEN_Assemble_Asm(), Wgen_Expand_Asm_Operands(), WGEN_Expand_Expr(), WGEN_Expand_Ptr_To_Member_Func_Call_Expr(), WGEN_Finish_Function(), WGEN_generate_non_pod_lastlocal_finalization(), WGEN_Generate_Temp_For_Initialized_Aggregate(), WGEN_Get_Return_Address_ST(), WGEN_Lhs_Of_Modify_Expr(), WGEN_maybe_localize_vars(), WGEN_Start_Function(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), and WN_CreateComment().

BOOL ST_is_export_hidden ( const ST s  )  [inline]

Definition at line 199 of file symtab.h.

References EXPORT_HIDDEN, and ST_export.

BOOL ST_is_export_local ( const ST s  )  [inline]

BOOL ST_is_preemptible ( const ST s  )  [inline]

Definition at line 184 of file symtab.h.

References EXPORT_OPTIONAL, EXPORT_PREEMPTIBLE, and ST_export.

SYMTAB_IDX ST_level ( const ST s  )  [inline]

Definition at line 215 of file symtab.h.

References ST_IDX_level(), and ST_st_idx.

TYPE_ID ST_mtype ( const ST s  )  [inline]

char* ST_name ( ST_IDX  idx  )  [inline]

Definition at line 143 of file symtab.h.

References ST_name, and St_Table.

TY_IDX ST_pu_type ( const ST s  )  [inline]

ST_SCLASS ST_sclass ( const ST_IDX  s  )  [inline]

Definition at line 149 of file symtab.h.

References ST_sclass, and St_Table.

ST& ST_strong ( const ST s  )  [inline]

Definition at line 168 of file symtab.h.

References ST::base_idx, FmtAssert, ST_is_weak_symbol, and St_Table.

UINT32 ST_Table_Size ( SYMTAB_IDX  level  )  [inline]

TCON& ST_tcon_val ( const ST s  )  [inline]

TY_IDX ST_type ( const ST_IDX  s  )  [inline]

Definition at line 152 of file symtab.h.

References St_Table, and ST_type.

UINT STB_align ( const ST s  )  [inline]

Definition at line 643 of file symtab.h.

References align, Blk_Table, Is_True, ST_blk(), TY_ALIGN, and UINT16.

UINT16 STB_flags ( const ST s  )  [inline]

Definition at line 691 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]

Definition at line 695 of file symtab.h.

References Blk_Table, and ST_blk().

UINT16 STB_scninfo_idx ( const ST s  )  [inline]

UINT16 STB_section_idx ( const ST s  )  [inline]

Definition at line 675 of file symtab.h.

References Blk_Table, and ST_blk().

UINT64 STB_size ( const ST s  )  [inline]

Definition at line 635 of file symtab.h.

References Blk_Table, SEGMENTED_ARRAY< T, block_size >::Size(), and ST_blk().

UINT32 TCON_Table_Size (  )  [inline]

Definition at line 608 of file symtab.h.

References SEGMENTED_ARRAY< T, block_size >::Size(), and Tcon_Table.

Referenced by ST_Verify_Fields(), and Verify_GLOBAL_SYMTAB().

void TY_Init ( TY ty,
UINT64  s,
TY_KIND  k,
TYPE_ID  t,
STR_IDX  n 
) [inline]

Definition at line 329 of file symtab.h.

References TY::etype, TY::flags, TY::fld, TY::kind, KIND_FUNCTION, TY::mtype, TY::name_idx, TY::size, TY_Verify_Kind_Function(), TY_Verify_Kind_Mtype(), TY::u1, and TY::u2.

Referenced by CG_End_Final(), CG_Init_Func_Infos(), Commit_Recursive_Type(), Copy_array_type(), Create_DST_type_For_Tree(), Create_Local_Array_ST(), Create_Lock_Type(), Create_MicroTask(), Create_Omp_Get_Thread_Num(), Create_Special_Global_Symbols(), Create_Split_Common(), Create_Struct_Type(), Create_Sync_Structure(), Create_TY_For_Tree(), Create_Unroll_Copy(), cwh_stmt_init_pu(), 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_Func_One_Arg(), Declare_Func_Three_Arg(), Declare_Func_Two_Arg(), Declare_Func_Zero_Arg(), Declare_Function(), DRA_EC_Declare_Types(), EETARG_Generate_PIC_Entry_Code(), fei_user_type(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Fixup_Base(), OUTPUT_FUNC_START_PROFILER::Generate_Func_Start_Profiler_PU(), Generate_Runtime_Stuff(), Generate_Temp_Apply_Arg(), Get_eh_spec_ST(), Get_Func_One_Arg_TY(), Get_Func_Zero_Arg_TY(), Get_KeyStruct_ST(), Get_typeinfo_ST(), Get_UnitPointer_ST(), Init_fioruntime_ty(), Insert_ctype_b(), Insert_ctype_tolower(), Insert_ctype_toupper(), Insert_Ty(), IPA_Create_Func_Type_3(), IPO_generate_new_types(), Lock_Padding_TY(), Lookup_Function_Name(), lower_bit_field_id(), lower_char(), Make_Array_Type(), make_dope_vector_ty(), Make_Function_Type(), Make_IoStruct_TY(), Make_MPRuntime_ST(), make_ptr_type(), Make_Simple_Array_Type(), IPO_INLINE::Process_OPR_REGION(), SE_Symbols_For_SE(), Section_Variable_TY(), Setup_EH_Region(), Setup_Entry_For_EH(), Simd_Align_Load_Store(), ST_For_Range_Table(), Stab_Array_Of(), TLS_init(), Type_For_Function_Returning_Void(), WFE_Expand_Expr(), WFE_Expand_Try(), WFE_Start_Function(), WGEN_Expand_Expr(), WGEN_Start_Function(), and WN2F_String_Argument().

TY_KIND TY_kind ( TY_IDX  ty_idx  )  [inline]

Definition at line 354 of file symtab.h.

References TY_kind, and Ty_Table.

TYPE_ID TY_mtype ( TY_IDX  ty_idx  )  [inline]

Definition at line 357 of file symtab.h.

References Ty_Table.

char* TY_name ( TY_IDX  ty_idx  )  [inline]

Definition at line 360 of file symtab.h.

References TY_name, and Ty_Table.

TYLIST_IDX TY_parms ( const TY_IDX  ty_idx  )  [inline]

Definition at line 376 of file symtab.h.

References TY_parms, and Ty_Table.

TYLIST_IDX TY_parms ( const TY ty  )  [inline]

Definition at line 371 of file symtab.h.

References Is_True, KIND_FUNCTION, TY_kind, and TY_tylist().

TY_IDX TY_ret_type ( const TY_IDX  ty_idx  )  [inline]

Definition at line 368 of file symtab.h.

References TY_ret_type, and Ty_Table.

TY_IDX TY_ret_type ( const TY ty  )  [inline]

Definition at line 363 of file symtab.h.

References Is_True, KIND_FUNCTION, TY_kind, TY_tylist(), and Tylist_Table.

UINT64 TY_size ( TY_IDX  ty_idx  )  [inline]

Definition at line 351 of file symtab.h.

References TY_size, and Ty_Table.

UINT32 TY_Table_Size (  )  [inline]

UINT32 TYLIST_Table_Size (  )  [inline]


Variable Documentation

Definition at line 600 of file symtab.h.

Referenced by Init_Constab(), and Merge_Global_Tcon().


Generated on Wed Apr 8 14:40:05 2009 for Open64 by  doxygen 1.5.6