#include <alloca.h>#include "defs.h"#include "mempool.h"#include "config_asm.h"#include "label_util.h"#include "be_util.h"#include "bb.h"

Go to the source code of this file.
Data Types | |
| type | label_info |
Functions/Subroutines | |
| static void | Realloc_Label_Info (INT min_needed) |
| void | Init_Label_Info (void) |
| UINT64 | Get_Label_Offset (LABEL_IDX i) |
| void | Set_Label_Offset (LABEL_IDX i, UINT64 offset) |
| BB * | Get_Label_BB (LABEL_IDX i) |
| void | Set_Label_BB (LABEL_IDX i, BB *bb) |
| LABEL_IDX | Gen_Temp_Label (void) |
Variables | |
| static label_info * | label_info_array |
| static INT | max_label_info_index = 0 |
Definition at line 139 of file label_util.cxx.
References alloca, Current_PU_Count(), CURRENT_SYMTAB, LABEL_Init(), LABEL_PREFIX, LKIND_DEFAULT, New_LABEL(), Save_Str(), sprintf(), and strlen().
Referenced by Build_CFG(), EH_Set_End_Label(), EH_Set_Start_Label(), Exp_Intrinsic_Call(), Exp_Savexmms_Intrinsic(), and REGION_Exit_Whirl_Labels().
Definition at line 118 of file label_util.cxx.
References label_info::def_bb, Is_True, max_label_info_index, and Realloc_Label_Info().
Referenced by Add_Label(), Build_CFG(), Expand_Statement(), Find_Stub_BB(), Fixup_Long_Branches(), flatten_regions(), FREQ_Incorporate_Feedback(), Get_Recovery_BB(), EDGE_PROFILE::Instrument_Cloop_Branch(), EDGE_PROFILE::Instrument_Entry(), EDGE_PROFILE::Instrument_Indirect_Cond_Branch(), EDGE_PROFILE::Instrument_Ip_Rel_Branch(), EDGE_PROFILE::Instrument_Top_Branch(), label_is_external(), Label_Offset(), Link_BBs(), HAS_NO_CALL_OR_HAS_NULL_OR_UNREACHABLE_LABEL::operator()(), Print_BB_Header(), Verify_Operand(), Write_Label(), and Write_Symdiff().
Definition at line 95 of file label_util.cxx.
References Is_True, max_label_info_index, label_info::offset, and Realloc_Label_Info().
Referenced by cache_last_label_info(), Cg_Dwarf_Symtab_Entry(), Cg_Dwarf_Translate_Offset(), EMT_Assemble_BB(), Fixup_Long_Branches(), get_ofst_from_label_ASSOC_INFO(), r_apply_l_const(), r_assemble_binary(), Verify_Operand(), Write_Label(), and Write_Symdiff().
Definition at line 74 of file label_util.cxx.
References CURRENT_SYMTAB, label_info::def_bb, i, INT, LABEL_Table_Size(), MAX, max_label_info_index, NULL, label_info::offset, Realloc_Label_Info(), and Src_Alloc.
Referenced by CG_PU_Initialize().
Definition at line 59 of file label_util.cxx.
References INT, MAX, max_label_info_index, MEM_src_pool, size, and TYPE_MEM_POOL_REALLOC_N.
Referenced by Get_Label_BB(), Get_Label_Offset(), Init_Label_Info(), Set_Label_BB(), and Set_Label_Offset().
Definition at line 129 of file label_util.cxx.
References label_info::def_bb, Is_True, max_label_info_index, and Realloc_Label_Info().
Referenced by Add_Label(), BB_Copy_All_Annotations(), BB_Copy_Annotations(), Build_CFG(), Change_BB_Label(), Delete_Unreachable_Blocks(), EH_Set_Start_Label(), Expand_Statement(), Gen_Label_For_BB(), and Handle_INTRINSIC_CALL().
Definition at line 106 of file label_util.cxx.
References Is_True, max_label_info_index, label_info::offset, and Realloc_Label_Info().
Referenced by Recompute_Label_Offset().
label_info* label_info_array [static] |
Definition at line 55 of file label_util.cxx.
INT max_label_info_index = 0 [static] |
Definition at line 56 of file label_util.cxx.
Referenced by Get_Label_BB(), Get_Label_Offset(), Init_Label_Info(), Realloc_Label_Info(), Set_Label_BB(), and Set_Label_Offset().
1.5.6