Lines Matching defs:SGPR
73 MachineFunction &MF, LiveRegUnits &LiveUnits, Register SGPR,
84 // We need to save and restore the given SGPR.
87 // 1: Try to save the given register into an unused scratch SGPR. The
89 // certain cases we skip copy to scratch SGPR.
101 // SGPR, so we're forced to take another VGPR to use for the spill.
103 SGPR, PrologEpilogSGPRSaveRestoreInfo(
107 dbgs() << printReg(SGPR, TRI) << " requires fallback spill to "
116 SGPR,
119 << printReg(SGPR, TRI) << '\n');
123 SGPR, PrologEpilogSGPRSaveRestoreInfo(
126 LLVM_DEBUG(dbgs() << "Saving " << printReg(SGPR, TRI) << " with copy to "
220 // SpillBuilder to save/restore special SGPR spills like the one needed for FP,
524 // Note SGPRSpill stack IDs should only be used for SGPR spilling to VGPRs, not
598 // FIXME: If we only have SGPR spills, we won't actually be using scratch
600 // SGPR spill frame indices somewhere.
602 // FIXME: We still have implicit uses on SGPR spill instructions in case they
662 // the scratch wave offset, which may be in a fixed SGPR or a free SGPR
664 // wave offset to a free SGPR.
976 // Skip if FP is saved to a scratch SGPR, the save has already been emitted.
989 // If a copy to scratch SGPR has been chosen for any of the SGPR spills, make
1019 // Skip if FP needs to be restored from the scratch SGPR. Otherwise, restore
1425 // can. Any remaining SGPR spills will go to memory, so move them back to the
1430 "SGPR spill should have been removed in SILowerSGPRSpills");
1475 // We initally reserved the highest available SGPR pair for long branches
1490 // The special SGPR spills like the one needed for FP, BP or any reserved
1517 // If found any unused scratch SGPR, reserve the register itself for Exec
1603 // The shift-back is needed only for the VGPRs used for SGPR spills and they
1669 // save VGPR reserved for SGPR spills as we now always create stack entry
1671 // if there is a call and stack. We will allocate a VGPR for SGPR spills if
1672 // there are any SGPR spills. Whether they are CSR spills or otherwise.