Searched refs:WaveSize (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNRegPressure.cpp | 121 auto WaveSize = ST.getWavefrontSize(); in less() local 123 unsigned VGPRForSGPRSpills = (ExcessSGPR + (WaveSize - 1)) / WaveSize; in less() 125 (OtherExcessSGPR + (WaveSize - 1)) / WaveSize; in less()
|
H A D | AMDGPUSubtarget.cpp | 347 const unsigned WaveSize = getWavefrontSize(); in getMaxLocalMemSizeWithWaveCount() local 350 std::max(1u, (WorkGroupSize + WaveSize - 1) / WaveSize); in getMaxLocalMemSizeWithWaveCount() 371 const unsigned WaveSize = getWavefrontSize(); in getOccupancyWithLocalMemSize() local 386 const unsigned MaxGroupNumWaves = divideCeil(MaxWorkGroupSize, WaveSize); in getOccupancyWithLocalMemSize()
|
H A D | SIMachineFunctionInfo.cpp | 412 unsigned WaveSize = ST.getWavefrontSize(); in allocateSGPRSpillToVGPRLane() local 417 if (NumLanes > WaveSize) in allocateSGPRSpillToVGPRLane() 428 unsigned LaneIndex = (NumSpillLanes % WaveSize); in allocateSGPRSpillToVGPRLane()
|
H A D | AMDGPURegisterBankInfo.cpp | 1200 auto WaveSize = B.buildConstant(LLT::scalar(32), ST.getWavefrontSizeLog2()); in applyMappingDynStackAlloc() local 1201 auto ScaledSize = B.buildShl(IntPtrTy, AllocSize, WaveSize); in applyMappingDynStackAlloc() 4971 unsigned WaveSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local 4973 OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping() 4974 OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
|
H A D | SIISelLowering.cpp | 5158 unsigned WaveSize = TRI->getRegSizeInBits(*Src2RC); in EmitInstrWithCustomInserter() local 5159 assert(WaveSize == 64 || WaveSize == 32); in EmitInstrWithCustomInserter() 5161 if (WaveSize == 64) { in EmitInstrWithCustomInserter() 5192 (WaveSize == 64) ? AMDGPU::S_CSELECT_B64 : AMDGPU::S_CSELECT_B32; in EmitInstrWithCustomInserter() 16364 unsigned WaveSize) { in hasCFUser() argument 16369 if (!IT || IT->getBitWidth() != WaveSize) in hasCFUser() 16403 Result = hasCFUser(U, Visited, WaveSize); in hasCFUser()
|