Searched refs:ScratchWaveOffsetReg (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Target/AMDGPU/ |
D | SIFrameLowering.cpp | 72 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in emitPrologue() local 73 assert(ScratchWaveOffsetReg != AMDGPU::NoRegister); in emitPrologue() 116 .addReg(ScratchWaveOffsetReg); in emitPrologue() 128 assert(ScratchWaveOffsetReg == PreloadedScratchWaveOffsetReg && in emitPrologue() 174 if (ScratchWaveOffsetReg == TRI->reservedPrivateSegmentWaveByteOffsetReg(MF)) { in emitPrologue() 199 MRI.replaceRegWith(ScratchWaveOffsetReg, Reg); in emitPrologue() 200 ScratchWaveOffsetReg = Reg; in emitPrologue() 201 MFI->setScratchWaveOffsetReg(ScratchWaveOffsetReg); in emitPrologue() 209 assert(!TRI->isSubRegister(ScratchRsrcReg, ScratchWaveOffsetReg)); in emitPrologue() 214 if (PreloadedScratchWaveOffsetReg != ScratchWaveOffsetReg) { in emitPrologue() [all …]
|
D | SIMachineFunctionInfo.h | 38 unsigned ScratchWaveOffsetReg; variable 275 return ScratchWaveOffsetReg; in getScratchWaveOffsetReg() 280 ScratchWaveOffsetReg = Reg; in setScratchWaveOffsetReg()
|
D | SIRegisterInfo.cpp | 182 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in getReservedRegs() local 183 if (ScratchWaveOffsetReg != AMDGPU::NoRegister) { in getReservedRegs() 185 reserveRegisterTuples(Reserved, ScratchWaveOffsetReg); in getReservedRegs() 194 assert(!isSubRegister(ScratchRSrcReg, ScratchWaveOffsetReg)); in getReservedRegs()
|
D | SIMachineFunctionInfo.cpp | 36 ScratchWaveOffsetReg(AMDGPU::NoRegister), in SIMachineFunctionInfo()
|
D | SIISelLowering.cpp | 903 unsigned ScratchWaveOffsetReg = TRI->getPreloadedValue( in LowerFormalArguments() local 905 Info->setScratchWaveOffsetReg(ScratchWaveOffsetReg); in LowerFormalArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIFrameLowering.cpp | 70 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in emitFlatScratchInit() local 76 .addReg(ScratchWaveOffsetReg); in emitFlatScratchInit() 92 .addReg(ScratchWaveOffsetReg); in emitFlatScratchInit() 158 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in getReservedPrivateSegmentWaveByteOffsetReg() local 161 if (ScratchWaveOffsetReg == AMDGPU::NoRegister || in getReservedPrivateSegmentWaveByteOffsetReg() 162 !MRI.isPhysRegUsed(ScratchWaveOffsetReg)) { in getReservedPrivateSegmentWaveByteOffsetReg() 169 return std::make_pair(ScratchWaveOffsetReg, SPReg); in getReservedPrivateSegmentWaveByteOffsetReg() 175 return std::make_pair(ScratchWaveOffsetReg, SPReg); in getReservedPrivateSegmentWaveByteOffsetReg() 196 return std::make_pair(ScratchWaveOffsetReg, SPReg); in getReservedPrivateSegmentWaveByteOffsetReg() 199 ScratchWaveOffsetReg != TRI->reservedPrivateSegmentWaveByteOffsetReg(MF); in getReservedPrivateSegmentWaveByteOffsetReg() [all …]
|
D | SIMachineFunctionInfo.h | 90 unsigned ScratchWaveOffsetReg = AMDGPU::SCRATCH_WAVE_OFFSET_REG; variable 425 return ScratchWaveOffsetReg; in getScratchWaveOffsetReg() 447 ScratchWaveOffsetReg = Reg; in setScratchWaveOffsetReg() 449 FrameOffsetReg = ScratchWaveOffsetReg; in setScratchWaveOffsetReg()
|
D | SIMachineFunctionInfo.cpp | 72 ScratchWaveOffsetReg = AMDGPU::SGPR4; in SIMachineFunctionInfo() 79 ArgDescriptor::createRegister(ScratchWaveOffsetReg); in SIMachineFunctionInfo()
|
D | SIRegisterInfo.cpp | 194 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in getReservedRegs() local 195 if (ScratchWaveOffsetReg != AMDGPU::NoRegister) { in getReservedRegs() 197 reserveRegisterTuples(Reserved, ScratchWaveOffsetReg); in getReservedRegs() 206 assert(!isSubRegister(ScratchRSrcReg, ScratchWaveOffsetReg)); in getReservedRegs()
|
D | SIISelLowering.cpp | 1695 unsigned ScratchWaveOffsetReg = Info.getPreloadedReg( in reservePrivateMemoryRegs() local 1697 Info.setScratchWaveOffsetReg(ScratchWaveOffsetReg); in reservePrivateMemoryRegs() 2520 SDValue ScratchWaveOffsetReg in LowerCall() local 2522 RegsToPass.emplace_back(AMDGPU::SGPR4, ScratchWaveOffsetReg); in LowerCall()
|