#include <alloca.h>#include "defs.h"#include "config.h"#include "mempool.h"#include "tracing.h"#include "timing.h"#include "cgir.h"#include "pu_info.h"#include "cg.h"#include "cg_flags.h"#include "ttype.h"#include "targ_sim.h"#include "bb_set.h"#include "freq.h"#include "cgtarget.h"#include "whirl2ops.h"#include "dominate.h"#include "findloops.h"#include "cg_vector.h"#include "gtn_universe.h"#include "gtn_set.h"#include "data_layout.h"#include "reg_live.h"

Go to the source code of this file.
Defines | |
| #define | BB_Register_Livein(bb) (Register_Livein + BB_id(bb)*ISA_REGISTER_CLASS_COUNT - ISA_REGISTER_CLASS_MIN) |
| #define | BB_Register_Kill(bb) (Register_Kill + BB_id(bb)*ISA_REGISTER_CLASS_COUNT - ISA_REGISTER_CLASS_MIN) |
Functions/Subroutines | |
| void | REGSET_Print (REGSET set) |
| FOR_ALL_ISA_REGISTER_CLASS (rc) | |
Variables | |
| static BOOL | Trace_Register_Liveness = FALSE |
| static REGSET | Register_Livein |
| static REGSET | Register_Kill |
| static MEM_POOL | Reg_Live_Pool |
| static BOOL | pool_initialized = FALSE |
| static INT32 | default_size |
| void ISA_REGISTER_CLASS | rc |
| #define BB_Register_Kill | ( | bb | ) | (Register_Kill + BB_id(bb)*ISA_REGISTER_CLASS_COUNT - ISA_REGISTER_CLASS_MIN) |
Definition at line 95 of file reg_live.cxx.
| #define BB_Register_Livein | ( | bb | ) | (Register_Livein + BB_id(bb)*ISA_REGISTER_CLASS_COUNT - ISA_REGISTER_CLASS_MIN) |
Definition at line 93 of file reg_live.cxx.
| FOR_ALL_ISA_REGISTER_CLASS | ( | rc | ) |
Definition at line 121 of file reg_live.cxx.
Referenced by Adjust_Entry(), Alloc_Regs_For_BB(), GRA_REGION::Alloc_Subuniverses(), SWP_REG_ASSIGNMENT::Allocate_Loop_Variants(), Assign_Registers_For_OP(), Assign_Virtual_Registers(), Build_Complement_Interference_Graph(), Build_Region_Interference_Graph(), Can_OP_Move(), CG_PU_Initialize(), CGEMIT_Register_Definitions(), GRA_PARA_REGION_MGR::Check_Register_Allocation(), Compute_Livethrough_Set(), GRA_LOOP_MGR::Create(), GBB_MGR::Create(), GRA_PARA_REGION_MGR::Create(), GRA_REGION_MGR::Create(), GRA_BB::Create_Global_Interferences(), Create_LRANGEs(), EBO_Finish(), EBO_Init(), EBO_Start(), Emit_KEY_SWP_Note(), SWP_REG_ASSIGNMENT::Enough_Non_Rotating_Registers(), Estimate_Callee_Saves(), HB_Schedule::Estimate_Reg_Cost_For_OP(), Find_BB_TNs(), KEY_SCH::Gen_Kernel_Info(), Gen_Spills_Above_And_Restores_Below(), GRA_GRANT_Transfer(), GRA_GRANT_Unused_Caller_Saved(), GRA_Spill(), Handle_ASM(), MRT::Init(), Init_Avail_Regs(), Init_Avail_Set(), Init_Callee_Saved_Regs_for_REGION(), Init_Dedicated_TNs(), Init_Load_Exec_Map(), Initialize(), Initialize_Wired_LRANGEs(), Is_Schedule_Worse(), List_Preferenced_Wired_Locals(), LRA_Allocate_Registers(), Make_Fine_Grained_Interferences(), Merge_Parents_Regset(), Print_Avail_Set(), KEY_SCH::register_allocation_init(), REGISTER_Begin(), REGISTER_CLASS_Trace_All(), REGISTER_Pu_Begin(), REGISTER_Request_Stacked_Rotating_Register(), REGSET_Print(), Scan_Complement_BB_For_Referenced_TNs(), Scan_Region_BB_For_Referenced_TNs(), Spill_Callee_Saved_Regs(), SWP_Emit(), SWP_Fixup(), SWP_REG_ASSIGNMENT::SWP_REG_ASSIGNMENT(), SWP_REG_ASSIGNMENT::Update_Annotation(), and Update_Callee_Availability().
Definition at line 104 of file reg_live.cxx.
References FOR_ALL_ISA_REGISTER_CLASS(), FOR_ALL_REGISTER_SET_members, fprintf(), rc, REGISTER_name, and TFile.
INT32 default_size [static] |
Definition at line 98 of file reg_live.cxx.
BOOL pool_initialized = FALSE [static] |
Definition at line 91 of file reg_live.cxx.
Definition at line 120 of file reg_live.cxx.
Referenced by ABI_Properties_End(), GRA_BB::Add_LUNIT(), Add_To_Live_Set(), Adjust_Opnd_Name(), GRA_REGION::Alloc_Subuniverses(), Analyze_OP_For_Unwind_Info(), analyze_structure_bases(), ar_sim(), KEY_SCH::Assign_Register(), Assign_Registers(), Assign_Registers_For_OP(), Build_Complement_Interference_Graph(), Build_Region_Interference_Graph(), Build_TN_Like(), Build_TN_Of_Mtype(), CG_PU_Initialize(), CGEMIT_Call(), CGEMIT_Function_Prototype(), CGEMIT_Gen_Asm_Frame(), CGEMIT_Register_Definitions(), CGTARG_Gen_Dedicated_Subclass_TN(), CGTARG_Modified_Asm_Opnd_Name(), check_insn_major_constraints(), GRA_PARA_REGION_MGR::Check_Register_Allocation(), Choose_Avoiding_Neighbor_Preferences(), Choose_Noones_Preference(), chrec_convert_aggressive(), Compute_Livethrough_Set(), CR_To_PR(), GBB_MGR::Create(), GRA_PARA_REGION_MGR::Create(), GRA_REGION_MGR::Create(), GRA_BB::Create_Global_Interferences(), Create_LRANGEs(), Create_Reg_Property(), Create_Sched_Est(), Create_Unwind_Descriptors(), df_urec_mark_reg_use_for_earlyclobber(), Emit_KEY_SWP_Note(), Emit_Unwind_Directives_For_OP(), SWP_REG_ASSIGNMENT::Enough_Non_Rotating_Registers(), Estimate_BB_Length(), Estimate_Callee_Saves(), Fixup_Rotating_Register_TN(), Format_Operand(), KEY_SCH::Gen_Kernel_Info(), SWP_REG_ASSIGNMENT::Get_Non_Rotating_Register_TN(), Get_Possibly_Wired_Reference(), Get_TN_Assembly_Name(), GRA_GRANT_Transfer(), GRA_Trace_Preference_Attempt(), Handle_ASM(), Initialize(), Initialize_Register_Subclasses(), Initialize_Wired_LRANGEs(), Is_Function_Value(), List_Preferenced_Wired_Locals(), main(), Make_Fine_Grained_Interferences(), mark_reg_use_for_earlyclobber(), Merge_Parents_Regset(), Mtype_Of_TN(), pexecute(), GRA_PARA_REGION_MGR::Pre_Reserve_Registers_For_Minor(), print_insn(), print_operand(), r_assemble_binary(), r_assemble_list(), KEY_SCH::register_allocation_init(), REGSET_Print(), Remove_From_Live_Set(), GRA_BB::Replace_Global_Interference(), GRA_BB::Restore_Below_Check(), GRA_BB::Restore_Below_Reset(), GRA_BB::Restore_Below_Set(), Scan_Region_BB_For_Referenced_TNs(), sjlj_find_directly_reachable_regions(), GRA_BB::Spill_Above_Check(), GRA_BB::Spill_Above_Reset(), GRA_BB::Spill_Above_Set(), SWP_Emit(), SWP_Fixup(), Target_Unique_Exit(), TN_is_GFP(), TN_Reaching_Value_At_Op(), Update_Entry_For_TN(), Update_Register_Info(), VEC(), and Verify_Operand().
MEM_POOL Reg_Live_Pool [static] |
Definition at line 90 of file reg_live.cxx.
REGSET Register_Kill [static] |
Definition at line 89 of file reg_live.cxx.
REGSET Register_Livein [static] |
Definition at line 88 of file reg_live.cxx.
BOOL Trace_Register_Liveness = FALSE [static] |
Definition at line 86 of file reg_live.cxx.
1.5.6