| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVAsmPrinter.cpp | 482 unsigned ScratchRegs[] = {RISCV::X6, RISCV::X7}; in LowerKCFI_CHECK() local 487 for (auto &Reg : ScratchRegs) { in LowerKCFI_CHECK() 501 .addReg(ScratchRegs[0]) in LowerKCFI_CHECK() 517 .addReg(ScratchRegs[0]) in LowerKCFI_CHECK() 529 MCInstBuilder(RISCV::LUI).addReg(ScratchRegs[1]).addImm(Hi20)); in LowerKCFI_CHECK() 536 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK() 537 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK() 545 .addReg(ScratchRegs[0]) in LowerKCFI_CHECK() 546 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64AsmPrinter.cpp | 453 unsigned ScratchRegs[] = {AArch64::W16, AArch64::W17}; in LowerKCFI_CHECK() local 457 AddrReg = getXRegFromWReg(ScratchRegs[0]); in LowerKCFI_CHECK() 468 for (auto &Reg : ScratchRegs) { in LowerKCFI_CHECK() 474 assert(ScratchRegs[0] != AddrReg && ScratchRegs[1] != AddrReg && in LowerKCFI_CHECK() 496 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK() 497 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK() 501 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK() 502 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK() 509 .addReg(ScratchRegs[0]) in LowerKCFI_CHECK() 510 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK() [all …]
|
| H A D | AArch64ISelLowering.cpp | 16350 static const MCPhysReg ScratchRegs[] = { in getScratchRegisters() local 16353 return ScratchRegs; in getScratchRegisters()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | InstrEmitter.cpp | 1002 const MCPhysReg *ScratchRegs = nullptr; in EmitMachineNode() local 1014 ScratchRegs = TLI->getScratchRegisters((CallingConv::ID) CC); in EmitMachineNode() 1097 if (ScratchRegs) in EmitMachineNode() 1098 for (unsigned i = 0; ScratchRegs[i]; ++i) in EmitMachineNode() 1099 MIB.addReg(ScratchRegs[i], RegState::ImplicitDefine | in EmitMachineNode()
|
| H A D | FastISel.cpp | 682 const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC); in selectStackmap() local 683 for (unsigned i = 0; ScratchRegs[i]; ++i) in selectStackmap() 685 ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false, in selectStackmap() 861 const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC); in selectPatchpoint() local 862 for (unsigned i = 0; ScratchRegs[i]; ++i) in selectPatchpoint() 864 ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false, in selectPatchpoint()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMExpandPseudoInsts.cpp | 96 SmallVectorImpl<unsigned> &ScratchRegs); 1407 const LivePhysRegs &LiveRegs, SmallVectorImpl<unsigned> &ScratchRegs) { in CMSESaveClearFPRegs() argument 1411 CMSESaveClearFPRegsV8(MBB, MBBI, DL, LiveRegs, ScratchRegs); in CMSESaveClearFPRegs() 1417 const LivePhysRegs &LiveRegs, SmallVectorImpl<unsigned> &ScratchRegs) { in CMSESaveClearFPRegsV8() argument 1420 assert(!ScratchRegs.empty()); in CMSESaveClearFPRegsV8() 1421 unsigned SpareReg = ScratchRegs.front(); in CMSESaveClearFPRegsV8() 1439 if (ScratchRegs.size() >= 2) { in CMSESaveClearFPRegsV8() 1440 unsigned SaveReg2 = ScratchRegs.pop_back_val(); in CMSESaveClearFPRegsV8() 1441 unsigned SaveReg1 = ScratchRegs.pop_back_val(); in CMSESaveClearFPRegsV8() 1454 if (ScratchRegs.size() >= 1) { in CMSESaveClearFPRegsV8() [all …]
|
| H A D | ARMBaseInstrInfo.cpp | 1668 SmallVector<unsigned, 6> ScratchRegs; in expandMEMCPY() local 1670 ScratchRegs.push_back(MO.getReg()); in expandMEMCPY() 1671 llvm::sort(ScratchRegs, in expandMEMCPY() 1677 for (const auto &Reg : ScratchRegs) { in expandMEMCPY()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIMachineFunctionInfo.cpp | 295 SmallVectorImpl<std::pair<Register, int>> &ScratchRegs) const { in splitWWMSpillRegisters() 301 ScratchRegs.push_back(Reg); in splitWWMSpillRegisters()
|
| H A D | SIMachineFunctionInfo.h | 681 SmallVectorImpl<std::pair<Register, int>> &ScratchRegs) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLoweringCall.cpp | 668 static const MCPhysReg ScratchRegs[] = { X86::R11, 0 }; in getScratchRegisters() local 669 return ScratchRegs; in getScratchRegisters()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 1436 static const MCPhysReg ScratchRegs[] = { SystemZ::R0D, SystemZ::R1D, in getScratchRegisters() local 1438 return ScratchRegs; in getScratchRegisters()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 17372 static const MCPhysReg ScratchRegs[] = { in getScratchRegisters() local 17376 return ScratchRegs; in getScratchRegisters()
|