Home
last modified time | relevance | path

Searched refs:ScratchWaveOffsetReg (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp219 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in emitFlatScratchInit() local
226 .addReg(ScratchWaveOffsetReg); in emitFlatScratchInit()
243 .addReg(ScratchWaveOffsetReg); in emitFlatScratchInit()
261 .addReg(ScratchWaveOffsetReg); in emitFlatScratchInit()
323 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in getReservedPrivateSegmentWaveByteOffsetReg() local
328 if (ScratchWaveOffsetReg == AMDGPU::NoRegister || in getReservedPrivateSegmentWaveByteOffsetReg()
329 (!hasFP(MF) && !MRI.isPhysRegUsed(ScratchWaveOffsetReg))) { in getReservedPrivateSegmentWaveByteOffsetReg()
334 return std::make_pair(ScratchWaveOffsetReg, false); in getReservedPrivateSegmentWaveByteOffsetReg()
340 return std::make_pair(ScratchWaveOffsetReg, false); in getReservedPrivateSegmentWaveByteOffsetReg()
361 return std::make_pair(ScratchWaveOffsetReg, false); in getReservedPrivateSegmentWaveByteOffsetReg()
[all …]
DSIMachineFunctionInfo.h279 StringValue ScratchWaveOffsetReg = "$scratch_wave_offset_reg";
306 YamlIO.mapOptional("scratchWaveOffsetReg", MFI.ScratchWaveOffsetReg,
331 unsigned ScratchWaveOffsetReg = AMDGPU::SCRATCH_WAVE_OFFSET_REG;
709 return ScratchWaveOffsetReg;
736 ScratchWaveOffsetReg = Reg;
DAMDGPUTargetMachine.cpp1047 parseRegister(YamlMFI.ScratchWaveOffsetReg, MFI->ScratchWaveOffsetReg) || in parseMachineFunctionInfo()
1057 if (MFI->ScratchWaveOffsetReg != AMDGPU::SCRATCH_WAVE_OFFSET_REG && in parseMachineFunctionInfo()
1058 !AMDGPU::SGPR_32RegClass.contains(MFI->ScratchWaveOffsetReg)) { in parseMachineFunctionInfo()
1059 return diagnoseRegisterClass(YamlMFI.ScratchWaveOffsetReg); in parseMachineFunctionInfo()
DSIMachineFunctionInfo.cpp71 ScratchWaveOffsetReg = AMDGPU::SGPR33; in SIMachineFunctionInfo()
80 ArgDescriptor::createRegister(ScratchWaveOffsetReg); in SIMachineFunctionInfo()
490 ScratchWaveOffsetReg(regToString(MFI.getScratchWaveOffsetReg(), TRI)), in SIMachineFunctionInfo()
DSIRegisterInfo.cpp218 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in getReservedRegs() local
219 if (ScratchWaveOffsetReg != AMDGPU::NoRegister) { in getReservedRegs()
221 reserveRegisterTuples(Reserved, ScratchWaveOffsetReg); in getReservedRegs()
230 assert(!isSubRegister(ScratchRSrcReg, ScratchWaveOffsetReg)); in getReservedRegs()