search for: destinationreg

Displaying 4 results from an estimated 4 matches for "destinationreg".

2018 Mar 29
4
Mapping virtual registers to physical registers
...storeRegToStackSlot(...)``, and to insert a load instruction, use ``TargetInstrInfo::loadRegFromStackSlot``. ... I tried the direct mapping as following: MachineOperand destination = MI->getOperand(0); MachineOperand offset = MI->getOperand(1); unsigned destinationReg = destination.getReg(); int64_t FrameIndex = offset.getIndex(); destination.setReg(CLP::FA_ROFF0+FrameIndex); destination.setIsDef(true); TII->loadRegFromStackSlot(*MBB, MI, destination...
2018 Mar 30
0
Mapping virtual registers to physical registers
...storeRegToStackSlot(...)``, and to insert a load instruction, use ``TargetInstrInfo::loadRegFromStackSlot``. ... I tried the direct mapping as following: MachineOperand destination = MI->getOperand(0); MachineOperand offset = MI->getOperand(1); unsigned destinationReg = destination.getReg(); int64_t FrameIndex = offset.getIndex(); destination.setReg(CLP::FA_ROFF0+FrameIndex); destination.setIsDef(true); TII->loadRegFromStackSlot(*MBB, MI, destination...
2018 Apr 02
0
Mapping virtual registers to physical registers
...ad instruction, use > ``TargetInstrInfo::loadRegFromStackSlot``. > > … > > I tried the direct mapping as following: > >             MachineOperand destination = MI->getOperand(0); > >             MachineOperand offset = MI->getOperand(1); > > *unsigned*destinationReg = destination.getReg(); > >             int64_t  FrameIndex = offset.getIndex(); > >                 destination.setReg(CLP::FA_ROFF0+FrameIndex); > >                 destination.setIsDef(true); > >                 TII->loadRegFromStackSlot(*MBB, > >      ...
2018 Apr 03
1
Mapping virtual registers to physical registers
...ad instruction, use > ``TargetInstrInfo::loadRegFromStackSlot``. > > … > > I tried the direct mapping as following: > >             MachineOperand destination = MI->getOperand(0); > >             MachineOperand offset = MI->getOperand(1); > > *unsigned*destinationReg = destination.getReg(); > >             int64_t  FrameIndex = offset.getIndex(); > >                 destination.setReg(CLP::FA_ROFF0+FrameIndex); > >                 destination.setIsDef(true); > >                 TII->loadRegFromStackSlot(*MBB, > >      ...