#include "symtab_idx.h"

Go to the source code of this file.
Modules | |
| module | __new_hash |
Data Types | |
| type | __new_hash::hash< _Key > |
| type | __new_hash::hash< unsigned long long > |
| type | STRING_TABLE |
Defines | |
| #define | Str_To_Index(s, t) (s) |
Functions/Subroutines | |
| void | Initialize_Strtab (UINT32 size) |
| void | Initialize_Strtab (const char *buf, UINT32 size) |
| STR_IDX | Save_Str (const char *str) |
| STR_IDX | Save_Str2 (const char *s1, const char *s2) |
| STR_IDX | Save_Str2i (const char *s1, const char *s2, UINT i) |
| char * | Index_To_Str (STR_IDX idx) |
| STR_IDX | STR_Table_Size () |
| char * | Index_To_Str (STR_IDX idx, void *) |
| UINT32 | TCON_strtab_size () |
| char * | TCON_strtab_buffer () |
| void | Initialize_TCON_strtab (UINT32 size) |
| void | Initialize_TCON_strtab (const char *buf, UINT32 size) |
| UINT32 | Save_StrN (const char *s1, UINT32 len) |
| char * | Index_to_char_array (UINT32 idx) |
Variables | |
| STRING_TABLE | Str_Table |
| #define Str_To_Index | ( | s, | |||
| t | ) | (s) |
Definition at line 122 of file strtab.h.
Referenced by WFE_Assemble_Asm(), Wfe_Expand_Asm_Operands(), WGEN_Assemble_Asm(), Wgen_Expand_Asm_Operands(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), and WN_CreateComment().
| char* Index_to_char_array | ( | UINT32 | idx | ) |
Definition at line 476 of file strtab.cxx.
References CHARACTER_ARRAY::get_str(), Is_True, and TCON_strtab.
Referenced by cwh_dst_mk_const(), Hash_TCON(), Host_To_Targ_String(), lower_io_statement(), Targ_Emit_Const(), Targ_Print(), and Targ_String_Address().
| char* Index_To_Str | ( | STR_IDX | idx | ) |
Definition at line 427 of file strtab.cxx.
References NULL_TERMINATED_STRING::get_str(), Is_True, and Strtab.
Referenced by Cg_Dwarf_Name_From_Handle(), Cg_Dwarf_Symtab_Entry(), check_gsymbol_for_invalid_type(), COMMENT_Handler(), create_doloop(), cwh_inline_allocate(), cwh_preg_temp_save(), cwh_stmt_insert_conformance_check(), DRA_Clone_Instantiate(), DST_Create_Subprogram(), DST_Create_var(), EMT_End_File(), fei_doloop(), fei_nseq_subscr(), fei_seq_subscr(), Get_Section_ST_With_Given_Name(), Get_ST(), SUMMARY_STRUCT_ACCESS::Get_ty_name(), Handle_access_count(), Index_To_Str(), IP_write_global_symtab(), IPA_reorder_legality_process(), IPO_get_new_ordering(), ir_put_wn(), ANL_LOOP_CONSTRUCT::Is_End_Of_Loop_Comment(), lower_bit_field_id(), map_field_id_and_offset(), STRING_TABLE::operator[](), ST_ATTR::Print(), Print_field_access_info(), print_invalid_and_valid_type(), print_merged_access(), sir_put_wn(), Split_Analysis(), ST_has_Predefined_Named_Section(), WFE_Expand_Expr(), WGEN_Expand_Expr(), WN2C_comment(), WN2C_Skip_Stmt(), WN2F_comment(), and Write_Global_Info().
Definition at line 382 of file strtab.cxx.
References initialize_strtab(), and Strtab.
Referenced by Initialize_Symbol_Tables(), and WN_get_strtab().
Definition at line 451 of file strtab.cxx.
References initialize_strtab(), and TCON_strtab.
Referenced by Init_Constab(), and WN_get_global_symtab().
| STR_IDX Save_Str | ( | const char * | str | ) |
Definition at line 396 of file strtab.cxx.
Referenced by Add_Ordered_XPragmas(), Add_To_Iolist(), Cg_Dwarf_Symtab_Entry(), CG_End_Final(), CG_Instrument_Arcs(), Compute_Return_Preg_Offset(), convert_to_reference(), Create_All_Preg_Symbols(), Create_Base_Reg(), Create_Common_Block(), Create_Critical_Lock(), create_doloop(), Create_Global_Array_ST(), Create_Global_Variable(), Create_Gtid_ST(), Create_Io_Entry(), Create_Local_Array_ST(), Create_Local_Lda_Array(), Create_Local_ST(), Create_Local_Symbol(), Create_Local_Variable(), Create_Lock_Type(), 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_explicit(), Create_ST_For_Tree(), Create_Stack_Symbol(), Create_Struct_Type(), Create_Sync_Structure(), Create_TY_For_Tree(), Create_Unique_Name(), Create_Unnamed_Critical_Lock(), Create_Unroll_Copy(), cwh_inline_allocate(), cwh_preg_temp_save(), cwh_stab_address_temp_ST(), cwh_stab_adjust_name(), cwh_stab_altentry_temp(), cwh_stab_common_ST(), cwh_stab_mk_fn_0args(), cwh_stmt_init_pu(), cwh_stmt_insert_conformance_check(), cwh_types_array_util(), cwh_types_fld_util(), cwh_types_formal_util(), cwh_types_mk_character_TY(), cwh_types_mk_f90_pointer_ty(), cwh_types_mk_procedure_TY(), cwh_types_mk_struct(), cwh_types_mk_unique_pointer_TY(), 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_EC_Declare_Types(), DRA_Mangle_Call_Site(), DRA_Mangle_Entry(), DRA_Process_Requests(), EETARG_Call_Mcount(), EETARG_Generate_PIC_Entry_Code(), Em_Dwarf_Begin(), EMT_Assemble_BB(), Expand_Expr(), F90_Lower_Create_Temp(), fei_doloop(), fei_label(), fei_member(), fei_namelist(), fei_object(), fei_proc_def(), fei_seg(), fei_user_type(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Function_ST_For_String(), Gen_Impld_Io_Calls(), Gen_Intrinsic_Function(), Gen_Label_For_BB(), Gen_quad_preg(), Gen_Tag(), Gen_Temp_Label(), Generate_Exception_Table_Header(), 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_IoStruct_ST(), Get_KeyStruct_ST(), Get_Non_Local_Label_Name(), Get_Section_ST(), Get_ST(), Get_TN_For_Predefined_Symbol(), Get_typeinfo_ST(), Get_UnitPointer_ST(), Get_WN_Label(), Init_fioruntime_ty(), 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(), Localize_Variable(), Lock_Padding_TY(), Lookup_Function_Name(), lower_bit_field_id(), lower_char(), lower_cray_io_items(), lower_f77_io_items(), lower_maxminloc(), lower_reduction(), make_dope_vector_ty(), Make_Function_Type(), Make_IoRuntime_ST(), Make_IoStruct_TY(), Make_MPRuntime_ST(), make_ptr_type(), Make_Simple_Array_Type(), New_DART(), new_temp_st(), NewLabel(), Process_Exception_Region(), Process_Preg_Temps(), r_assemble_op(), Read_Pragma_Thread_Affinity(), Rename_Privatized_COMMON(), Rewrite_Structs_In_MPRegion(), Save_Str2(), Save_Str2i(), SE_Symbols_For_SE(), Section_Variable_ST(), Section_Variable_TY(), Set_PREG_name(), Setup_Entry_For_EH(), Setup_Text_Section_For_PU(), Simd_Align_Load_Store(), Split_Individual_Common(), st_of_new_temp_for_expr(), Throw_Runtime_st_idx(), TLS_init(), Translate_Label(), vho_lower_icall(), WFE_Alloca_ST(), WFE_Assemble_Asm(), WFE_Assemble_Constructor(), WFE_Assemble_Destructor(), Wfe_Expand_Asm_Operands(), WFE_Expand_End_Case(), WFE_Expand_Expr(), 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_Get_Return_Address_ST(), WGEN_Lhs_Of_Modify_Expr(), WGEN_maybe_localize_vars(), WGEN_Start_Function(), WN2F_String_Argument(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), WN_CreateComment(), and WN_Rename_Duplicate_Labels().
| STR_IDX Save_Str2 | ( | const char * | s1, | |
| const char * | s2 | |||
| ) |
Definition at line 407 of file strtab.cxx.
References alloca, len, Save_Str(), strcat(), strcpy, strlen(), and UINT.
Referenced by Create_All_Preg_Symbols(), Create_And_Set_ST_Base(), Create_Cold_Text_Section(), Create_Preg_or_Temp(), Create_Split_Common(), Create_Temp(), cwh_stab_adjust_base_name(), cwh_types_form_misaligned_TY(), cwh_types_mk_logical_TY(), cwh_types_mk_misaligned_TY(), DST_Create_Subprogram(), DST_Create_var(), Duplicate_LABEL(), EH_Build_PIC_Type(), EMT_End_File(), fei_nseq_subscr(), fei_seq_subscr(), Fill_Align_Symbol(), Formal_Sym(), Gen_predef_type_name(), Gen_ST_For_BB(), Get_Altentry_UpFormal_Symbol(), Get_IoStruct_ST(), Init_Segment_Descriptors(), Initialize_Frame_Segment(), lower_bit_field_id(), Make_IoStruct_TY(), Setup_Text_Section_For_PU(), ST_For_Range_Table(), WFE_Expand_Expr(), WFE_Generate_Temp_For_Initialized_Aggregate(), WGEN_Expand_Expr(), and WGEN_Generate_Temp_For_Initialized_Aggregate().
Definition at line 417 of file strtab.cxx.
References alloca, len, Save_Str(), sprintf(), strlen(), and UINT.
Referenced by Copy_ST_No_Base(), Exp_Ldst(), Expand_Lda(), Gen_Temp_Named_Symbol(), Handle_Entry(), IPO_generate_new_types(), IPO_INLINE::Process_ST(), WFE_Assemble_Constructor(), WFE_Assemble_Destructor(), WFE_Start_Function(), and WGEN_Start_Function().
Definition at line 467 of file strtab.cxx.
References TCON_strtab.
Referenced by Host_To_Targ_String().
| STR_IDX STR_Table_Size | ( | ) |
Definition at line 374 of file strtab.cxx.
References Strtab.
Referenced by IP_write_global_symtab(), Print_global_symtab(), ST_Verify_Fields(), PREG::Verify(), TY::Verify(), FLD::Verify(), ST_ATTR::Verify(), LABEL::Verify(), and Write_Global_Info().
| char* TCON_strtab_buffer | ( | ) |
Definition at line 444 of file strtab.cxx.
References TCON_strtab.
Referenced by ir_b_write_global_symtab().
| UINT32 TCON_strtab_size | ( | ) |
Definition at line 438 of file strtab.cxx.
References TCON_strtab.
Referenced by ir_b_write_global_symtab().
Definition at line 371 of file strtab.cxx.
1.5.6