#include <stdint.h>#include <ctype.h>#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>#include <errno.h>#include <bstring.h>#include "elf_stuff.h"#include <elfaccess.h>#include <alloca.h>#include <stdlib.h>#include <cmplrs/rcodes.h>#include <stamp.h>#include <vector>#include "defs.h"#include "config.h"#include "config_asm.h"#include "config_targ_opt.h"#include "config_debug.h"#include "targ_const.h"#include "strtab.h"#include "symtab.h"#include "wn.h"#include "erglob.h"#include "erlib.h"#include "ercg.h"#include "file_util.h"#include "flags.h"#include "glob.h"#include "xstats.h"#include "tracing.h"#include "cgir.h"#include "opt_alias_interface.h"#include "anl_driver.h"#include "ti_asm.h"#include "ti_errors.h"#include "targ_proc_properties.h"#include "targ_abi_properties.h"#include "targ_isa_print.h"#include "targ_isa_enums.h"#include "targ_isa_pack.h"#include "targ_isa_bundle.h"#include "targ_isa_operands.h"#include "cg.h"#include "const.h"#include "whirl2ops.h"#include "stblock.h"#include "data_layout.h"#include "sections.h"#include "dwarf_DST_mem.h"#include "calls.h"#include "cgemit.h"#include "cgtarget.h"#include "irbdata.h"#include "em_elf.h"#include "cgdwarf.h"#include "cgdwarf_targ.h"#include "em_dwarf.h"#include "tn_set.h"#include "iface_scn.h"#include "config_targ.h"#include "config_list.h"#include "note.h"#include "cgexp.h"#include "eh_region.h"#include "cg_flags.h"#include "region_util.h"#include "cg_region.h"#include "targ_isa_lits.h"#include "freq.h"#include "vstring.h"#include "label_util.h"#include "cgemit_targ.h"#include "cg_swp.h"#include "tag.h"#include "be_symtab.h"#include "be_util.h"#include "dwarf_stuff.h"#include "pro_encode_nm.h"Go to the source code of this file.
| #define __STDC_LIMIT_MACROS |
Definition at line 61 of file cgemit.cxx.
| #define BB_cold BB_local_flag1 |
Definition at line 206 of file cgemit.cxx.
Referenced by Create_Stub_BB(), EMT_Assemble_BB(), Fixup_Long_Branches(), R_Resolve_Branches(), Recompute_Label_Offset(), Setup_Text_Section_For_BB(), Write_Label(), and Write_Symdiff().
| #define EMIT_DATA_SECTIONS |
Definition at line 249 of file cgemit.cxx.
| #define FREQUENT_BB_DIFF 5.0 |
Referenced by Check_If_Should_Align_BB().
| #define FUDGE_ZONE 16000 |
| #define Init_Sanity_Checking_For_BB | ( | ) |
| #define LBUF_LEN (OP_MAX_FIXED_OPNDS*1024) |
| #define MAX_SYMTAB_DEPTH 6 |
Definition at line 338 of file cgemit.cxx.
Referenced by Init_ST_elf_index(), Set_ST_elf_index(), and ST_elf_index().
| #define PAD_SIZE_LIMIT 2048 |
| #define Perform_Sanity_Checks_For_OP | ( | op, | |||
| check_def | ) |
Definition at line 2410 of file cgemit.cxx.
Referenced by Assemble_Bundles(), Assemble_Ops(), and Assemble_Simulated_OP().
| #define R10K_PRIMARY_ICACHE_LINE_WORDS 16 |
Referenced by Check_If_Should_Align_BB().
| #define Reset_BB_cold Reset_BB_local_flag1 |
| #define Set_BB_cold Set_BB_local_flag1 |
Definition at line 207 of file cgemit.cxx.
Referenced by Create_Cold_Text_Section(), and Create_Stub_BB().
Value:
((pu != (PU_IDX) NULL) \ && (Section_For_Each_Function || PU_in_elf_section(pu)) \ && (ST_class(st) == CLASS_BLOCK) \ && (strcmp(ST_name(st),ELF_TEXT) == 0))
Definition at line 312 of file cgemit.cxx.
Referenced by r_apply_l_const(), r_assemble_binary(), Write_Label(), Write_Symbol(), and Write_Symdiff().
| #define USE_STANDARD_TYPES 1 |
Definition at line 84 of file cgemit.cxx.
| typedef struct longb_info LONGB_INFO |
| anonymous enum |
| static void add_reloc_type | ( | Elf64_AltRela * | preloc, | |
| unsigned char | reloc_type, | |||
| pSCNINFO | scn | |||
| ) | [static] |
Definition at line 797 of file cgemit.cxx.
References BZERO, Em_Add_New_Composite_Rela(), REL64_type, REL64_type2, REL64_type3, and REL_offset.
Definition at line 584 of file cgemit.cxx.
References elf_index_array, INT, INT32, max_elf_index, MEM_src_pool, NULL, Src_Alloc, ST_Table_Size(), and TYPE_MEM_POOL_REALLOC_N.
Referenced by Init_ST_elf_index().
Definition at line 3890 of file cgemit.cxx.
References Asm_File, Assemble_Simulated_OP(), Assembly, BB_cycle, BB_first_op, BB_id, BB_length, BOOL, Em_Add_Bytes_To_Scn(), EMIT_count_cycles, EMIT_explicit_bundles, FmtAssert, fprintf(), fputc(), Get_OP_Tag(), INST_BYTES, INT, LABEL_name, last, LOCS_Enable_Bundle_Formation, NULL, Object_Code, OP_bb, OP_code, OP_dummy, OP_end_group, OP_far_next(), OP_has_tag, OP_m_unit, OP_next, OP_simulated, Perform_Sanity_Checks_For_OP, Print_OP_No_SrcLine(), r_assemble_op(), Set_OP_end_group, split, TI_ASM_Set_Bundle_Comp(), Trace_Inst, Track_Split(), TRUE, UINT, UINT32, and UINT64.
Referenced by EMT_Assemble_BB().
Definition at line 4106 of file cgemit.cxx.
References Assemble_Simulated_OP(), Em_Add_Bytes_To_Scn(), FmtAssert, FOR_ALL_BB_OPs_FWD, fprintf(), INST_BYTES, INT, Object_Code, OP_dummy, OP_end_group, OP_simulated, PC, Perform_Sanity_Checks_For_OP, Print_OP(), r_assemble_op(), TFile, and TRUE.
Referenced by EMT_Assemble_BB().
Definition at line 3794 of file cgemit.cxx.
References AS_STOP_BIT, ASM_DIR_NOTRANSFORM, ASM_DIR_TRANSFORM, Asm_File, Assembly, CG_emit_non_gas_syntax, CGEMIT_Call(), Em_Add_Bytes_To_Scn(), Em_Add_New_Content(), EMIT_stop_bits_for_asm, EMIT_stop_bits_for_volatile_asm, Exp_Simulated_Op(), FALSE, FmtAssert, FOR_ALL_OPS_OPs_FWD, fprintf(), Generate_Asm_String(), INST_BYTES, INT, Object_Code, OP_code, OP_volatile, OPS_EMPTY, OPS_length, PC, Perform_Sanity_Checks_For_OP, Print_OP(), Print_OPS(), r_assemble_op(), strstr(), TFile, and Trace_Inst.
Referenced by Assemble_Bundles(), and Assemble_Ops().
| static INT BB_Info_Maintain_Sort | ( | BB_INFO * | bb_info, | |
| INT | n_bb_info, | |||
| INT | bbindex, | |||
| INT | stub_len | |||
| ) | [static] |
Definition at line 5115 of file cgemit.cxx.
References BB_INFO::bb_inum, longb_info::bbindex, FmtAssert, INT, Is_True, longb_info::next, and NULL.
Referenced by Fixup_Long_Branches().
Definition at line 5658 of file cgemit.cxx.
References BB_branch_op(), BB_next, FALSE, INT, NULL, OP_opnd, OP_opnds, TN_is_label, TN_offset, and TRUE.
Referenced by Check_If_Should_Align_BB().
| static void cache_last_label_info | ( | LABEL_IDX | label_idx, | |
| Dwarf_Unsigned | base_elf_idx, | |||
| PU_IDX | pu_idx, | |||
| Dwarf_Unsigned | end_offset | |||
| ) | [static] |
Definition at line 8130 of file cgemit.cxx.
References Get_Label_Offset(), and LABEL_name.
Referenced by EMT_Emit_PU().
Definition at line 7418 of file cgemit.cxx.
References AS_ALIGN, AS_ORIGIN, AS_SECTION, Asm_File, Assembly, CGEMIT_Change_Origin_In_Asm(), Em_Change_Section_Origin(), fprintf(), LL_FORMAT, Object_Code, ST_name, STB_nobits, STB_scninfo_idx(), and strcmp().
Referenced by EMT_End_File(), Process_Bss_Data(), Process_Distr_Array(), and Process_Initos_And_Literals().
Definition at line 5698 of file cgemit.cxx.
References Align_Instructions, BB_freq, BB_id, BB_length, BB_loophead, BB_prev, BBLIST_item, Branch_Skips_First_Op(), CGTARG_Text_Alignment(), FOR_ALL_BB_PREDS, fprintf(), FREQUENT_BB_DIFF, Get_Trace(), INST_BYTES, INT, INT32, NULL, Num_of_OPs_in_First_Group(), OPT_Space, PC_Incr(), preds, R10K_PRIMARY_ICACHE_LINE_WORDS, TFile, TP_EMIT, Trace_Inst, TRUE, and UINT.
Referenced by GCM_Schedule_Region(), and R_Resolve_Branches().
Definition at line 7994 of file cgemit.cxx.
References Align_Instructions, CGTARG_Text_Alignment(), INST_BYTES, INT, and OPT_Space.
Referenced by Setup_Text_Section_For_PU().
Definition at line 5209 of file cgemit.cxx.
References longb_info::distance, INT32, Is_True, and longb_info::longb_inum.
Referenced by Sort_Long_Branches().
Definition at line 8022 of file cgemit.cxx.
References BB_id, BB_Is_Cold(), BB_next, Copy_BLK(), Copy_ST(), EMIT_use_cold_section, FmtAssert, generate_elf_symbols, Init_Section(), NULL, REGION_First_BB, Reset_BB_cold, Save_Str2(), AUX_SCN::scninfo, Set_BB_cold, Set_ST_blk(), Set_ST_name, Set_STB_scninfo_idx(), Set_STB_section_idx, Set_STB_size, sprintf(), ST_blk(), ST_name, STB_scninfo_idx(), and STB_section_idx.
Referenced by EMT_Emit_PU().
| static BB* Create_Stub_BB | ( | LONGB_INFO * | longb, | |
| INT * | stub_loc, | |||
| BOOL | fwd_branch | |||
| ) | [static] |
Definition at line 4894 of file cgemit.cxx.
References ANNOT_Get(), ANNOT_label, ANNOT_LABEL, BB_annotations, BB_Append_Op(), BB_cold, BB_freq, BB_freq_fb_based, BB_id, BB_in_preds(), BB_INFO::bb_inum, BB_prev, BB_INFO::bb_ptr, longb_info::bbindex, BBLIST_item, BBLIST_prob, Exp_Noop(), Exp_OP1, FALSE, FmtAssert, FOR_ALL_BB_PREDS, fprintf(), FUDGE_ZONE, Gen_BB_Like(), Gen_Label_TN(), idx, Insert_BB(), INT, Is_True, LABEL_name, Link_Pred_Succ_with_Prob(), NULL, OP_Real_Inst_Words(), OP_scycle, OPC_GOTO, OPS_EMPTY, OPS_last, Print_BB_Header(), PU_BB_Count, Set_BB_cold, Set_BB_freq_fb_based, TFile, Trace_Longbr, TRUE, and Unlink_Pred_Succ().
Referenced by Fixup_Long_Branches().
Definition at line 206 of file cleanup.cxx.
Definition at line 9097 of file cgemit.cxx.
References DEBUG_Alignment_Fixade, DevWarn, Em_Add_New_Option(), Em_Get_Section_Index(), File_info, FILE_INFO_gp_group(), Force_FP_Precise_Mode, Force_Memory_Dismiss, Force_SMM, FP_Exception_Enable_Max, FP_Exception_Enable_Min, Get_Trace(), INT32, Ipa_Ident_Number, Misaligned_Cnt, NULL, ODK_EXCEPTIONS, ODK_HWAND, ODK_HWOR, ODK_HWPATCH, ODK_IDENT, ODK_PAD, OEX_DISMISS, OEX_PAGE0, OEX_SMM, OHW_R8KPFETCH, PAD_SIZE_LIMIT, SEC_pad_size, SHN_UNDEF, short, TP_EMIT, UINT8, Use_Page_Zero, and Use_Prefetch.
Referenced by EMT_End_File().
Definition at line 4306 of file cgemit.cxx.
References anl_file, ANNOT_Get(), ANNOT_label, ANNOT_LABEL, ANNOT_LOOPINFO, ANNOT_loopinfo, ANNOT_next, ANNOT_pragma, ANNOT_PRAGMA, ASM_CMNT_LINE, BB_annotations, BB_id, BB_innermost, BB_loop_head_bb, BB_Loop_Lineno(), BB_Loop_Srcpos(), BB_unrolled_fully, BB_unrollings, BOOL, DevAssert, DevWarn, FALSE, fileno, fprintf(), fputc(), fputs(), INT, INT32, INT64, LABEL_name, LOOPINFO_trip_count_tn, LOOPINFO_wn, NULL, SRCPOS_column, SRCPOS_filenum, SRCPOS_linenum, TN_is_constant, TN_value, TRUE, UINT16, WN_loop_depth(), WN_loop_trip_est(), WN_pragma(), WN_pragma_arg1(), and WN_PRAGMA_UNROLL.
Referenced by EMT_Assemble_BB().
Definition at line 4409 of file cgemit.cxx.
References alloca, anl_file, ANNOT_ENTRYINFO, ANNOT_entryinfo, ANNOT_First, ANNOT_Get(), ANNOT_label, ANNOT_LABEL, ANNOT_Next, ANNOT_rotating_kernel, ANNOT_ROTATING_KERNEL, AS_AENT, ASM_CMNT, ASM_CMNT_LINE, Asm_File, Assemble_Bundles(), Assemble_Ops(), Assembly, BB_annotations, BB_asm, BB_cold, BB_cycle, BB_entry, BB_exit, BB_Fall_Thru_Predecessor(), BB_Find_Succ(), BB_freq, BB_handler, BB_Has_Exc_Label(), BB_has_note, BB_id, BB_last_op, BB_length, BB_loop_head_bb, BB_next, BB_preds, BB_rid, BB_st(), BBLIST_item, BBlist_Len(), BBLIST_prob, BOOL, Cg_Dwarf_Add_Line_Entry(), CG_emit_unwind_info, CG_opt_level, CGEMIT_Setup_Ctrl_Register(), Cur_PU_Name, current_rid, CURRENT_SYMTAB, DevWarn, Em_Add_New_Event(), Em_Define_Symbol(), EMIT_interface_section, Emit_KEY_SWP_Note(), emit_label(), Emit_Loop_Note(), Emit_SWP_Note(), EMT_Put_Elf_Symbol(), ENTRYINFO_name, ENTRYINFO_srcpos, FALSE, FmtAssert, FOR_ALL_BB_PREDS, fprintf(), FREQ_Print_BB_Note(), Gen_Label_For_BB(), Get_Current_PU, Get_Label_Offset(), Has_Base_Block, Init_Sanity_Checking_For_BB, Initial_Pu_Label, INST_BYTES, INT, Interface_Scn_Add_Def(), Is_True, lab, LABEL_IDX_ZERO, LABEL_Init(), LABEL_name, Last_Label, ops::length, List_Notes, LKIND_DEFAULT, LL_FORMAT, New_LABEL(), NOTE_BB_Act(), NOTE_PRINT_TO_ANL_FILE, NOTE_PRINT_TO_FILE, NULL, Object_Code, Offset_From_Last_Label, OP_dummy, OP_prev, bb::ops, PC, bb::prev, Print_Label(), PU_ftn_lang(), REGION_First_BB, RID_cginfo, RID_id, RID_is_glue_code, ROTATING_KERNEL_INFO_ii, Save_Str(), Set_OP_Tag(), Set_ST_ofst, sprintf(), ST_base, ST_is_export_local(), ST_is_not_used, ST_name, ST_ofst, strcmp(), strlen(), tag, TFile, Trace_Inst, and TRUE.
Referenced by EMT_Emit_PU().
| void EMT_Begin_File | ( | char * | process_name, | |
| char * | options | |||
| ) |
Definition at line 8974 of file cgemit.cxx.
References alloca, ASM_CMNT, ASM_DIR_NOAT, ASM_DIR_NOREORDER, Asm_File, Assembly, Cg_Dwarf_Begin(), Cg_Dwarf_Gen_Asm_File_Table(), CG_emit_asm_dwarf, CG_emit_non_gas_syntax, CGEMIT_Global_Decls(), cold_PC, Debug_Level, DEBUG_Optimize_Space, Em_Add_Comment(), Em_Begin_File(), EMIT_interface_section, Enumerate_Insts(), FALSE, fdopen, File_info, FILE_INFO_gp_group(), FP_Double, fprintf(), fputs(), Gen_PIC_Call_Shared, Gen_PIC_Shared, generate_dwarf, generate_elf_symbols, Get_Ism_Name(), Get_Trace(), GLOBAL_SYMTAB, Guaranteed_Small_GOT, Has_GP_Groups, INCLUDE_STAMP, Init_ST_elf_index(), INT, Interface_Scn_Begin_File(), Isa_Name(), List_Build_Date, List_Compile_Options(), NULL, Obj_File, Obj_File_Name, Object_Code, sprintf(), strlen(), Target_Byte_Sex, Target_ISA, text_PC, TP_CG, TP_EMIT, Trace_Elf, Trace_Init, TRUE, unlink, and Use_32_Bit_Pointers.
Referenced by CG_Init().
Definition at line 1324 of file cgemit.cxx.
References Em_Undefine_Symbol(), and ST_elf_index().
Referenced by CG_Change_Elf_Symbol_To_Undefined().
Definition at line 1334 of file cgemit.cxx.
References Em_Set_Symbol_Binding(), ST_elf_index(), and STB_WEAK.
Referenced by Can_Be_Tail_Call().
Definition at line 8335 of file cgemit.cxx.
References anl_file, Anl_File_Path(), AS_END, AS_ENT, AS_GLOBAL, AS_SECTION, AS_TYPE, AS_TYPE_FUNC, ASM_CMNT, Asm_File, Assembly, Base_Symbol(), Base_Symbol_And_Offset(), BB_next, BOOL, cache_last_label_info(), Cg_Dwarf_Process_PU(), CG_emit_non_gas_syntax, CGEMIT_Function_Definition(), CGEMIT_Gen_Asm_Frame(), CGEMIT_Prn_Ent_In_Asm(), CGEMIT_Setup_Ctrl_Register(), CLASS_BLOCK, CLASS_VAR, count, Create_Cold_Text_Section(), Cur_PU_Name, CURRENT_SYMTAB, CXX_Exceptions_On, CXX_NEW, Debug_Level, DevWarn, DW_DLX_EH_OFFSET_UNAVAILABLE, DW_DLX_NO_EH_OFFSET, EH_Get_PU_Range_INITO(), EH_Get_PU_Range_ST(), Em_Add_New_Event(), Em_Create_Section_Symbol(), EMT_Assemble_BB(), EMT_Put_Elf_Symbol(), EMT_Write_Qualified_Name(), end, FALSE, fclose(), Finalize_Unwind_Info(), Fix_Cache_Conflict_latency(), Fix_MM_Latency(), fopen, FOR_ALL_BB_OPs, FOREACH_SYMBOL, fprintf(), fputc(), fputs(), Frame_Len, bb::freq, generate_dwarf, Get_Current_PU, Get_Trace(), GLOBAL_SYMTAB, Has_Base_Block, Init_Section(), Init_ST_elf_index(), Init_Unwind_Info(), Initial_Pu_Label, INST_BYTES, INT, INT64, Is_True, LABEL_name, Last_Label, LL_FORMAT, LOCS_Enable_Bundle_Formation, MEM_local_pool, NULL, Object_Code, Offset_From_Last_Label, OP_code, OP_dummy, OP_simulated, path, PC, Print_Label(), Process_Bss_Data(), Process_Initos_And_Literals(), PU_CXX_LANG, PU_F77_LANG, PU_F90_LANG, PU_ftn_lang(), PU_has_exc_scopes(), PU_Size, PU_src_lang, Pu_Table, R_Resolve_Branches(), REGION_First_BB, SCLASS_AUTO, SCLASS_COMMON, SCLASS_EXTERN, Set_ST_is_not_used, Set_ST_ofst, Set_STB_size, Setup_Text_Section_For_BB(), Setup_Text_Section_For_PU(), ST_class, ST_elf_index(), ST_is_export_local(), ST_is_not_used, ST_name, ST_pu(), ST_sclass, St_Table, ST_Table_Size(), STACK_FP_Fixup_PU(), STB_section, strcmp(), Target, TARGET_ITANIUM, text_PC, TFile, TP_EMIT, Trace_Inst, TRUE, UINT, and UINT8.
Referenced by CG_Generate_Code().
Definition at line 9293 of file cgemit.cxx.
References alloca, AS_ALIGN, AS_GLOBAL, AS_SECTION, ASM_DIR_ALIGN, ASM_DIR_GPVALUE, ASM_DIR_STOINTERNAL, Asm_File, Assembly, Cg_Dwarf_Finish(), Cg_Dwarf_Translate_To_Elf(), Cg_Dwarf_Write_Assembly_From_Symbolic_Relocs(), CG_emit_asm_dwarf, CG_emit_non_gas_syntax, CGEMIT_Alias(), CGEMIT_Weak_Alias(), Change_Section_Origin(), CLASS_BLOCK, CLASS_CONST, CLASS_FUNC, CLASS_NAME, CLASS_VAR, Debug_Level, DEBUG_Optimize_Space, EC_Is_Bad_Pragma_Abort, EETARG_Emit_IP_Calc_Func(), Em_Add_Bytes_To_Scn(), Em_Add_Comment(), Em_Add_New_Symbol(), Em_Add_New_Weak_Symbol(), Em_Change_Section_Alignment(), Em_Cleanup_Unwind(), Em_Dwarf_End(), Em_Dwarf_Prepare_Output(), Em_Dwarf_Write_Scns(), Em_End_File(), Em_End_Section(), Em_Get_Section_Index(), Em_Get_Section_Offset(), Em_Options_Scn(), Em_Write_Reginfo(), Emit_Global_Data, EMIT_interface_section, EMT_Put_Elf_Symbol(), end_previous_text_region(), ErrMsg(), EXPORT_INTERNAL, FOREACH_SYMBOL, fprintf(), fputs(), generate_dwarf, generate_elf_symbols, GLOBAL_SYMTAB, GP_DISP, Has_Base_Block, Has_Strong_Symbol(), Index_To_Str(), Init_Section(), Init_ST_elf_index(), INT, INT16, Interface_Scn_End_File(), IPA_Object_Name, last_scn, NULL, Object_Code, Print_Dynsym(), Process_Bss_Data(), Process_Distr_Array(), Process_Initos_And_Literals(), Pure_ABI, Read_Global_Data, Reset_STB_root_base, Reset_STB_section, Save_Str2(), SCLASS_COMMENT, SCLASS_COMMON, SCLASS_EXTERN, SEC_is_merge(), Set_ST_base, Set_ST_export, Set_ST_name, Set_ST_ofst, Set_ST_sclass, Set_STB_align, Set_STB_compiler_layout, Set_STB_scninfo_idx(), Set_STB_section_idx, sprintf(), ST_base, ST_class, ST_emit_symbol, ST_is_export_local(), ST_is_fill_align, ST_is_not_used, ST_is_weak_symbol, ST_name, st_other_for_sym(), ST_sclass, ST_strong, STB_align, STB_GLOBAL, STB_nobits, STB_scninfo_idx(), STB_section, STB_section_idx, STB_size, STO_INTERNAL, strlen(), strncmp(), STT_FUNC, STT_OBJECT, AUX_SCN::sym, UINT32, Use_32_Bit_Pointers, and void.
Referenced by CG_Fini().
Definition at line 1090 of file cgemit.cxx.
References AS_GLOBAL, AS_TYPE, AS_TYPE_FUNC, AS_WEAK, Asm_File, Assembly, Base_Symbol_And_Offset(), CG_emit_non_gas_syntax, CLASS_BLOCK, CLASS_CONST, CLASS_FUNC, CLASS_NAME, CLASS_UNK, CLASS_VAR, Em_Add_New_Symbol(), Em_Add_New_Undef_Symbol(), Em_Get_Section_Index(), EMT_Put_Elf_Symbol(), EMT_Write_Qualified_Name(), FALSE, fprintf(), fputc(), generate_elf_symbols, Get_Offset_From_Full(), Init_Section(), INT64, Is_True, Print_Common(), Print_ST(), SCLASS_COMMON, SCLASS_DGLOBAL, SCLASS_EH_REGION, SCLASS_EXTERN, SCLASS_FORMAL, SCLASS_FSTATIC, SCLASS_PSTATIC, SCLASS_UGLOBAL, SCLASS_UNKNOWN, Set_ST_elf_index(), SHN_COMMON, SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED, SHN_UNDEF, ST_class, ST_elf_index(), ST_emit_symbol, ST_full, ST_is_export_local(), ST_is_gp_relative(), ST_is_not_used, ST_is_split_common, ST_is_weak_symbol, ST_name, st_other_for_sym(), ST_sclass, ST_type, STB_GLOBAL, STB_LOCAL, STB_scninfo_idx(), STB_section, STB_WEAK, STO_SC_ALIGN_UNUSED, strncmp(), STT_FUNC, STT_NOTYPE, STT_OBJECT, TFile, Trace_Elf, TY_align, and TY_size.
Referenced by CGEMIT_Add_Call_Information(), CGEMIT_Relocs_In_Object(), EMT_Assemble_BB(), EMT_Emit_PU(), EMT_End_File(), EMT_Put_Elf_Symbol(), get_elfindex_from_ASSOC_INFO(), Initialize_Interface_Description(), Process_Bss_Data(), put_location(), r_apply_l_const(), r_assemble_binary(), r_assemble_op(), R_Resolve_Branches(), Update_Interface_Scn(), Write_INITO(), Write_Label(), and Write_Symbol().
Definition at line 881 of file cgemit.cxx.
References CLASS_VAR, Emit_Global_Data, fprintf(), fputs(), Get_Current_PU_ST, GLOBAL_SYMTAB, Label_Name_Separator, SCLASS_PSTATIC, ST_base, ST_class, ST_index, ST_is_export_local(), ST_level, ST_name, ST_ofst, ST_pu(), ST_sclass, strlen(), strncmp(), and Symbol_Name_Suffix.
Referenced by CGEMIT_Prn_Ent_In_Asm(), CGEMIT_Write_Literal_Label(), CGEMIT_Write_Literal_Symbol(), CGEMIT_Write_Literal_TCON(), EMT_Emit_PU(), EMT_Put_Elf_Symbol(), Print_Common(), Print_Dynsym(), Print_Label(), Write_Symbol(), and Write_Symdiff().
Definition at line 8144 of file cgemit.cxx.
References Cg_Dwarf_Symtab_Entry(), CGD_LABIDX, and Em_Dwarf_End_Text_Region_Semi_Symbolic().
Referenced by EMT_End_File(), and Setup_Text_Section_For_PU().
Definition at line 8854 of file cgemit.cxx.
References ASM_CMNT_LINE, BOOL, FALSE, format_operand(), fprintf(), fputc(), INT, lab, OP_PREDICATE_OPND, sprintf(), TFile, TI_ASM_Print_Inst(), top, and TOP.
Referenced by EMT_Begin_File().
| static BB* Find_Stub_BB | ( | const LONGB_INFO * | longb, | |
| const STUB_INFO * | stubs | |||
| ) | [static] |
Definition at line 4872 of file cgemit.cxx.
References longb_info::distance, EMIT_Long_Branch_Limit, Get_Label_BB(), INT32, INT64, longb_info::longb_inum, stub_info::next, NULL, offset, stub_info::offset, longb_info::op, OP_opnd, longb_info::opnd, stub_info::stub, stub_info::stub_loc, stub_info::targ, TN_label, and TN_offset.
Referenced by Fixup_Long_Branches().
Definition at line 5322 of file cgemit.cxx.
References alloca, BB_Append_Op(), BB_cold, BB_first_op, BB_freq, BB_id, BB_Info_Maintain_Sort(), BB_Insert_Op_After(), BB_INFO::bb_inum, BB_INFO::bb_longb, BB_next, BB_INFO::bb_ptr, BB_Remove_Op(), longb_info::bbindex, BBLIST_item, BBLIST_prob, BOOL, CGTARG_Noop_Top(), cold_PC, Create_Stub_BB(), cur_pc, DevWarn, longb_info::distance, EMIT_Long_Branch_Limit, Exp_Noop(), Exp_OP1, FALSE, Find_Stub_BB(), FmtAssert, FOR_ALL_BB_SUCCS, fprintf(), Gen_Label_For_BB(), Gen_Label_TN(), Get_Label_BB(), Get_Label_Offset(), Get_Trace(), ICOLD, IHOT, INST_BYTES, INT, INT32, INT64, lab, LABEL_name, Link_Pred_Succ_with_Prob(), longb_info::longb_inum, MIN_BRANCH_DISP, longb_info::next, stub_info::next, NULL, stub_info::offset, longb_info::op, OP_branch_predict, OP_Change_Opcode(), OP_code, OP_find_opnd_use, OP_next, OP_opnd, OP_opnd_is_pcrel(), OP_opnd_lit_class(), OP_opnds, OP_Real_Inst_Words(), OP_scycle, OPC_GOTO, longb_info::opnd, OPS_Init(), OPS_last, PC_Bundle(), PC_Incr_N(), Print_BB_Header(), Print_Long_Branches(), Print_OP(), PU_BB_Count, Recompute_Label_Offset(), REGION_First_BB, Set_OP_opnd, Sort_Long_Branches(), start_pc, stub_info::stub, stub_bytes, stub_info::stub_loc, stubs, stub_info::targ, text_PC, TFile, TN_is_label, TN_is_tag, TN_label, TN_offset, TP_EMIT, Trace_Longbr, TRUE, and Unlink_Pred_Succ().
Referenced by R_Resolve_Branches().
| FmtAssert | ( | words | , | |
| 0 | , | |||
| ("%s", TI_errmsg) | ||||
| ) |
| for | ( | ) |
Definition at line 2255 of file cgemit.cxx.
Referenced by RGN_CFLOW_MGR::_acquire_cflow_info(), _bfd_ecoff_slurp_symbolic_info(), _bfd_mips_relax_section(), _bfd_XXi_only_swap_filehdr_out(), _FWN(), _nl_strd_derv(), _nl_stride_dv(), _nlstrent(), _stride_dv(), _Unwind_VRS_Pop(), Access_Vector_Condition_Provable(), add_phi_args_after_copy(), aff_combination_add(), aff_combination_scale(), alpha_fallback_frame_state(), bfd_ecoff_debug_accumulate(), build_def_use(), can_copy_bbs_p(), cgraph_postorder(), check_code_macro(), CIO_RWTRAN::CICSE_Transform(), collect_args(), copy_token_list(), DEFUN(), df_rd_alloc(), df_ru_alloc(), duplicate_loop_to_header_edge(), elf32_avr_check_relocs(), elf32_d10v_check_relocs(), elf32_dlx_check_relocs(), elf32_h8_relax_delete_bytes(), elf32_h8_symbol_address_p(), elf32_m68hc11_check_relocs(), elf32_msp430_check_relocs(), elf64_alpha_calc_got_offsets_for_symbol(), elf64_alpha_can_merge_gots(), elf64_alpha_merge_gots(), elf64_alpha_relax_tls_get_addr(), elf_strptr(), elfNN_ia64_global_dyn_sym_thunk(), eliminate_regs_in_insn(), evaluate_equiv_classes(), find_reg(), folder_driver(), fr30_cgen_init_opcode_table(), fr30_elf_check_relocs(), frv_cgen_init_opcode_table(), gen_insn(), get_dominated_by_region(), ggc_pch_read(), ia64_dependencies_evaluation_hook(), ia64_sched_init(), ieee_canonicalize_symtab(), init_reg_map(), ip2k_cgen_init_opcode_table(), iq2000_cgen_init_opcode_table(), iq2000_elf_check_relocs(), localvar_alloc(), loop_regs_scan(), lshift_significand(), m32r_cgen_init_opcode_table(), m32r_cgen_init_opinst_table(), malloc_find_inpool_(), mark_constant_pool(), mark_replaceable(), match_insn_m68k(), mcore_elf_check_relocs(), merge_states(), mips_elf64_write_rel(), mips_elf64_write_rela(), mips_fallback_frame_state(), mmix_elf_check_common_relocs(), mn10200_elf_relax_delete_bytes(), mn10300_elf_relax_delete_bytes(), msp430_elf_relax_delete_bytes(), oasys_write_record(), openrisc_cgen_init_opcode_table(), openrisc_elf_check_relocs(), output_min_issue_delay_table(), pa32_fallback_frame_state(), pex_msdos_cleanup(), pex_msdos_open(), PF_LG::PF_LG(), ppc_fallback_frame_state(), print_insn_cris_generic(), process_embedded_commands(), process_state_for_insn_equiv_partition(), readonly_dynrelocs(), replace_args(), rshift_significand(), s390_fallback_frame_state(), sh_fallback_frame_state(), solve_program_flow_graph(), sparc64_elf_write_relocs(), sparc_fallback_frame_state(), sticky_rshift_significand(), sunos_canonicalize_dynamic_reloc(), tpa_compact(), units_to_automata_heuristic_distr(), update_single_exits_after_duplication(), v850_elf_relax_delete_bytes(), WN_read_generic_map(), and xstormy16_cgen_init_opcode_table().
Definition at line 8804 of file cgemit.cxx.
References count, FALSE, FmtAssert, INT, INT64, NULL, and sprintf().
Referenced by Enumerate_Insts().
Definition at line 3650 of file cgemit.cxx.
References ASM_OP_opnd_memory, ASM_OP_opnd_position, ASM_OP_result_memory, ASM_OP_result_position, ASM_OP_wn, atoi(), c, CGTARG_Postprocess_Asm_String(), EC_ASM_Bad_Operand, ErrMsg(), FmtAssert, INT, isdigit(), malloc, Modify_Asm_String(), n, NULL, OP_Asm_Map, OP_MAP_Get(), OP_opnd, OP_opnds, OP_result, OP_results, OP_srcpos, REGISTER_name, replace, Replace_Substring(), sprintf(), Srcpos_To_Line, strcmp(), strcpy, strdup, strstr(), TN_is_register, TN_register, TN_register_class, UINT, and WN_asm_string().
Referenced by Assemble_Simulated_OP(), and Simulated_Op_Real_Inst_Words().
| static Elf64_Xword Generate_Exception_Table_Header | ( | INT | scn_idx, | |
| Elf64_Xword | scn_ofst, | |||
| LABEL_IDX * | labels | |||
| ) | [static] |
Definition at line 7340 of file cgemit.cxx.
References Asm_File, CURRENT_SYMTAB, fprintf(), Gen_PIC_Call_Shared, Gen_PIC_Shared, Host_To_Targ(), LABEL_name, Label_Table, malloc, MTYPE_I1, New_LABEL(), num_digits(), Save_Str(), Set_LABEL_name_idx(), sprintf(), strlen(), Write_Diff(), and Write_TCON().
Referenced by Write_INITO().
Definition at line 8948 of file cgemit.cxx.
References __Release_ID, NULL, s, strchr, and strncpy().
Referenced by EMT_Begin_File().
Definition at line 780 of file cgemit.cxx.
References atoll(), FmtAssert, NULL, ST_name, and strrchr().
Referenced by EMT_Put_Elf_Symbol().
| static Elf64_Xword Handle_EH_Region_Length | ( | LABEL_IDX | l, | |
| INT | scn_idx, | |||
| Elf64_Xword | scn_ofst | |||
| ) | [static] |
Definition at line 5985 of file cgemit.cxx.
References FmtAssert, and Write_Diff().
Referenced by Write_INITV().
Definition at line 659 of file cgemit.cxx.
References Align_Instructions, AS_ALIGN, Asm_File, Assembly, CGEMIT_Prn_Scn_In_Asm(), CGTARG_Text_Alignment(), current_pu, Em_Create_Section_Symbol(), Em_New_Data_Buffer(), Em_New_Section(), fprintf(), generate_elf_symbols, Get_Section_Elf_Entsize(), Get_Section_Elf_Flags(), Get_Section_Elf_Type(), INST_BYTES, Is_Text_Section, last_scn, max_scn, MEM_src_pool, NULL, OPT_Space, PU_in_elf_section(), SCLASS_TEXT, scn_entsize(), AUX_SCN::scninfo, Set_ST_elf_index(), Set_STB_align, Set_STB_scninfo_idx(), Src_Alloc, ST_elf_index(), ST_name, ST_sclass, STB_align, STB_exec, STB_nobits, STB_section_idx, STB_size, strncmp(), AUX_SCN::sym, tmp, TYPE_MEM_POOL_REALLOC_N, and UINT32.
Referenced by Create_Cold_Text_Section(), EMT_Emit_PU(), EMT_End_File(), EMT_Put_Elf_Symbol(), Process_Distr_Array(), Process_Initos_And_Literals(), and Setup_Text_Section_For_PU().
Definition at line 605 of file cgemit.cxx.
References Allocate_Elf_Index_Space(), elf_index_array, GLOBAL_SYMTAB, i, INT, Is_True, max_elf_index, MAX_SYMTAB_DEPTH, NULL, and UINT.
Referenced by EMT_Begin_File(), EMT_Emit_PU(), and EMT_End_File().
| static char* Modify_Asm_String | ( | char * | asm_string, | |
| UINT32 | position, | |||
| bool | memory, | |||
| TN * | offset_tn, | |||
| TN * | tn, | |||
| BB * | bb | |||
| ) | [static] |
Definition at line 3048 of file cgemit.cxx.
References alloca, Base_Symbol_And_Offset(), BB_rotating_kernel, BOOL, CGTARG_Asm_Opnd_Modifiers, CGTARG_Modified_Asm_Opnd_Name(), CGTARG_Num_Asm_Opnd_Modifiers, CLASS_CONST, FALSE, FmtAssert, FP_Sym, FP_TN, INT, INT64, Is_Target_32bit, next, NULL, REGISTER_Is_Stacked_Output(), REGISTER_machine_id, REGISTER_MIN, REGISTER_name, REGISTER_Translate_Stacked_Output(), replace, Replace_Substring(), SP_Sym, SP_TN, sprintf(), ST_class, ST_name, ST_size, STC_val, strchr, strcmp(), strlen(), strstr(), Targ_String_Address(), TN_has_value, TN_is_constant, TN_is_register, TN_is_symbol, TN_offset, TN_register, TN_register_class, TN_size, TN_value, TN_var, TRUE, and UINT.
Referenced by Generate_Asm_String().
| static int num_digits | ( | int | in | ) | [static] |
Definition at line 7328 of file cgemit.cxx.
Referenced by convert_binary_literal(), convert_hex_literal(), Generate_Exception_Table_Header(), and ANL_FILE_MNGR::Read_Uint64().
Definition at line 5676 of file cgemit.cxx.
References BB_first_op, INT, OP_dummy, OP_end_group, and OP_next.
Referenced by Check_If_Should_Align_BB().
Definition at line 7459 of file cgemit.cxx.
References Offset_From_Base_Symbol().
Referenced by Process_Bss_Data(), and Process_Initos_And_Literals().
Definition at line 5803 of file cgemit.cxx.
References BB_Append_Op(), BB_last_op, CGTARG_Noop_Top(), Exp_Noop(), INT, OP_Change_Opcode(), OP_Real_Inst_Words(), OP_scycle, OPS_EMPTY, OPS_last, Reset_OP_end_group, Set_OP_end_group, UINT32, and UINT64.
Referenced by R_Resolve_Branches().
Definition at line 840 of file cgemit.cxx.
References INST_BYTES.
Referenced by Fixup_Long_Branches(), PC_Incr_N(), and r_assemble_binary().
Definition at line 855 of file cgemit.cxx.
References INST_BYTES, and PC_Slot().
Referenced by Check_If_Should_Align_BB().
Definition at line 868 of file cgemit.cxx.
References INST_BYTES, PC_Bundle(), PC_Slot(), slots, and UINT.
Referenced by Fixup_Long_Branches(), r_assemble_op(), R_Resolve_Branches(), and Recompute_Label_Offset().
Definition at line 847 of file cgemit.cxx.
References INST_BYTES.
Referenced by PC_Incr(), and PC_Incr_N().
Definition at line 1009 of file cgemit.cxx.
References AS_COM, AS_WEAK, Base_Symbol_And_Offset(), CGEMIT_Print_Variable(), EMT_Write_Qualified_Name(), fprintf(), fputc(), fputs(), generate_elf_symbols, INT64, LL_FORMAT, Print_Dynsym(), SCLASS_COMMON, Set_ST_elf_index(), ST_elf_index(), ST_is_weak_symbol, ST_sclass, ST_type, TY_align, and TY_size.
Referenced by EMT_Put_Elf_Symbol().
Definition at line 920 of file cgemit.cxx.
References AS_DYNSYM, EMT_Write_Qualified_Name(), EXPORT_HIDDEN, EXPORT_INTERNAL, EXPORT_OPTIONAL, EXPORT_PROTECTED, fprintf(), fputs(), ST_export, and x.
Referenced by EMT_End_File(), Print_Common(), and Print_Label().
Definition at line 946 of file cgemit.cxx.
References AS_GLOBAL, AS_SIZE, AS_TYPE, AS_TYPE_FUNC, AS_TYPE_OBJECT, AS_WEAK, ASM_CMNT, Base_Symbol_And_Offset(), CG_emit_non_gas_syntax, CLASS_FUNC, CLASS_VAR, EMT_Write_Qualified_Name(), EXPORT_HIDDEN, fprintf(), fputc(), INT64, LL_FORMAT, Print_Dynsym(), ST_class, ST_export, ST_is_export_local(), and ST_is_weak_symbol.
Referenced by EMT_Assemble_BB(), EMT_Emit_PU(), Process_Bss_Data(), and Write_INITO().
| static void Print_Long_Branches | ( | LONGB_INFO * | longb_list | ) | [static] |
Definition at line 5305 of file cgemit.cxx.
References BB_id, BB_INFO::bb_ptr, longb_info::bbindex, longb_info::distance, fprintf(), longb_info::longb_inum, longb_info::next, and TFile.
Referenced by Fixup_Long_Branches().
Definition at line 1620 of file cgemit.cxx.
References vstr_concat(), WN_pf_stride_1L, and WN_pf_stride_2L.
| static void Process_Bss_Data | ( | SYMTAB_IDX | stab | ) | [static] |
Definition at line 7754 of file cgemit.cxx.
References AS_ALIGN, AS_SECTION, ASM_DIR_SKIP, Asm_File, Assembly, Base_Symbol_And_Offset(), BOOL, BSS_RAW_NAME, CG_emit_non_gas_syntax, CGEMIT_Print_Variable(), Change_Section_Origin(), CLASS_BLOCK, CLASS_VAR, DevWarn, EMT_Put_Elf_Symbol(), FALSE, fprintf(), generate_elf_symbols, Get_Current_PU, GLOBAL_SYMTAB, Has_Base_Block, INT64, MAX, NULL, offset_lt(), Pointer_Size, Print_Label(), pu, PU_cxx_lang(), PU_ftn_lang(), Pu_Table, SCLASS_FORMAL, SCLASS_FSTATIC, SCLASS_PSTATIC, SCLASS_UGLOBAL, section_lt(), SEGMENTED_ARRAY< T, block_size >::Size(), size_lt(), ST_base, ST_base_idx(), ST_class, ST_has_named_section(), ST_is_equivalenced, ST_is_export_local(), ST_name, ST_ofst, ST_sclass, ST_st_idx, St_Table, ST_Table_Size(), ST_type, STB_align, STB_nobits, STB_section, strcmp(), TRUE, TY_align, TY_size, and UINT.
Referenced by EMT_Emit_PU(), and EMT_End_File().
| static void Process_Distr_Array | ( | ) | [static] |
Definition at line 7717 of file cgemit.cxx.
References AS_ALIGN, Asm_File, Base_Symbol_And_Offset(), Change_Section_Origin(), CLASS_BLOCK, FmtAssert, fprintf(), GLOBAL_SYMTAB, Init_Section(), INITO_st(), Inito_Table, INITO_Table_Size(), INT64, SCLASS_DISTR_ARRAY, ST_class, ST_is_not_used, ST_name, ST_sclass, ST_type, STB_scninfo_idx(), STB_section, TY_align, UINT, and Write_INITO().
Referenced by EMT_End_File().
| static void Process_Initos_And_Literals | ( | SYMTAB_IDX | stab | ) | [static] |
Definition at line 7498 of file cgemit.cxx.
References AS_ALIGN, Asm_File, Base_Symbol_And_Offset(), BE_ST_referenced(), BOOL, CGEMIT_Print_Initialized_Variable(), CGEMIT_Print_Variable(), Change_Section_Origin(), CLASS_BLOCK, CLASS_CONST, CLASS_PREG, Emit_Global_Data, EXPORT_LOCAL, EXPORT_LOCAL_INTERNAL, FALSE, FmtAssert, fprintf(), GLOBAL_SYMTAB, Init_Section(), INITO_st(), Inito_Table, INITO_Table_Size(), INT64, Is_Simple_Type(), MTYPE_STR, MTYPE_STRING, offset_lt(), SCLASS_DISTR_ARRAY, SCLASS_EXTERN, SCLASS_FSTATIC, SCLASS_PSTATIC, SEC_is_merge(), section_lt(), size_lt(), ST_class, ST_export, ST_index, st_inito_map, ST_is_not_used, ST_name, ST_sclass, ST_st_idx, St_Table, ST_Table_Size(), ST_tcon_val(), ST_type, STB_scninfo_idx(), STB_section, STB_section_idx, strncmp(), TCON_ty, TRUE, TY_align, UINT, Write_INITO(), and Write_TCON().
Referenced by EMT_Emit_PU(), and EMT_End_File().
Definition at line 1346 of file cgemit.cxx.
References CLASS_CONST, INT64, LABEL_name, MTYPE_is_float, NULL, ST_class, ST_mtype(), ST_name, ST_tcon_val(), Targ_Print(), TN_is_constant, TN_is_label, TN_is_symbol, TN_label, TN_offset, TN_var, val, vstr_concat(), vstr_len, and vstr_sprintf().
Referenced by r_assemble_list().
Definition at line 1386 of file cgemit.cxx.
References Base_Symbol_And_Offset(), BOOL, CGEMIT_Relocs_In_Asm(), CGEMIT_Use_Base_ST_For_Reloc(), CLASS_CONST, CLASS_FUNC, current_pu, EMT_Put_Elf_Symbol(), FALSE, FmtAssert, FP_Sym, Get_Label_Offset(), INT, INT64, Is_Target_32bit, Is_True, isdigit(), LABEL_name, LL_FORMAT, mINT32, MTYPE_is_float, NULL, OP_code, OP_opnd, op::opr, PC, SCLASS_EXTERN, short, SP_Sym, ST_class, ST_index, ST_mtype(), ST_name, ST_sclass, STC_val, Symbol_Name_Suffix, Targ_Print(), TN_enum, TN_has_value, TN_is_enum, TN_is_label, TN_is_reloc_high16, TN_is_reloc_higher, TN_is_reloc_highest, TN_is_reloc_low16, TN_is_reloc_neg, TN_is_symbol, TN_is_tag, TN_label, TN_offset, TN_relocs, TN_size, TN_value, TN_var, TRUE, Use_Separate_PU_Section, val, void, vstr_concat(), vstr_len, and vstr_sprintf().
Referenced by r_assemble_list().
Definition at line 2103 of file cgemit.cxx.
References Base_Symbol_And_Offset(), BB_rotating_kernel, CGEMIT_Relocs_In_Object(), CGEMIT_Use_Base_ST_For_Reloc(), CLASS_CONST, CLASS_VAR, current_pu, DevWarn, Em_Add_New_Rel(), Em_Add_New_Rela(), EMIT_Long_Branch_Limit, EMT_Put_Elf_Symbol(), FALSE, FmtAssert, FP_Sym, Get_Label_Offset(), GP_DISP, Has_Base_Block, i, INT, INT64, OP_code, OP_jump, OP_opnd, OP_opnd_is_pcrel(), OP_opnd_lit_class(), OP_opnds, opcode, opnd, PC, PC_Bundle(), R_MIPS_26, rc, REGISTER_Is_Stacked_Output(), REGISTER_machine_id, REGISTER_Translate_Stacked_Output(), short, SP_Sym, ST_class, ST_is_export_local(), ST_is_gp_relative(), ST_name, TN_enum, TN_has_value, TN_is_constant, TN_is_enum, TN_is_label, TN_is_reloc_high16, TN_is_reloc_higher, TN_is_reloc_highest, TN_is_reloc_low16, TN_is_reloc_neg, TN_is_symbol, TN_is_tag, TN_label, TN_offset, TN_register, TN_register_class, TN_relocs, TN_value, TN_var, TOP, Use_Separate_PU_Section, val, and words.
Referenced by r_assemble_op().
Definition at line 1647 of file cgemit.cxx.
References ANNOT_Get(), ANNOT_rotating_kernel, ANNOT_ROTATING_KERNEL, ASM_CMNT, Asm_File, BB_annotations, BB_rotating_kernel, BB_scheduled, BOOL, buf, CGEMIT_Print_Inst(), comment(), Emit_Unwind_Directives_For_OP(), FALSE, FmtAssert, fprintf(), fputc(), Get_OP_Tag(), i, ROTATING_KERNEL_INFO::ii, ii, info, INT, LABEL_name, LBUF_LEN, List_Software_Names, NULL, OP_code, OP_end_group, OP_has_predicate, OP_has_tag, OP_noop, OP_opnd, OP_opnd_reg_subclass(), OP_opnds, OP_PREDICATE_OPND, OP_result, OP_result_reg_subclass(), OP_results, OP_scycle, OP_srcpos, opnd, put_TN_comment(), r_apply_l_const(), rc, REGISTER_Is_Stacked_Output(), REGISTER_machine_id, REGISTER_name, REGISTER_SET_MemberP(), REGISTER_SUBCLASS_members, REGISTER_SUBCLASS_reg_name, REGISTER_Translate_Stacked_Output(), REGISTER_UNDEFINED, Srcpos_To_Line, start, TI_ASM_Print_Inst(), TI_errmsg, TI_RC_ERROR, TN_is_constant, TN_is_true_pred, TN_number, TN_register, TN_register_class, vstr_append(), vstr_begin(), vstr_concat(), vstr_end(), vstr_len, vstr_sprintf(), and vstr_str.
Referenced by r_assemble_op().
Definition at line 2487 of file cgemit.cxx.
References alloca, ANNOT_ENTRYINFO, ANNOT_entryinfo, ANNOT_Get(), ANNOT_SWITCH, ANNOT_switch, Asm_File, Assembly, BB_annotations, BB_entry, BB_exit, BB_first_op, BB_First_Pred, BB_preds_len(), BB_prev, BOOL, buf, Cg_Dwarf_Add_Line_Entry(), Cg_Dwarf_First_Op_After_Preamble_End, CG_emit_unwind_info, CGEMIT_Add_Call_Information(), CGEMIT_Setup_Ctrl_Register(), Cur_PU_Name, Current_PU_Count(), CURRENT_SYMTAB, Debug_Level, Em_Add_New_Event(), EMT_Put_Elf_Symbol(), ENTRYINFO_name, FALSE, FmtAssert, FP_TN, fprintf(), Frame_Len, Gen_Label_For_BB(), Gen_Literal_TN(), Get_Current_PU, Get_Trace(), imm16, INT, INT32, Is_True, LABEL_IDX_ZERO, LABEL_Init(), LABEL_name, Last_Label, LKIND_DEFAULT, New_LABEL(), op::next, NULL, num_entries, Object_Code, Offset_From_Last_Label, OP_call, OP_Change_Opcode(), OP_code, OP_first_after_preamble_end, OP_ijump, OP_next, OP_opnd, OP_prefetch, OP_result, OP_srcpos, OP_tail_call, PC, PC_Incr_N(), Print_OP(), PU_ftn_lang(), r_assemble_binary(), r_assemble_list(), REGION_First_BB, Save_Str(), Set_OP_opnd, Set_TN_offset, Set_TN_register_class, SP_TN, sprintf(), ST_is_gp_relative(), ST_name, ST_type, strcmp(), strlen(), TI_ASM_Set_Bundle_Comp(), tmp, TN_offset, TN_value, TP_EMIT, Trace_Inst, TRUE, TY_AR_ubnd_val, Use_32_Bit_Pointers, Use_Prefetch, and Verify_Instruction().
Referenced by Assemble_Bundles(), Assemble_Ops(), and Assemble_Simulated_OP().
Definition at line 5876 of file cgemit.cxx.
References BB_cold, BB_first_op, BB_id, BB_next, CGTARG_Has_Branch_Predict(), Check_If_Should_Align_BB(), cold_PC, Em_Define_Symbol(), EMT_Put_Elf_Symbol(), Fixup_Long_Branches(), fprintf(), Gen_Label_For_BB(), generate_elf_symbols, Hardware_Workarounds(), ICOLD, IHOT, INST_BYTES, INT, INT32, MIN_BRANCH_DISP, NULL, OP_next, OP_Real_Inst_Words(), Pad_BB_With_Noops(), PC_Incr_N(), Recompute_Label_Offset(), REGION_First_BB, text_PC, TFile, and Trace_Inst.
Referenced by EMT_Emit_PU().
Definition at line 5058 of file cgemit.cxx.
References ANNOT_First, ANNOT_label, ANNOT_LABEL, ANNOT_Next, BB_annotations, BB_cold, BB_first_op, BB_next, BB_st(), cold_PC, cur_pc, fprintf(), Get_OP_Tag(), ICOLD, IHOT, INT, INT32, Is_True, lab, NULL, OP_has_tag, OP_next, OP_Real_Inst_Words(), PC_Incr_N(), Print_OP(), REGION_First_BB, Set_Label_Offset(), Set_ST_base, Set_ST_ofst, text_PC, and TFile.
Referenced by Fixup_Long_Branches(), and R_Resolve_Branches().
| static char* Replace_Substring | ( | char * | in, | |
| char * | from, | |||
| const char * | to | |||
| ) | [static] |
Definition at line 3005 of file cgemit.cxx.
References alloca, NULL, sprintf(), strdup, strlen(), strstr(), and UINT.
Referenced by Generate_Asm_String(), and Modify_Asm_String().
Definition at line 7452 of file cgemit.cxx.
References Base_Symbol().
Referenced by Process_Bss_Data(), and Process_Initos_And_Literals().
Definition at line 634 of file cgemit.cxx.
References elf_index_array, INT, Is_True, max_elf_index, MAX_SYMTAB_DEPTH, ST_index, and ST_level.
Referenced by EMT_Put_Elf_Symbol(), Init_Section(), and Print_Common().
Definition at line 8087 of file cgemit.cxx.
References AS_SECTION, Asm_File, Assembly, BB_cold, BOOL, cold_PC, FALSE, fprintf(), Get_Current_PU, PC, PU_has_exc_scopes(), ST_name, and text_PC.
Referenced by EMT_Emit_PU().
Definition at line 8160 of file cgemit.cxx.
References _SEC_TEXT, alloca, AS_ALIGN, AS_SECTION, ASM_DIR_ALIGN, Asm_File, Assembly, BOOL, Cg_Dwarf_Symtab_Entry(), CGD_LABIDX, Check_If_Should_Align_PU(), cold_PC, Copy_BLK(), Copy_ST(), Cur_PU_Name, current_pu, CURRENT_SYMTAB, Debug_Level, Em_Add_Zeros_To_Scn(), Em_Change_Section_Origin(), Em_Dwarf_Start_Text_Region_Semi_Symbolic(), Em_Get_Section_Offset(), END_Label_Format, end_previous_text_region(), FALSE, FP_Sym, fprintf(), fputs(), Gen_Label_For_BB(), generate_dwarf, generate_elf_symbols, Get_Trace(), Init_Section(), Initial_Pu_Label, INST_BYTES, INT, Is_True, LABEL_IDX_ZERO, LABEL_Init(), Last_Label, LKIND_DEFAULT, New_LABEL(), NULL, Object_Code, Offset_From_Last_Label, orig_text_base, PC, PU_in_elf_section(), REGION_First_BB, Save_Str(), Save_Str2(), AUX_SCN::scninfo, SEC_block, Section_For_Each_Function, Set_ST_blk(), Set_ST_name, Set_STB_scninfo_idx(), Set_STB_section_idx, Set_STB_size, SP_Sym, sprintf(), ST_base, ST_blk(), ST_elf_index(), ST_has_named_section(), ST_name, ST_name_idx(), ST_pu(), STB_align, STB_scninfo_idx(), STB_section_idx, STB_size, strlen(), text_PC, TP_EMIT, TRUE, and UINT32.
Referenced by EMT_Emit_PU().
Definition at line 7465 of file cgemit.cxx.
References ST_type, and TY_size.
Referenced by Process_Bss_Data(), and Process_Initos_And_Literals().
| static LONGB_INFO* Sort_Long_Branches | ( | INT | num_longb, | |
| LONGB_INFO * | longb_list | |||
| ) | [static] |
Definition at line 5268 of file cgemit.cxx.
References alloca, Compare_Long_Branches(), INT, longb_info::next, NULL, qsort(), and vec.
Referenced by Fixup_Long_Branches().
Definition at line 623 of file cgemit.cxx.
References elf_index_array, INT, Is_True, max_elf_index, MAX_SYMTAB_DEPTH, ST_index, and ST_level.
Referenced by EMT_Change_Symbol_To_Undefined(), EMT_Change_Symbol_To_Weak(), EMT_Emit_PU(), EMT_Put_Elf_Symbol(), Init_Section(), Print_Common(), and Setup_Text_Section_For_PU().
Definition at line 646 of file cgemit.cxx.
References Base_Symbol(), CLASS_BLOCK, CLASS_VAR, ST_class, and ST_gprel.
Referenced by EMT_Put_Elf_Symbol(), r_assemble_binary(), and r_assemble_op().
| static unsigned char st_other_for_sym | ( | ST * | sym | ) | [static] |
Definition at line 755 of file cgemit.cxx.
References EXPORT_HIDDEN, EXPORT_INTERNAL, EXPORT_OPTIONAL, EXPORT_PROTECTED, ST_export, STO_DEFAULT, STO_HIDDEN, STO_INTERNAL, STO_OPTIONAL, and STO_PROTECTED.
Referenced by EMT_End_File(), and EMT_Put_Elf_Symbol().
| static void Trace_Init_Loc | ( | INT | scn_idx, | |
| Elf64_Xword | scn_ofst, | |||
| INT32 | repeat | |||
| ) | [static] |
Definition at line 5960 of file cgemit.cxx.
References fprintf(), INT64, ST_name, and TFile.
Referenced by Write_INITO(), Write_Label(), Write_Symbol(), Write_Symdiff(), and Write_TCON().
Definition at line 2006 of file cgemit.cxx.
References FALSE, FmtAssert, i, index(), INT, NULL, OP_code, OP_opnd, OP_opnds, OP_prev, OP_result, OP_results, OP_uniq_res, prev, RSP, TN_is_register, TN_register, TN_register_and_class, TNs_Are_Equivalent(), top, TOP, TOP_fixed_opnds, TOP_fixed_results, TRUE, and Verify_Operand().
Referenced by r_assemble_op().
| static void Verify_Operand | ( | const ISA_OPERAND_INFO * | oinfo, | |
| OP * | op, | |||
| INT | opnd, | |||
| BOOL | is_result | |||
| ) | [static] |
Definition at line 1892 of file cgemit.cxx.
References BBLIST_item, BOOL, CFLOW_Enable, CG_opt_level, DevWarn, FALSE, FmtAssert, FOR_ALL_BB_SUCCS, fprintf(), Get_Label_BB(), Get_Label_Offset(), INT, INT32, INT64, lab, LABEL_name, offset, OP_bb, OP_likely, OP_opnd, OP_result, PC, Print_OP_No_SrcLine(), rc, REGISTER_CLASS_universe, REGISTER_SET_MemberP(), REGISTER_SUBCLASS_members, REGISTER_UNDEFINED, Rip_TN(), TFile, TN_enum, TN_has_value, TN_is_constant, TN_is_enum, TN_is_label, TN_is_register, TN_label, TN_offset, TN_register, TN_register_class, TN_size, TN_value, Trace_Inst, TRUE, and val.
Referenced by Verify_Instruction().
| static Elf64_Word Write_Diff | ( | LABEL_IDX | lab1, | |
| LABEL_IDX | lab2, | |||
| INT | scn_idx, | |||
| Elf64_Word | scn_ofst | |||
| ) | [static] |
Definition at line 7312 of file cgemit.cxx.
References Asm_File, fputc(), fputs(), and LABEL_name.
Referenced by Generate_Exception_Table_Header(), and Handle_EH_Region_Length().
| static void Write_INITO | ( | INITO * | inop, | |
| INT | scn_idx, | |||
| Elf64_Xword | scn_ofst | |||
| ) | [static] |
Definition at line 7183 of file cgemit.cxx.
References ASM_CMNT, ASM_DIR_ZERO, Asm_File, Assembly, Base_Symbol_And_Offset(), CG_emit_non_gas_syntax, CLASS_CONST, Em_Add_Zeros_To_Scn(), EMT_Put_Elf_Symbol(), FmtAssert, FOREACH_INITV, fprintf(), Generate_Exception_Table_Header(), INITO_st(), INITO_val(), INITV_next(), Initv_Table, INT32, INT64, LABEL_name, NULL, Object_Code, Print_INITO(), Print_Label(), SCLASS_EH_REGION, AUX_SCN::scninfo, ST_class, ST_is_export_local(), ST_name, ST_sclass, ST_tcon_val(), ST_type, strlen(), strncmp(), TFile, Trace_Init, Trace_Init_Loc(), TY_size, Write_INITV(), and Write_TCON().
Referenced by Process_Distr_Array(), and Process_Initos_And_Literals().
| static Elf64_Word Write_INITV | ( | INITV_IDX | invidx, | |
| INT | scn_idx, | |||
| Elf64_Word | scn_ofst, | |||
| bool | etable = 0, |
|||
| int | format = 0 | |||
| ) | [static] |
Definition at line 6653 of file cgemit.cxx.
References ASM_DIR_SKIP, ASM_DIR_ZERO, Asm_File, Assembly, CG_emit_non_gas_syntax, Em_Add_Zeros_To_Scn(), format, fprintf(), fputs(), Gen_PIC_Call_Shared, Gen_PIC_Shared, Handle_EH_Region_Length(), Host_To_Targ(), INITV_blk(), INITV_kind(), INITV_lab(), INITV_lab1(), INITV_lab_flags(), INITV_lab_mtype(), INITV_mtype(), INITV_next(), INITV_ofst(), INITV_pad(), INITV_repeat1(), INITV_repeat2(), INITV_st(), INITV_st2(), Initv_Table, INITV_tc_val(), INITVKIND_BLOCK, INITVKIND_LABEL, INITVKIND_ONE, INITVKIND_PAD, INITVKIND_SYMDIFF, INITVKIND_SYMDIFF16, INITVKIND_SYMOFF, INITVKIND_VAL, INITVKIND_ZERO, INT, INT32, INT64, lab, MTYPE_I4, Object_Code, Offset_from_FP(), SCLASS_AUTO, SCLASS_FORMAL, AUX_SCN::scninfo, ST_base, ST_ofst, ST_sclass, St_Table, Write_Label(), Write_Symbol(), Write_Symdiff(), and Write_TCON().
Referenced by Write_INITO().
| static Elf64_Word Write_Label | ( | LABEL_IDX | lab, | |
| Elf64_Sxword | lab_ofst, | |||
| INT | scn_idx, | |||
| Elf64_Word | scn_ofst, | |||
| INT32 | repeat, | |||
| INT32 | flags, | |||
| mTYPE_ID | mtype | |||
| ) | [static] |
Definition at line 6395 of file cgemit.cxx.
References AS_ADDRESS, AS_ADDRESS_UNALIGNED, AS_BYTE, AS_DWORD, AS_DWORD_UNALIGNED, AS_HALF, AS_HALF_UNALIGNED, AS_WORD, AS_WORD_UNALIGNED, ASM_DIR_ZERO, Asm_File, Assembly, BB_cold, CG_emit_non_gas_syntax, current_pu, Em_Add_Address_To_Scn(), Em_Add_New_Content(), Em_Add_Zeros_To_Scn(), EMT_Put_Elf_Symbol(), FALSE, FmtAssert, fprintf(), fputs(), Get_Label_BB(), Get_Label_Offset(), Has_Base_Block, INITVLABELFLAGS_UNUSED, INITVLABELFLAGS_VALUES_FIRST, INITVLABELFLAGS_VALUES_LAST, INITVLABELFLAGS_VALUES_MINUS, INITVLABELFLAGS_VALUES_PLUS, INT, INT32, INT64, Is_True, LABEL_name, MTYPE_byte_size, MTYPE_I1, MTYPE_I2, MTYPE_I4, MTYPE_I8, MTYPE_UNKNOWN, NULL, Object_Code, AUX_SCN::scninfo, TFile, Trace_Init, Trace_Init_Loc(), Use_32_Bit_Pointers, and Use_Separate_PU_Section.
Referenced by Write_INITV().
| static Elf64_Word Write_Symbol | ( | ST * | sym, | |
| Elf64_Sxword | sym_ofst, | |||
| INT | scn_idx, | |||
| Elf64_Word | scn_ofst, | |||
| INT32 | repeat | |||
| ) | [static] |
Definition at line 6262 of file cgemit.cxx.
References Allocate_Object(), AS_ADDRESS, AS_ADDRESS_UNALIGNED, AS_FPTR, AS_TYPE, AS_TYPE_FUNC, ASM_DIR_ZERO, Asm_File, Assembly, Base_Symbol(), Base_Symbol_And_Offset(), CG_emit_non_gas_syntax, CLASS_CONST, CLASS_FUNC, current_pu, Em_Add_Address_To_Scn(), Em_Add_Displacement_To_Scn(), Em_Add_New_Content(), Em_Add_Zeros_To_Scn(), EMT_Put_Elf_Symbol(), EMT_Write_Qualified_Name(), fprintf(), fptr, Get_Trace(), Has_Base_Block, INT, INT32, INT64, Is_Global_Symbol, Is_True, Object_Code, SCLASS_EH_REGION_SUPP, SCLASS_TEXT, AUX_SCN::scninfo, ST_class, ST_is_export_local(), ST_name, ST_sclass, TFile, TP_EMIT, Trace_Init, Trace_Init_Loc(), Use_32_Bit_Pointers, and Use_Separate_PU_Section.
Referenced by Write_INITV().
| static Elf64_Word Write_Symdiff | ( | LABEL_IDX | lab1, | |
| ST_IDX | sym2idx, | |||
| INT | scn_idx, | |||
| Elf64_Word | scn_ofst, | |||
| INT32 | repeat, | |||
| INT | size | |||
| ) | [static] |
Definition at line 6526 of file cgemit.cxx.
References AS_HALF, AS_WORD, Asm_File, Assembly, Base_Symbol_And_Offset(), BB_cold, current_pu, DevWarn, Early_Terminate(), Em_Add_Bytes_To_Scn(), EMT_Write_Qualified_Name(), fprintf(), fputc(), fputs(), Get_Label_BB(), Get_Label_Offset(), Has_Base_Block, INT32, INT64, Is_True, LABEL_name, Object_Code, RC_OVERFLOW_ERROR, AUX_SCN::scninfo, ST_name, St_Table, TFile, Trace_Init, Trace_Init_Loc(), and Use_Separate_PU_Section.
Referenced by Write_INITV().
| static Elf64_Word Write_TCON | ( | TCON * | tcon, | |
| INT | scn_idx, | |||
| Elf64_Xword | scn_ofst, | |||
| INT32 | repeat | |||
| ) | [static] |
Definition at line 6020 of file cgemit.cxx.
References Asm_File, Assembly, Be_Type_Tbl, BOOL, FmtAssert, format, fprintf(), INT32, INT64, MTYPE_STRING, NULL, Object_Code, AUX_SCN::scninfo, Targ_Emit_Const(), Targ_Print(), Targ_String_Length(), TCON_add_null, TCON_ty, TFile, Trace_Init, Trace_Init_Loc(), and TY_size.
Referenced by Generate_Exception_Table_Header(), Process_Initos_And_Literals(), Write_INITO(), and Write_INITV().
| const char __Release_ID[] |
Definition at line 318 of file cgemit.cxx.
Referenced by Emit_Loop_Note(), EMT_Assemble_BB(), EMT_Emit_PU(), and Move_Locations_To_Anl_File().
Definition at line 4840 of file cgemit.cxx.
| BOOL CG_emit_asm_dwarf = TRUE |
Definition at line 232 of file cgemit.cxx.
Referenced by CGEMIT_Prn_File_Dir_In_Asm(), CGEMIT_Prn_Line_Dir_In_Asm(), EMT_Begin_File(), and EMT_End_File().
| BOOL CG_emit_unwind_directives = FALSE |
Definition at line 235 of file cgemit.cxx.
Referenced by Build_Fde_For_Proc(), and Emit_Unwind_Directives_For_OP().
| BOOL CG_emit_unwind_info = TRUE |
Definition at line 233 of file cgemit.cxx.
Referenced by Build_Fde_For_Proc(), Cg_Dwarf_Begin(), CG_Generate_Code(), EMT_Assemble_BB(), and r_assemble_op().
| BOOL CG_emit_unwind_info_Set = FALSE |
Definition at line 282 of file cgemit.cxx.
Definition at line 278 of file cgemit.cxx.
Referenced by EMT_Begin_File(), Fixup_Long_Branches(), R_Resolve_Branches(), Recompute_Label_Offset(), Setup_Text_Section_For_BB(), and Setup_Text_Section_For_PU().
pSCNINFO cold_section = NULL [static] |
Definition at line 286 of file cgemit.cxx.
ST* cur_section = NULL [static] |
Definition at line 306 of file cgemit.cxx.
Referenced by WN_open_output(), WN_write_dst(), WN_write_flags(), WN_write_globals(), WN_write_PU_Infos(), WN_write_strtab(), WN_write_symtab(), and WN_write_tree().
PU_IDX current_pu = 0 [static] |
Definition at line 308 of file cgemit.cxx.
Referenced by IGLS_Schedule_Region(), Init_Section(), Inliner_Read_PUs(), Inliner_Write_PUs(), main(), Perform_Alias_Class_Annotation(), r_apply_l_const(), r_assemble_binary(), Setup_Text_Section_For_PU(), Write_Label(), Write_Symbol(), and Write_Symdiff().
INT current_rid = 0 [static] |
INT32* elf_index_array[MAX_SYMTAB_DEPTH] [static] |
Initial value:
Definition at line 340 of file cgemit.cxx.
Referenced by Allocate_Elf_Index_Space(), Init_ST_elf_index(), Set_ST_elf_index(), and ST_elf_index().
Definition at line 301 of file cgemit.cxx.
int exception_table_id = 0 [static] |
Definition at line 5977 of file cgemit.cxx.
BOOL generate_dwarf = FALSE [static] |
Definition at line 252 of file cgemit.cxx.
Referenced by EMT_Begin_File(), EMT_Emit_PU(), EMT_End_File(), and Setup_Text_Section_For_PU().
BOOL generate_elf_symbols = FALSE [static] |
Definition at line 253 of file cgemit.cxx.
Referenced by Create_Cold_Text_Section(), EMT_Begin_File(), EMT_End_File(), EMT_Put_Elf_Symbol(), Init_Section(), Print_Common(), Process_Bss_Data(), R_Resolve_Branches(), and Setup_Text_Section_For_PU().
LABEL_IDX Initial_Pu_Label [static] |
Definition at line 271 of file cgemit.cxx.
Referenced by EMT_Assemble_BB(), EMT_Emit_PU(), and Setup_Text_Section_For_PU().
char ism_name[40] [static] |
Definition at line 8944 of file cgemit.cxx.
LABEL_IDX Last_Label = LABEL_IDX_ZERO [static] |
Definition at line 268 of file cgemit.cxx.
Referenced by EMT_Assemble_BB(), EMT_Emit_PU(), r_assemble_op(), and Setup_Text_Section_For_PU().
| const char* lsda_cs_begin = ".LSDACSB" |
Definition at line 5980 of file cgemit.cxx.
| const char* lsda_cs_end = ".LSDACSE" |
Definition at line 5981 of file cgemit.cxx.
| const char* lsda_ttype_base = ".LSDATTYPEB" |
Definition at line 5978 of file cgemit.cxx.
| const char* lsda_ttype_disp = ".LSDATTYPED" |
Definition at line 5979 of file cgemit.cxx.
INT max_elf_index[MAX_SYMTAB_DEPTH] = {0,0,0,0,0,0} [static] |
Definition at line 342 of file cgemit.cxx.
Referenced by Allocate_Elf_Index_Space(), Init_ST_elf_index(), Set_ST_elf_index(), and ST_elf_index().
INT num_longb_inst_words [static] |
Definition at line 4832 of file cgemit.cxx.
INT32 Offset_From_Last_Label = 0 [static] |
Definition at line 269 of file cgemit.cxx.
Referenced by EMT_Assemble_BB(), EMT_Emit_PU(), r_assemble_op(), and Setup_Text_Section_For_PU().
| BOOL pad_data_section = FALSE |
Definition at line 9093 of file cgemit.cxx.
Definition at line 276 of file cgemit.cxx.
Dwarf_Unsigned prev_pu_base_elfsym = 0 [static] |
Definition at line 8123 of file cgemit.cxx.
Dwarf_Unsigned prev_pu_end_offset_from_last_label = 0 [static] |
Definition at line 8125 of file cgemit.cxx.
LABEL_IDX prev_pu_last_label = LABEL_IDX_ZERO [static] |
Definition at line 8122 of file cgemit.cxx.
char* prev_pu_last_label_name = NULL [static] |
Definition at line 8126 of file cgemit.cxx.
Dwarf_Unsigned prev_pu_last_offset = 0 [static] |
Definition at line 8127 of file cgemit.cxx.
PU_IDX prev_pu_pu_idx = (PU_IDX) 0 [static] |
Definition at line 8124 of file cgemit.cxx.
Definition at line 280 of file cgemit.cxx.
pSCNINFO PU_section = NULL [static] |
Definition at line 284 of file cgemit.cxx.
Definition at line 281 of file cgemit.cxx.
Definition at line 277 of file cgemit.cxx.
Referenced by EMT_Begin_File(), EMT_Emit_PU(), Fixup_Long_Branches(), R_Resolve_Branches(), Recompute_Label_Offset(), Setup_Text_Section_For_BB(), and Setup_Text_Section_For_PU().
pSCNINFO text_section = NULL [static] |
Definition at line 285 of file cgemit.cxx.
Referenced by alpha_start_function(), arm_file_end(), elf32_m68hc11_setup_section_lists(), emit_pic_helper(), function_section(), get_jump_table_size(), i860_output_function_epilogue(), ix86_asm_file_end(), ix86_file_end(), load_pic_register(), machopic_select_section(), mips_select_section(), mmix_asm_file_start(), mmix_file_start(), output_fpops(), output_mi_thunk(), output_tdesc(), readonly_data_section(), rs6000_assemble_integer(), rs6000_file_start(), shorten_branches(), and thumb_call_via_reg().
Definition at line 258 of file cgemit.cxx.
Referenced by EMT_Begin_File(), and EMT_Put_Elf_Symbol().
BOOL Trace_Init = FALSE [static] |
Definition at line 256 of file cgemit.cxx.
Referenced by EMT_Begin_File(), Write_INITO(), Write_Label(), Write_Symbol(), Write_Symdiff(), and Write_TCON().
BOOL Trace_Inst = FALSE [static] |
Definition at line 257 of file cgemit.cxx.
Referenced by Assemble_Bundles(), Assemble_Simulated_OP(), Check_If_Should_Align_BB(), EMT_Assemble_BB(), EMT_Emit_PU(), r_assemble_op(), R_Resolve_Branches(), and Verify_Operand().
BOOL Trace_Longbr = FALSE [static] |
Definition at line 259 of file cgemit.cxx.
Referenced by Create_Stub_BB(), and Fixup_Long_Branches().
| BOOL Use_Page_Zero = FALSE |
BOOL Use_Prefetch = FALSE [static] |
Definition at line 2274 of file cgemit.cxx.
Referenced by _find_dupcnt(), _X_PROP_CREATE_(), _X_PROP_INTERSECTION_IS_NONEMPTY_(), _X_PROP_UNIOND_(), alpha_arg_partial_bytes(), alpha_expand_block_clear(), alpha_expand_block_move(), BB_Check_Bundle_Integrity(), blk_match_err(), broadcast_scalar(), CGGRP_Check_Split_BB(), check_bool2_init(), check_cond_init(), check_for_dup_derived_type_lbl(), check_for_initialization(), check_init(), classify_argument(), cris_split_movdx(), d30v_expand_builtin_va_start(), d30v_function_arg_advance(), d30v_function_arg_partial_nregs(), expand_block_move(), find_constant_index(), Find_Pattern_OPS(), fr30_move_double(), frv_arg_partial_bytes(), frv_function_arg_advance(), function_arg(), function_arg_advance(), function_arg_partial_nregs(), gen_forall_derived_type(), gen_split_move_double(), ia64_arg_partial_bytes(), ia64_function_arg(), ia64_function_arg_advance(), ia64_function_arg_partial_nregs(), ia64_function_arg_words(), Instruction_Pack_Group(), iq2000_expand_prologue(), ISA_Pack_End(), ix86_expand_vector_init_general(), ix86_va_start(), m32r_arg_partial_bytes(), m88k_function_arg(), make_ro_entry(), match_blk(), md5_process_block(), minval_intrinsic(), mips_expand_prologue(), mt_arg_partial_bytes(), native_encode_int(), native_encode_real(), native_interpret_int(), native_interpret_real(), parse_case_stmt(), parse_cpnt_dcl_stmt(), parse_dir_directives(), parse_else_stmt(), parse_end_stmt(), power_o_two(), r_assemble_binary(), rs6000_output_load_multiple(), rs6000_va_start(), sh_arg_partial_bytes(), TI_ASM_Get_Bundle_Reloc_Value(), TI_ASM_Pack_Inst(), TI_ASM_Set_Bundle_Reloc_Value(), TI_ASM_Unpack_Inst(), write_constant(), and write_real_cst().
1.5.6