Lines Matching defs:SReg
390 unsigned SReg = findSurvivorReg(I, Candidates, 25, UseMI);
393 if (!isRegUsed(SReg)) {
394 DEBUG(dbgs() << "Scavenged register: " << TRI->getName(SReg) << "\n");
395 return SReg;
411 Scavenged[SI].Reg = SReg;
415 if (!TRI->saveScavengerRegister(*MBB, I, UseMI, RC, SReg)) {
419 TII->storeRegToStackSlot(*MBB, I, SReg, true, Scavenged[SI].FrameIndex,
427 TII->loadRegFromStackSlot(*MBB, UseMI, SReg, Scavenged[SI].FrameIndex,
438 // Scavenged[SI].Reg = SReg;
440 DEBUG(dbgs() << "Scavenged register (with spill): " << TRI->getName(SReg) <<
443 return SReg;