Home
last modified time | relevance | path

Searched refs:ScratchRsrcReg (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp69 unsigned ScratchRsrcReg = MFI->getScratchRSrcReg(); in emitPrologue() local
70 assert(ScratchRsrcReg != AMDGPU::NoRegister); in emitPrologue()
126 if (ScratchRsrcReg == PreloadedPrivateBufferReg) { in emitPrologue()
155 if (ScratchRsrcReg == TRI->reservedPrivateSegmentBufferReg(MF)) { in emitPrologue()
166 MRI.replaceRegWith(ScratchRsrcReg, Reg); in emitPrologue()
167 ScratchRsrcReg = Reg; in emitPrologue()
168 MFI->setScratchRSrcReg(ScratchRsrcReg); in emitPrologue()
196 TRI->isSubRegisterEq(ScratchRsrcReg, Reg)) in emitPrologue()
209 assert(!TRI->isSubRegister(ScratchRsrcReg, ScratchWaveOffsetReg)); in emitPrologue()
224 !TRI->isSubRegisterEq(PreloadedPrivateBufferReg, ScratchRsrcReg) && in emitPrologue()
[all …]
DSIRegisterInfo.h198 unsigned ScratchRsrcReg, unsigned ScratchOffset,
DSIRegisterInfo.cpp413 unsigned ScratchRsrcReg, in buildScratchLoadStore() argument
478 .addReg(ScratchRsrcReg) in buildScratchLoadStore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp109 unsigned ScratchRsrcReg = MFI->getScratchRSrcReg(); in getReservedPrivateSegmentBufferReg() local
110 if (ScratchRsrcReg == AMDGPU::NoRegister || in getReservedPrivateSegmentBufferReg()
111 !MRI.isPhysRegUsed(ScratchRsrcReg)) in getReservedPrivateSegmentBufferReg()
115 ScratchRsrcReg != TRI->reservedPrivateSegmentBufferReg(MF)) in getReservedPrivateSegmentBufferReg()
116 return ScratchRsrcReg; in getReservedPrivateSegmentBufferReg()
139 MRI.replaceRegWith(ScratchRsrcReg, Reg); in getReservedPrivateSegmentBufferReg()
145 return ScratchRsrcReg; in getReservedPrivateSegmentBufferReg()
272 unsigned ScratchRsrcReg in emitEntryFunctionPrologue() local
283 assert(ScratchRsrcReg == AMDGPU::NoRegister); in emitEntryFunctionPrologue()
298 bool ResourceRegUsed = ScratchRsrcReg != AMDGPU::NoRegister && in emitEntryFunctionPrologue()
[all …]
DSIFrameLowering.h76 unsigned ScratchRsrcReg) const;
DSIRegisterInfo.h237 unsigned ScratchRsrcReg,
DSIRegisterInfo.cpp520 unsigned ScratchRsrcReg, in buildSpillLoadStore() argument
603 .addReg(ScratchRsrcReg) in buildSpillLoadStore()