
Definition at line 473 of file cg_swp_sched.cxx.
| MRT::MRT | ( | const SWP_OP_vector & | v, | |
| INT | _ii, | |||
| MEM_POOL * | pool | |||
| ) |
Definition at line 564 of file cg_swp_sched.cxx.
References grainy_resources_length, SWP_OPTIONS::Grainy_Resources_Length, i, ii, INT, OP_code, SWP_OP_vector::size(), SWP_Options, TI_RES_RES_Alloc(), TI_RES_RES_Has_TOP(), TI_RES_RES_Set_BB_Cycle_Count(), and TRUE.
| MRT::MRT | ( | ) | [inline] |
Definition at line 164 of file cg_sched.cxx.
| MRT::~MRT | ( | ) | [inline] |
Definition at line 165 of file cg_sched.cxx.
| TI_RES_RES* MRT::Res | ( | ) | [inline] |
Definition at line 481 of file cg_swp_sched.cxx.
References SWP_OP::op, OP_code, and TI_RES_RES_Reserve_Resources().
Referenced by LT_Heuristics::Update_Precedence(), LT_Heuristics::Update_Resources(), and Verify2().
Definition at line 484 of file cg_swp_sched.cxx.
References SWP_OP::cycle, SWP_OP::op, OP_code, and TI_RES_RES_Unreserve_Resources().
Referenced by LT_Heuristics::Update_Precedence(), and LT_Heuristics::Update_Resources().
Definition at line 487 of file cg_swp_sched.cxx.
References SWP_OP::op, OP_code, and TI_RES_RES_Resources_Available().
Referenced by LT_Heuristics::Choose_Issue_Cycle(), Find_Resources_In_Range(), and LT_Heuristics::Update_Resources().
Definition at line 490 of file cg_swp_sched.cxx.
References SWP_OP::op, OP_code, and TI_RES_RES_Resources_Length().
Referenced by LT_Heuristics::Init_SWP_OP_state().
Definition at line 494 of file cg_swp_sched.cxx.
References SWP_OP::op, OP_code, and TI_RES_RES_Resources_Equivalent().
Referenced by LT_Heuristics::Eject_Resources_Conflict_OPs().
Definition at line 499 of file cg_swp_sched.cxx.
References SWP_OP::cycle, SWP_OP::op, OP_code, and TI_RES_RES_Resources_Relevant().
Referenced by LT_Heuristics::Eject_Resources_Conflict_OPs().
| void MRT::Verify | ( | ) | const [inline] |
Definition at line 507 of file cg_swp_sched.cxx.
References FmtAssert, ii, and TI_RES_RES_Is_Bad_II().
Referenced by Modulo_Schedule().
| INT MRT::Find_Resources_In_Range | ( | INT | candidate, | |
| const SWP_OP_vector & | v, | |||
| INT | earliest, | |||
| INT | latest, | |||
| bool | top_down | |||
| ) | const |
Definition at line 532 of file cg_swp_sched.cxx.
References ii, INT, Is_True, and Resources_Available().
Referenced by LT_Heuristics::Choose_Issue_Cycle().
| void MRT::Verify2 | ( | const SWP_OP_vector & | v | ) |
Definition at line 550 of file cg_swp_sched.cxx.
References FALSE, FmtAssert, i, ii, INT, local_mem_pool, Res(), Reserve_Op_Resources(), SWP_OP_vector::size(), and TI_RES_RES_Equal().
Referenced by Modulo_Schedule(), and Modulo_Schedule_Verify().
| void MRT::Init_Table_Entry | ( | Resource_Table_Entry * | e | ) | [inline, private] |
Definition at line 129 of file cg_sched.cxx.
References bzero(), MRT::Resource_Table_Entry::decoded_ops, FMISC, MRT::Resource_Table_Entry::fp_ops, i, MRT::Resource_Table_Entry::mem_ops, NONE, num_fu, and MRT::Resource_Table_Entry::resources.
Referenced by Init().
Definition at line 322 of file cg_sched.cxx.
References ALU, ASSERT, MRT::Resource_Table_Entry::decoded_ops, MRT::Resource_Table_Entry::mem_ops, mem_ops_rate, num_fu, OP_code, OP_idiv, OP_memory, Resource_Table, MRT::Resource_Table_Entry::resources, top, TOP, TOP_2_Res, and TOP_is_lea().
Referenced by Compute_Issue_Time(), and Reserve_Resources().
| int MRT::Get_Dispatch_Unit | ( | OP * | op, | |
| int | cycle | |||
| ) | [private] |
Definition at line 285 of file cg_sched.cxx.
References MRT::Resource_Table_Entry::decoded_ops, FADD, FMISC, FMUL, MRT::Resource_Table_Entry::fp_ops, OP_code, Resource_Table, and TOP_2_Res.
Referenced by Compute_Issue_Time(), and Reserve_Resources().
| bool MRT::TOP_is_convert | ( | const TOP | top | ) | [inline, private] |
| bool MRT::TOP_is_lea | ( | const TOP | top | ) | [inline, private] |
Definition at line 207 of file cg_sched.cxx.
References AGU, ALU, avail_regs, cl(), entries, FADD, FMISC, FMUL, FOR_ALL_ISA_REGISTER_CLASS(), i, Init_Table_Entry(), live_in, live_out, MEM_POOL_Alloc, NONE, Print_Register_Set(), REG_LIVE_Into_BB(), REG_LIVE_Outof_BB(), REGISTER_CLASS_allocatable, REGISTER_MAX, REGISTER_MIN, REGISTER_SET_Difference(), REGISTER_SET_EMPTY_SET, REGISTER_SET_Union1(), Resource_Table, top, TOP, TOP_2_Res, TOP_is_convert(), and TOP_is_lea().
Referenced by KEY_SCH::Init().
Definition at line 371 of file cg_sched.cxx.
References ASSERT, MRT::Resource_Table_Entry::decoded_ops, FADD, FMISC, FMUL, MRT::Resource_Table_Entry::fp_ops, Get_Dispatch_Unit(), Get_OPR, issue_rate, MRT::Resource_Table_Entry::mem_ops, OP_code, OP_idiv, OP_memory, OPR_issue_time, Probe_Resources(), Resource_Table, and TOP_2_Res.
Referenced by KEY_SCH::Schedule_BB().
Definition at line 299 of file cg_sched.cxx.
References ASSERT, Get_Dispatch_Unit(), Get_OPR, OP_code, OPR_deadline, OPR_issue_time, OPR_release_time, Probe_Resources(), and TOP_2_Res.
Referenced by KEY_SCH::Schedule_BB().
| bool MRT::Decoder_is_Saturated | ( | int | c | ) | [inline] |
Definition at line 173 of file cg_sched.cxx.
References MRT::Resource_Table_Entry::decoded_ops, issue_rate, and Resource_Table.
Referenced by KEY_SCH::Schedule_BB().
| bool MRT::Memory_Saturated | ( | int | cycle | ) | [inline] |
Definition at line 178 of file cg_sched.cxx.
References MRT::Resource_Table_Entry::mem_ops, mem_ops_rate, and Resource_Table.
Referenced by KEY_SCH::Winner().
| int MRT::Decoded_Ops | ( | int | c | ) | [inline] |
Definition at line 183 of file cg_sched.cxx.
References MRT::Resource_Table_Entry::decoded_ops, and Resource_Table.
Definition at line 474 of file cg_swp_sched.cxx.
Referenced by Find_Resources_In_Range(), Modulo_Schedule(), MRT(), and Verify2().
INT MRT::grainy_resources_length [private] |
TI_RES_RES* MRT::resources [private] |
Definition at line 476 of file cg_swp_sched.cxx.
BOOL MRT::trace [private] |
Definition at line 114 of file cg_sched.cxx.
REGISTER_SET MRT::live_in[ISA_REGISTER_CLASS_MAX+1] [private] |
REGISTER_SET MRT::live_out[ISA_REGISTER_CLASS_MAX+1] [private] |
REGISTER_SET MRT::avail_regs[ISA_REGISTER_CLASS_MAX+1] [private] |
const int MRT::mem_ops_rate = 2 [static, private] |
Definition at line 120 of file cg_sched.cxx.
Referenced by Memory_Saturated(), and Probe_Resources().
int MRT::entries [private] |
Resource_Table_Entry** MRT::Resource_Table [private] |
Definition at line 161 of file cg_sched.cxx.
Referenced by Decoded_Ops(), Decoder_is_Saturated(), Get_Dispatch_Unit(), Init(), Memory_Saturated(), Probe_Resources(), and Reserve_Resources().
const int MRT::issue_rate = 3 [static] |
Definition at line 167 of file cg_sched.cxx.
Referenced by KEY_SCH::Build_OPR(), Decoder_is_Saturated(), and Reserve_Resources().
1.5.6