1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Stack slot access methods are in TargetInstrInfo.

llvm-svn: 112653
This commit is contained in:
Jakob Stoklund Olesen 2010-08-31 22:01:07 +00:00
parent 49a1560c66
commit dc2f83c287

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