Home
last modified time | relevance | path

Searched refs:ScratchRegs (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp335 unsigned ScratchRegs[] = {AArch64::W16, AArch64::W17}; in LowerKCFI_CHECK() local
339 AddrReg = getXRegFromWReg(ScratchRegs[0]); in LowerKCFI_CHECK()
350 for (auto &Reg : ScratchRegs) { in LowerKCFI_CHECK()
356 assert(ScratchRegs[0] != AddrReg && ScratchRegs[1] != AddrReg && in LowerKCFI_CHECK()
370 .addReg(ScratchRegs[0]) in LowerKCFI_CHECK()
378 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK()
379 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK()
383 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK()
384 .addReg(ScratchRegs[1]) in LowerKCFI_CHECK()
391 .addReg(ScratchRegs[0]) in LowerKCFI_CHECK()
[all …]
H A DAArch64ISelLowering.cpp14923 static const MCPhysReg ScratchRegs[] = { in getScratchRegisters() local
14926 return ScratchRegs; in getScratchRegisters()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp1002 const MCPhysReg *ScratchRegs = nullptr; in EmitMachineNode() local
1014 ScratchRegs = TLI->getScratchRegisters((CallingConv::ID) CC); in EmitMachineNode()
1094 if (ScratchRegs) in EmitMachineNode()
1095 for (unsigned i = 0; ScratchRegs[i]; ++i) in EmitMachineNode()
1096 MIB.addReg(ScratchRegs[i], RegState::ImplicitDefine | in EmitMachineNode()
H A DFastISel.cpp685 const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC); in selectStackmap() local
686 for (unsigned i = 0; ScratchRegs[i]; ++i) in selectStackmap()
688 ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false, in selectStackmap()
864 const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC); in selectPatchpoint() local
865 for (unsigned i = 0; ScratchRegs[i]; ++i) in selectPatchpoint()
867 ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false, in selectPatchpoint()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMExpandPseudoInsts.cpp95 SmallVectorImpl<unsigned> &ScratchRegs);
1334 const LivePhysRegs &LiveRegs, SmallVectorImpl<unsigned> &ScratchRegs) { in CMSESaveClearFPRegs() argument
1338 CMSESaveClearFPRegsV8(MBB, MBBI, DL, LiveRegs, ScratchRegs); in CMSESaveClearFPRegs()
1344 const LivePhysRegs &LiveRegs, SmallVectorImpl<unsigned> &ScratchRegs) { in CMSESaveClearFPRegsV8() argument
1347 assert(!ScratchRegs.empty()); in CMSESaveClearFPRegsV8()
1348 unsigned SpareReg = ScratchRegs.front(); in CMSESaveClearFPRegsV8()
1366 if (ScratchRegs.size() >= 2) { in CMSESaveClearFPRegsV8()
1367 unsigned SaveReg2 = ScratchRegs.pop_back_val(); in CMSESaveClearFPRegsV8()
1368 unsigned SaveReg1 = ScratchRegs.pop_back_val(); in CMSESaveClearFPRegsV8()
1381 if (ScratchRegs.size() >= 1) { in CMSESaveClearFPRegsV8()
[all …]
H A DARMBaseInstrInfo.cpp1668 SmallVector<unsigned, 6> ScratchRegs; in expandMEMCPY() local
1670 ScratchRegs.push_back(MI->getOperand(I).getReg()); in expandMEMCPY()
1671 llvm::sort(ScratchRegs, in expandMEMCPY()
1677 for (const auto &Reg : ScratchRegs) { in expandMEMCPY()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.cpp292 SmallVectorImpl<std::pair<Register, int>> &ScratchRegs) const { in splitWWMSpillRegisters()
298 ScratchRegs.push_back(Reg); in splitWWMSpillRegisters()
H A DSIMachineFunctionInfo.h636 SmallVectorImpl<std::pair<Register, int>> &ScratchRegs) const;
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1335 static const MCPhysReg ScratchRegs[] = { SystemZ::R0D, SystemZ::R1D, in getScratchRegisters() local
1337 return ScratchRegs; in getScratchRegisters()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp17023 static const MCPhysReg ScratchRegs[] = { in getScratchRegisters() local
17027 return ScratchRegs; in getScratchRegisters()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3098 static const MCPhysReg ScratchRegs[] = { X86::R11, 0 }; in getScratchRegisters() local
3099 return ScratchRegs; in getScratchRegisters()