Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp444 Register Scav = RS->scavengeRegisterBackwards( in insertIndirectBranch() local
447 if (Scav != LoongArch::NoRegister) in insertIndirectBranch()
448 RS->setRegUsed(Scav); in insertIndirectBranch()
452 Scav = LoongArch::R20; in insertIndirectBranch()
456 storeRegToStackSlot(MBB, PCALAU12I, Scav, /*IsKill=*/true, FrameIndex, in insertIndirectBranch()
462 loadRegFromStackSlot(RestoreBB, RestoreBB.end(), Scav, FrameIndex, in insertIndirectBranch()
467 MRI.replaceRegWith(ScratchReg, Scav); in insertIndirectBranch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2906 Register Scav; in insertIndirectBranch() local
2912 Scav = LongBranchReservedReg; in insertIndirectBranch()
2915 Scav = RS->scavengeRegisterBackwards( in insertIndirectBranch()
2919 if (Scav) { in insertIndirectBranch()
2920 RS->setRegUsed(Scav); in insertIndirectBranch()
2921 MRI.replaceRegWith(PCReg, Scav); in insertIndirectBranch()
2933 MCSymbol *DestLabel = Scav ? DestBB.getSymbol() : RestoreBB.getSymbol(); in insertIndirectBranch()