Stack slot access methods are in TargetInstrInfo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2010-08-31 22:01:07 +00:00
parent dd120f936a
commit 297907f3a0

View File

@ -1457,8 +1457,8 @@ bool RegMapping_Fer::compatible_class(MachineFunction &mf,
order to get and store values in memory. To assign a physical register to a
virtual register present in a given operand,
use <tt>MachineOperand::setReg(p_reg)</tt>. To insert a store instruction,
use <tt>TargetRegisterInfo::storeRegToStackSlot(...)</tt>, and to insert a
load instruction, use <tt>TargetRegisterInfo::loadRegFromStackSlot</tt>.</p>
use <tt>TargetInstrInfo::storeRegToStackSlot(...)</tt>, and to insert a
load instruction, use <tt>TargetInstrInfo::loadRegFromStackSlot</tt>.</p>
<p>The indirect mapping shields the application developer from the complexities
of inserting load and store instructions. In order to map a virtual register