Home
last modified time | relevance | path

Searched refs:WaveSize (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.cpp282 unsigned WaveSize = ST.getWavefrontSize(); in haveFreeLanesForSGPRSpill() local
283 return NumVGPRSpillLanes + NumNeed <= WaveSize * SpillVGPRs.size(); in haveFreeLanesForSGPRSpill()
299 unsigned WaveSize = ST.getWavefrontSize(); in allocateSGPRSpillToVGPR() local
305 if (NumLanes > WaveSize) in allocateSGPRSpillToVGPR()
315 unsigned VGPRIndex = (NumVGPRSpillLanes % WaveSize); in allocateSGPRSpillToVGPR()
323 if (FuncInfo->VGPRReservedForSGPRSpill && NumVGPRSpillLanes < WaveSize) { in allocateSGPRSpillToVGPR()
H A DAMDGPUSubtarget.cpp478 const unsigned WaveSize = getWavefrontSize(); in getOccupancyWithLocalMemSize() local
493 const unsigned MaxGroupNumWaves = (MaxWorkGroupSize + WaveSize - 1) / WaveSize; in getOccupancyWithLocalMemSize()
H A DAMDGPURegisterBankInfo.cpp1276 auto WaveSize = B.buildConstant(LLT::scalar(32), ST.getWavefrontSizeLog2()); in applyMappingDynStackAlloc() local
1277 auto ScaledSize = B.buildShl(IntPtrTy, AllocSize, WaveSize); in applyMappingDynStackAlloc()
4329 unsigned WaveSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
4331 OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
4332 OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
H A DSIISelLowering.cpp12177 unsigned WaveSize) { in hasCFUser() argument
12182 if (!IT || IT->getBitWidth() != WaveSize) in hasCFUser()
12216 Result = hasCFUser(U, Visited, WaveSize); in hasCFUser()