Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
dummy_reg_alloc Class Reference#include <dummy_reg_alloc.h>
Inheritance diagram for dummy_reg_alloc:
List of all members.
Constructor & Destructor Documentation
dummy_reg_alloc::dummy_reg_alloc |
( |
|
) |
|
|
dummy_reg_alloc::~dummy_reg_alloc |
( |
|
) |
|
|
Member Function Documentation
void dummy_reg_alloc::allocate |
( |
procNode * |
proc |
) |
[virtual] |
|
|
Implements reg_alloc.
Definition at line 162 of file dummy_reg_alloc.cc.
References reg_or_const::_reg, allocate_real_for_virtual(), LirInst::dest, LirInst::dest_contents, fix_allocated_virtual(), LirInst::has_base(), LirInst::has_dest(), LirInst::has_offset(), LirInst::has_opnd1(), LirInst::has_opnd2(), instruction_list, instruction_list_p, procNode::instructions(), LirInst::memBase, LirInst::memOffset, LirInst::opnd1, LirInst::opnd2, and setup_rregs().
Referenced by dummy_reg_alloc_walker::at_proc(). |
bool dummy_reg_alloc::allocate_real_for_virtual |
( |
Register & |
reg, |
|
|
declNode * |
pDecl, |
|
|
const LirInst & |
inst |
|
) |
[protected] |
|
|
Definition at line 238 of file dummy_reg_alloc.cc.
References _lastRealRegFixed, _lastRealRegFloat, _rregsFpr, _rregsFprCount, _rregsGpr, _rregsGprCount, CBZFAIL, get_vreg(), typeNode::is_float(), is_real_reg(), dummy_reg_alloc::vreg_info::pRealReg, dummy_reg_alloc::rreg_info::pVirtualReg, dummy_reg_alloc::vreg_info::reclaimed, dummy_reg_alloc::rreg_info::reg, rreg_info, declNode::type(), and vreg_info.
Referenced by allocate(). |
bool dummy_reg_alloc::fix_allocated_virtual |
( |
Register & |
reg, |
|
|
const LirInst & |
inst |
|
) |
[protected] |
|
bool dummy_reg_alloc::is_real_reg |
( |
const Register & |
reg |
) |
[inline, protected] |
|
void dummy_reg_alloc::setup_rregs |
( |
|
) |
[protected] |
|
|
Definition at line 56 of file dummy_reg_alloc.cc.
References _lastRealRegFixed, _lastRealRegFloat, _rregsFpr, _rregsFprCount, _rregsGpr, _rregsGprCount, CBZ::ArchInfo, arch_info::get_register(), arch_info::get_regs_fpr(), arch_info::get_regs_gpr(), dummy_reg_alloc::rreg_info::pInfo, dummy_reg_alloc::rreg_info::reg, and rreg_info.
Referenced by allocate(). |
Member Data Documentation
int dummy_reg_alloc::_lastRealRegFixed [protected]
|
|
int dummy_reg_alloc::_lastRealRegFloat [protected]
|
|
int dummy_reg_alloc::_rregsFprCount [protected]
|
|
int dummy_reg_alloc::_rregsGprCount [protected]
|
|
The documentation for this class was generated from the following files:
|