Lines Matching refs:SReg
541 Register SReg = findSurvivorReg(I, Candidates, 25, UseMI); in scavengeRegister() local
544 if (!isRegUsed(SReg)) { in scavengeRegister()
545 LLVM_DEBUG(dbgs() << "Scavenged register: " << printReg(SReg, TRI) << "\n"); in scavengeRegister()
546 return SReg; in scavengeRegister()
552 ScavengedInfo &Scavenged = spill(SReg, *RC, SPAdj, I, UseMI); in scavengeRegister()
556 << printReg(SReg, TRI) << "\n"); in scavengeRegister()
558 return SReg; in scavengeRegister()
649 Register SReg = RS.scavengeRegisterBackwards(RC, DefMI.getIterator(), in scavengeVReg() local
651 MRI.replaceRegWith(VReg, SReg); in scavengeVReg()
653 return SReg; in scavengeVReg()
689 Register SReg = scavengeVReg(MRI, RS, Reg, true); in scavengeFrameVirtualRegsInBlock() local
690 N->addRegisterKilled(SReg, &TRI, false); in scavengeFrameVirtualRegsInBlock()
691 RS.setRegUsed(SReg); in scavengeFrameVirtualRegsInBlock()
715 Register SReg = scavengeVReg(MRI, RS, Reg, false); in scavengeFrameVirtualRegsInBlock() local
716 I->addRegisterDead(SReg, &TRI, false); in scavengeFrameVirtualRegsInBlock()