llvm.org GIT mirror llvm / 297907f
Stack slot access methods are in TargetInstrInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112653 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
14561456 order to get and store values in memory. To assign a physical register to a
14571457 virtual register present in a given operand,
14581458 use MachineOperand::setReg(p_reg). To insert a store instruction,
1459 use TargetRegisterInfo::storeRegToStackSlot(...), and to insert a
1460 load instruction, use TargetRegisterInfo::loadRegFromStackSlot.

1459 use TargetInstrInfo::storeRegToStackSlot(...), and to insert a
1460 load instruction, use TargetInstrInfo::loadRegFromStackSlot.

14611461
14621462

The indirect mapping shields the application developer from the complexities

14631463 of inserting load and store instructions. In order to map a virtual register