Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp47 const unsigned WaveSize = getWavefrontSize(); in getMaxLocalMemSizeWithWaveCount() local
50 std::max(1u, (WorkGroupSize + WaveSize - 1) / WaveSize); in getMaxLocalMemSizeWithWaveCount()
71 const unsigned WaveSize = getWavefrontSize(), WavesPerEU = getMaxWavesPerEU(); in getOccupancyWithWorkGroupSizes() local
75 unsigned WavesPerWG = divideCeil(WGSize, WaveSize); in getOccupancyWithWorkGroupSizes()
127 ((MaxWGSize - 1) / WaveSize) + 1 - in getOccupancyWithWorkGroupSizes()
H A DGCNRegPressure.cpp128 auto WaveSize = ST.getWavefrontSize(); in less() local
130 unsigned VGPRForSGPRSpills = (ExcessSGPR + (WaveSize - 1)) / WaveSize; in less()
132 (OtherExcessSGPR + (WaveSize - 1)) / WaveSize; in less()
H A DSIMachineFunctionInfo.cpp444 unsigned WaveSize = ST.getWavefrontSize(); in allocateSGPRSpillToVGPRLane() local
449 if (NumLanes > WaveSize) in allocateSGPRSpillToVGPRLane()
460 unsigned LaneIndex = (NumSpillLanes % WaveSize); in allocateSGPRSpillToVGPRLane()
H A DAMDGPUInstructionSelector.cpp1594 const unsigned WaveSize = STI.getWavefrontSize(); in selectBallot() local
1598 if (BallotSize != WaveSize && (BallotSize != 64 || WaveSize != 32)) in selectBallot()
1606 if (BallotSize != WaveSize) { in selectBallot()
1614 unsigned Opcode = WaveSize == 64 ? AMDGPU::S_MOV_B64 : AMDGPU::S_MOV_B32; in selectBallot()
1631 unsigned AndOpc = WaveSize == 64 ? AMDGPU::S_AND_B64 : AMDGPU::S_AND_B32; in selectBallot()
1642 if (BallotSize != WaveSize) { in selectBallot()
H A DAMDGPURegisterBankInfo.cpp1207 auto WaveSize = B.buildConstant(LLT::scalar(32), ST.getWavefrontSizeLog2()); in applyMappingDynStackAlloc() local
1208 auto ScaledSize = B.buildShl(IntPtrTy, AllocSize, WaveSize); in applyMappingDynStackAlloc()
5202 unsigned WaveSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
5204 OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
5205 OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize); in getInstrMapping()
H A DSIISelLowering.cpp5498 unsigned WaveSize = TRI->getRegSizeInBits(*Src2RC); in EmitInstrWithCustomInserter() local
5499 assert(WaveSize == 64 || WaveSize == 32); in EmitInstrWithCustomInserter()
5501 if (WaveSize == 64) { in EmitInstrWithCustomInserter()
5536 (WaveSize == 64) ? AMDGPU::S_CSELECT_B64 : AMDGPU::S_CSELECT_B32; in EmitInstrWithCustomInserter()
17554 unsigned WaveSize) { in hasCFUser() argument
17559 if (!IT || IT->getBitWidth() != WaveSize) in hasCFUser()
17593 Result = hasCFUser(U, Visited, WaveSize); in hasCFUser()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILTranslateMetadata.cpp70 WaveSize, enumerator
163 case EntryPropsTag::WaveSize: in getTagValueAsMetadata()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrDocs.td8221 The ``WaveSize`` attribute specify a wave size on a shader entry point in order
8224 There're 2 versions of the attribute: ``WaveSize`` and ``RangedWaveSize``.
8225 The syntax for ``WaveSize`` is:
8229 ``[WaveSize(<numLanes>)]``
8239 ``[WaveSize(<minWaveSize>, <maxWaveSize>, [prefWaveSize])]``
8247 ``WaveSize`` is available for HLSL shader model 6.6 and later.
H A DAttr.td5044 let Spellings = [Microsoft<"WaveSize">];