Lines Matching refs:SReg
373 unsigned SReg = findSurvivorReg(I, Candidates, 25, UseMI); in scavengeRegister() local
376 if (!isRegUsed(SReg)) { in scavengeRegister()
377 DEBUG(dbgs() << "Scavenged register: " << TRI->getName(SReg) << "\n"); in scavengeRegister()
378 return SReg; in scavengeRegister()
420 Scavenged[SI].Reg = SReg; in scavengeRegister()
424 if (!TRI->saveScavengerRegister(*MBB, I, UseMI, RC, SReg)) { in scavengeRegister()
429 TRI->getName(SReg) + " from class " + TRI->getRegClassName(RC) + in scavengeRegister()
433 TII->storeRegToStackSlot(*MBB, I, SReg, true, Scavenged[SI].FrameIndex, in scavengeRegister()
441 TII->loadRegFromStackSlot(*MBB, UseMI, SReg, Scavenged[SI].FrameIndex, in scavengeRegister()
454 DEBUG(dbgs() << "Scavenged register (with spill): " << TRI->getName(SReg) << in scavengeRegister()
457 return SReg; in scavengeRegister()