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.cpp459 Register Scav = RS->scavengeRegisterBackwards( in insertIndirectBranch() local
462 if (Scav != LoongArch::NoRegister) in insertIndirectBranch()
463 RS->setRegUsed(Scav); in insertIndirectBranch()
467 Scav = LoongArch::R20; in insertIndirectBranch()
471 storeRegToStackSlot(MBB, PCALAU12I, Scav, /*IsKill=*/true, FrameIndex, in insertIndirectBranch()
477 loadRegFromStackSlot(RestoreBB, RestoreBB.end(), Scav, FrameIndex, in insertIndirectBranch()
482 MRI.replaceRegWith(ScratchReg, Scav); in insertIndirectBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2957 Register Scav; in insertIndirectBranch() local
2963 Scav = LongBranchReservedReg; in insertIndirectBranch()
2966 Scav = RS->scavengeRegisterBackwards( in insertIndirectBranch()
2970 if (Scav) { in insertIndirectBranch()
2971 RS->setRegUsed(Scav); in insertIndirectBranch()
2972 MRI.replaceRegWith(PCReg, Scav); in insertIndirectBranch()
2984 MCSymbol *DestLabel = Scav ? DestBB.getSymbol() : RestoreBB.getSymbol(); in insertIndirectBranch()