Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp965 const MCPhysReg *ScratchRegs = nullptr; in EmitMachineNode() local
977 ScratchRegs = TLI->getScratchRegisters((CallingConv::ID) CC); in EmitMachineNode()
1057 if (ScratchRegs) in EmitMachineNode()
1058 for (unsigned i = 0; ScratchRegs[i]; ++i) in EmitMachineNode()
1059 MIB.addReg(ScratchRegs[i], RegState::ImplicitDefine | in EmitMachineNode()
H A DFastISel.cpp690 const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC); in selectStackmap() local
691 for (unsigned i = 0; ScratchRegs[i]; ++i) in selectStackmap()
693 ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false, in selectStackmap()
869 const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC); in selectPatchpoint() local
870 for (unsigned i = 0; ScratchRegs[i]; ++i) in selectPatchpoint()
872 ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false, in selectPatchpoint()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMExpandPseudoInsts.cpp95 SmallVectorImpl<unsigned> &ScratchRegs);
1333 const LivePhysRegs &LiveRegs, SmallVectorImpl<unsigned> &ScratchRegs) { in CMSESaveClearFPRegs() argument
1337 CMSESaveClearFPRegsV8(MBB, MBBI, DL, LiveRegs, ScratchRegs); in CMSESaveClearFPRegs()
1343 const LivePhysRegs &LiveRegs, SmallVectorImpl<unsigned> &ScratchRegs) { in CMSESaveClearFPRegsV8() argument
1346 assert(!ScratchRegs.empty()); in CMSESaveClearFPRegsV8()
1347 unsigned SpareReg = ScratchRegs.front(); in CMSESaveClearFPRegsV8()
1365 if (ScratchRegs.size() >= 2) { in CMSESaveClearFPRegsV8()
1366 unsigned SaveReg2 = ScratchRegs.pop_back_val(); in CMSESaveClearFPRegsV8()
1367 unsigned SaveReg1 = ScratchRegs.pop_back_val(); in CMSESaveClearFPRegsV8()
1380 if (ScratchRegs.size() >= 1) { in CMSESaveClearFPRegsV8()
[all …]
H A DARMBaseInstrInfo.cpp1663 SmallVector<unsigned, 6> ScratchRegs; in expandMEMCPY() local
1665 ScratchRegs.push_back(MI->getOperand(I).getReg()); in expandMEMCPY()
1666 llvm::sort(ScratchRegs, in expandMEMCPY()
1672 for (const auto &Reg : ScratchRegs) { in expandMEMCPY()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1332 static const MCPhysReg ScratchRegs[] = { SystemZ::R0D, SystemZ::R1D, in getScratchRegisters() local
1334 return ScratchRegs; in getScratchRegisters()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16798 static const MCPhysReg ScratchRegs[] = { in getScratchRegisters() local
16802 return ScratchRegs; in getScratchRegisters()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp13644 static const MCPhysReg ScratchRegs[] = { in getScratchRegisters() local
13647 return ScratchRegs; in getScratchRegisters()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3020 static const MCPhysReg ScratchRegs[] = { X86::R11, 0 }; in getScratchRegisters() local
3021 return ScratchRegs; in getScratchRegisters()