Lines Matching refs:VReg
334 /// Allocate a register for the virtual register \p VReg. The last use of
335 /// \p VReg is around the current position of the register scavenger \p RS.
340 Register VReg, bool ReserveAfter) {
347 for (MachineOperand &MO : MRI.reg_nodbg_operands(VReg)) {
354 if (!MI.readsRegister(VReg, &TRI)) {
371 MRI.def_operands(VReg), [VReg, &TRI](const MachineOperand &MO) {
372 return !MO.getParent()->readsRegister(VReg, &TRI);
381 const TargetRegisterClass &RC = *MRI.getRegClass(VReg);
384 MRI.replaceRegWith(VReg, SReg);