Lines Matching full:vreg
75 // If the node is only used by a CopyToReg and the dest reg is a vreg, use
76 // the CopyToReg'd destination register instead of creating a new vreg.
189 // is a vreg in the same register class, use the CopyToReg'd destination
190 // register instead of creating a new vreg.
244 unsigned VReg = getDstOfOnlyCopyToRegUse(Op.getNode(), Op.getResNo());
247 if (!VReg) {
249 VReg = MRI->createVirtualRegister(RC);
252 TII->get(TargetOpcode::IMPLICIT_DEF), VReg);
253 return VReg;
275 unsigned VReg = getVR(Op, VRBaseMap);
276 assert(TargetRegisterInfo::isVirtualRegister(VReg) && "Not a vreg?");
285 const TargetRegisterClass *SrcRC = MRI->getRegClass(VReg);
294 TII->get(TargetOpcode::COPY), NewVReg).addReg(VReg);
295 VReg = NewVReg;
320 MI->addOperand(MachineOperand::CreateReg(VReg, isOptDef,
415 // If the node is only used by a CopyToReg and the dest reg is a vreg, use
416 // the CopyToReg'd destination register instead of creating a new vreg.
435 unsigned VReg = getVR(Node->getOperand(0), VRBaseMap);
436 MachineInstr *DefMI = MRI->getVRegDef(VReg);
451 const TargetRegisterClass *TRC = MRI->getRegClass(VReg);
531 unsigned VReg = getVR(Node->getOperand(0), VRBaseMap);
533 // Create the new VReg in the destination class and emit a copy.
538 NewVReg).addReg(VReg);