Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.cpp267 unsigned WaveSize = ST.getWavefrontSize(); in haveFreeLanesForSGPRSpill() local
268 return NumVGPRSpillLanes + NumNeed <= WaveSize * SpillVGPRs.size(); in haveFreeLanesForSGPRSpill()
284 unsigned WaveSize = ST.getWavefrontSize(); in allocateSGPRSpillToVGPR() local
290 if (NumLanes > WaveSize) in allocateSGPRSpillToVGPR()
300 unsigned VGPRIndex = (NumVGPRSpillLanes % WaveSize); in allocateSGPRSpillToVGPR()
308 if (FuncInfo->VGPRReservedForSGPRSpill && NumVGPRSpillLanes < WaveSize) { in allocateSGPRSpillToVGPR()
H A DAMDGPUSubtarget.cpp375 const unsigned WaveSize = getWavefrontSize(); in getOccupancyWithLocalMemSize() local
390 const unsigned MaxGroupNumWaves = (MaxWorkGroupSize + WaveSize - 1) / WaveSize; in getOccupancyWithLocalMemSize()
H A DAMDGPURegisterBankInfo.cpp1275 auto WaveSize = B.buildConstant(LLT::scalar(32), ST.getWavefrontSizeLog2()); in applyMappingDynStackAlloc() local
1276 auto ScaledSize = B.buildShl(IntPtrTy, AllocSize, WaveSize); in applyMappingDynStackAlloc()
4234 unsigned WaveSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
4236 OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
4237 OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
H A DSIISelLowering.cpp12199 unsigned WaveSize) { in hasCFUser() argument
12204 if (!IT || IT->getBitWidth() != WaveSize) in hasCFUser()
12238 Result = hasCFUser(U, Visited, WaveSize); in hasCFUser()