Home
last modified time | relevance | path

Searched refs:NewVReg (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Target/PowerPC/
DPPCVSXCopy.cpp106 unsigned NewVReg = MRI.createVirtualRegister(SrcRC); in processBlock() local
108 TII->get(TargetOpcode::SUBREG_TO_REG), NewVReg) in processBlock()
116 SrcMO.setReg(NewVReg); in processBlock()
130 unsigned NewVReg = MRI.createVirtualRegister(DstRC); in processBlock() local
132 TII->get(TargetOpcode::COPY), NewVReg) in processBlock()
136 SrcMO.setReg(NewVReg); in processBlock()
/external/llvm/lib/CodeGen/
DInlineSpiller.cpp913 unsigned NewVReg = Edit->createFrom(Original); in reMaterializeFor() local
916 SlotIndex DefIdx = Edit->rematerializeAt(*MI->getParent(), MI, NewVReg, RM, in reMaterializeFor()
926 MO.setReg(NewVReg); in reMaterializeFor()
1182 void InlineSpiller::insertReload(unsigned NewVReg, in insertReload() argument
1188 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, in insertReload()
1189 MRI.getRegClass(NewVReg), &TRI); in insertReload()
1194 NewVReg)); in insertReload()
1199 void InlineSpiller::insertSpill(unsigned NewVReg, bool isKill, in insertSpill() argument
1204 TII.storeRegToStackSlot(MBB, std::next(MI), NewVReg, isKill, StackSlot, in insertSpill()
1205 MRI.getRegClass(NewVReg), &TRI); in insertSpill()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp337 unsigned NewVReg = MRI->createVirtualRegister(DstRC); in AddRegisterOperand() local
339 TII->get(TargetOpcode::COPY), NewVReg).addReg(VReg); in AddRegisterOperand()
340 VReg = NewVReg; in AddRegisterOperand()
592 unsigned NewVReg = MRI->createVirtualRegister(DstRC); in EmitCopyToRegClassNode() local
594 NewVReg).addReg(VReg); in EmitCopyToRegClassNode()
597 bool isNew = VRBaseMap.insert(std::make_pair(Op, NewVReg)).second; in EmitCopyToRegClassNode()
609 unsigned NewVReg = MRI->createVirtualRegister(TRI->getAllocatableClass(RC)); in EmitRegSequence() local
611 MachineInstrBuilder MIB = BuildMI(*MF, Node->getDebugLoc(), II, NewVReg); in EmitRegSequence()
628 MRI->setRegClass(NewVReg, SRC); in EmitRegSequence()
639 bool isNew = VRBaseMap.insert(std::make_pair(Op, NewVReg)).second; in EmitRegSequence()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp308 unsigned *NewVReg = nullptr) { in canFoldIntoCSel() argument
366 if (NewVReg) in canFoldIntoCSel()
367 *NewVReg = DefMI->getOperand(SrcOpNum).getReg(); in canFoldIntoCSel()
518 unsigned NewVReg = 0; in insertSelect() local
519 unsigned FoldedOpc = canFoldIntoCSel(MRI, TrueReg, &NewVReg); in insertSelect()
526 FoldedOpc = canFoldIntoCSel(MRI, FalseReg, &NewVReg); in insertSelect()
530 FalseReg = NewVReg; in insertSelect()
533 MRI.clearKillFlags(NewVReg); in insertSelect()