Home
last modified time | relevance | path

Searched refs:Scav (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp655 Register Scav = RS->scavengeRegisterBackwards( in insertIndirectBranch() local
658 if (Scav != LoongArch::NoRegister) in insertIndirectBranch()
659 RS->setRegUsed(Scav); in insertIndirectBranch()
663 Scav = LoongArch::R20; in insertIndirectBranch()
667 storeRegToStackSlot(MBB, PCALAU12I, Scav, /*IsKill=*/true, FrameIndex, in insertIndirectBranch()
673 loadRegFromStackSlot(RestoreBB, RestoreBB.end(), Scav, FrameIndex, in insertIndirectBranch()
678 MRI.replaceRegWith(ScratchReg, Scav); in insertIndirectBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp3031 Register Scav; in insertIndirectBranch() local
3037 Scav = LongBranchReservedReg; in insertIndirectBranch()
3040 Scav = RS->scavengeRegisterBackwards( in insertIndirectBranch()
3044 if (Scav) { in insertIndirectBranch()
3045 RS->setRegUsed(Scav); in insertIndirectBranch()
3046 MRI.replaceRegWith(PCReg, Scav); in insertIndirectBranch()
3058 MCSymbol *DestLabel = Scav ? DestBB.getSymbol() : RestoreBB.getSymbol(); in insertIndirectBranch()