Lines Matching defs:SReg
356 unsigned SReg = findSurvivorReg(I, Candidates, 25, UseMI);
359 if (!isAliasUsed(SReg)) {
360 DEBUG(dbgs() << "Scavenged register: " << TRI->getName(SReg) << "\n");
361 return SReg;
368 ScavengedReg = SReg;
372 if (!TRI->saveScavengerRegister(*MBB, I, UseMI, RC, SReg)) {
376 TII->storeRegToStackSlot(*MBB, I, SReg, true, ScavengingFrameIndex, RC,TRI);
381 TII->loadRegFromStackSlot(*MBB, UseMI, SReg, ScavengingFrameIndex, RC, TRI);
389 // ScavengedReg = SReg;
392 DEBUG(dbgs() << "Scavenged register (with spill): " << TRI->getName(SReg) <<
395 return SReg;