Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.cpp291 unsigned WaveSize = ST.getWavefrontSize(); in haveFreeLanesForSGPRSpill() local
292 return NumVGPRSpillLanes + NumNeed <= WaveSize * SpillVGPRs.size(); in haveFreeLanesForSGPRSpill()
308 unsigned WaveSize = ST.getWavefrontSize(); in allocateSGPRSpillToVGPR() local
313 if (NumLanes > WaveSize) in allocateSGPRSpillToVGPR()
323 unsigned VGPRIndex = (NumVGPRSpillLanes % WaveSize); in allocateSGPRSpillToVGPR()
H A DAMDGPUSubtarget.cpp322 const unsigned WaveSize = getWavefrontSize(); in getOccupancyWithLocalMemSize() local
337 const unsigned MaxGroupNumWaves = (MaxWorkGroupSize + WaveSize - 1) / WaveSize; in getOccupancyWithLocalMemSize()
H A DAMDGPURegisterBankInfo.cpp1192 auto WaveSize = B.buildConstant(LLT::scalar(32), ST.getWavefrontSizeLog2()); in applyMappingDynStackAlloc() local
1193 auto ScaledSize = B.buildShl(IntPtrTy, AllocSize, WaveSize); in applyMappingDynStackAlloc()
4630 unsigned WaveSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
4632 OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
4633 OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
H A DSIISelLowering.cpp4154 unsigned WaveSize = TRI->getRegSizeInBits(*Src2RC); in EmitInstrWithCustomInserter() local
4155 assert(WaveSize == 64 || WaveSize == 32); in EmitInstrWithCustomInserter()
4157 if (WaveSize == 64) { in EmitInstrWithCustomInserter()
4188 (WaveSize == 64) ? AMDGPU::S_CSELECT_B64 : AMDGPU::S_CSELECT_B32; in EmitInstrWithCustomInserter()
12855 unsigned WaveSize) { in hasCFUser() argument
12860 if (!IT || IT->getBitWidth() != WaveSize) in hasCFUser()
12894 Result = hasCFUser(U, Visited, WaveSize); in hasCFUser()