osprey/be/cg/cgemit.h File Reference

#include "dwarf_DST_mem.h"
#include "symtab.h"

Include dependency graph for cgemit.h:

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

Go to the source code of this file.

Functions/Subroutines

void EMT_Begin_File (char *process_name, char *options)
void EMT_End_File (void)
void EMT_Emit_PU (ST *pu, DST_IDX pu_dst, WN *rwn)
mINT32 EMT_Put_Elf_Symbol (ST *sym)
void EMT_Change_Symbol_To_Undefined (ST *sym)
void EMT_Change_Symbol_To_Weak (ST *sym)
INT Check_If_Should_Align_BB (BB *bb, INT32 curpc)
void EMT_Write_Qualified_Name (FILE *f, ST *st)

Variables

BOOL CG_emit_asm_dwarf
BOOL CG_emit_unwind_info
BOOL CG_emit_unwind_directives


Function Documentation

INT Check_If_Should_Align_BB ( BB bb,
INT32  curpc 
)

void EMT_Begin_File ( char *  process_name,
char *  options 
)

void EMT_Change_Symbol_To_Undefined ( ST sym  ) 

Definition at line 1324 of file cgemit.cxx.

References Em_Undefine_Symbol(), and ST_elf_index().

Referenced by CG_Change_Elf_Symbol_To_Undefined().

void EMT_Change_Symbol_To_Weak ( ST sym  ) 

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().

void EMT_Emit_PU ( ST pu,
DST_IDX  pu_dst,
WN rwn 
)

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().

void EMT_End_File ( void   ) 

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().

mINT32 EMT_Put_Elf_Symbol ( ST sym  ) 

void EMT_Write_Qualified_Name ( FILE f,
ST st 
)


Variable Documentation

Definition at line 235 of file cgemit.cxx.

Referenced by Build_Fde_For_Proc(), and Emit_Unwind_Directives_For_OP().


Generated on Wed Apr 8 14:25:48 2009 for Open64 by  doxygen 1.5.6