Home
last modified time | relevance | path

Searched refs:getWavefrontSize (Results 1 – 20 of 20) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp319 const unsigned WaveSize = getWavefrontSize(); in getMaxLocalMemSizeWithWaveCount()
343 const unsigned WaveSize = getWavefrontSize(); in getOccupancyWithLocalMemSize()
390 return std::pair(1, getWavefrontSize()); in getDefaultFlatWorkGroupSize()
592 return getWavefrontSize() == 32 ? AMDGPUDwarfFlavour::Wave32 in getAMDGPUDwarfFlavour()
H A DAMDGPUSubtarget.h202 unsigned getWavefrontSize() const { in getWavefrontSize() function
H A DGCNSubtarget.h1276 return getWavefrontSize() == 32; in isWave32()
1280 return getWavefrontSize() == 64; in isWave64()
H A DAMDGPUAtomicOptimizer.cpp501 Type *const WaveTy = B.getIntNTy(ST->getWavefrontSize()); in optimizeAtomic()
553 Value *const LastLaneIdx = B.getInt32(ST->getWavefrontSize() - 1); in optimizeAtomic()
H A DR600ControlFlowFinalizer.cpp82 if (ST->getWavefrontSize() == 64) { in requiresWorkAroundForInst()
93 assert(ST->getWavefrontSize() == 32); in requiresWorkAroundForInst()
H A DAMDGPUAsmPrinter.cpp698 STM.getMaxWaveScratchSize() / STM.getWavefrontSize(); in getSIProgramInfo()
893 ProgInfo.ScratchSize * STM.getWavefrontSize(), 1ULL << ScratchAlignShift); in getSIProgramInfo()
H A DAMDGPUHSAMetadataStreamer.cpp207 HSACodeProps.mWavefrontSize = STM.getWavefrontSize(); in getHSACodeProps()
904 Kern.getDocument()->getNode(STM.getWavefrontSize()); in getHSAKernelProps()
H A DSILowerI1Copies.cpp99 ST->getWavefrontSize(); in isLaneMaskReg()
H A DSIMachineFunctionInfo.cpp380 unsigned WaveSize = ST.getWavefrontSize(); in allocateSGPRSpillToVGPRLane()
H A DSILowerControlFlow.cpp748 const unsigned WavefrontSize = ST.getWavefrontSize(); in lowerInitExec()
H A DAMDGPULibCalls.cpp1331 unsigned N = ST.getWavefrontSize(); in fold_wavefrontsize()
H A DAMDGPUInstructionSelector.cpp1323 if (DstTy.getSizeInBits() != STI.getWavefrontSize()) in selectIntrinsicCmp()
1383 if (Size != STI.getWavefrontSize()) in selectBallot()
1720 if (WGSize <= STI.getWavefrontSize()) { in selectSBarrier()
H A DSIFrameLowering.cpp579 return ST.enableFlatScratch() ? 1 : ST.getWavefrontSize(); in getScratchScaleFactor()
H A DSIInstrInfo.td9 def isWave32 : Predicate<"Subtarget->getWavefrontSize() == 32">,
11 def isWave64 : Predicate<"Subtarget->getWavefrontSize() == 64">,
H A DSIISelLowering.cpp4947 unsigned WavefrontSize = TLI.getSubtarget()->getWavefrontSize(); in lowerICMPIntrinsic()
4978 unsigned WavefrontSize = TLI.getSubtarget()->getWavefrontSize(); in lowerFCMPIntrinsic()
6995 return DAG.getConstant(MF.getSubtarget<GCNSubtarget>().getWavefrontSize(), in LowerINTRINSIC_WO_CHAIN()
8070 if (WGSize <= ST.getWavefrontSize()) in LowerINTRINSIC_VOID()
13043 return Subtarget->getWavefrontSize() == 64 ? &AMDGPU::SReg_64RegClass in getRegClassFor()
13129 return hasCFUser(V, Visited, Subtarget->getWavefrontSize()); in requiresUniformRegister()
H A DSIRegisterInfo.cpp1459 Offset *= ST.getWavefrontSize(); in buildSpillLoadStore()
H A DSIInstrInfo.cpp6660 unsigned Opcode = (ST.getWavefrontSize() == 64) ? AMDGPU::S_CSELECT_B64 in lowerSelect()
7512 uint64_t IndexStride = ST.getWavefrontSize() == 64 ? 3 : 2; in getScratchRsrcWords23()
H A DAMDGPULegalizerInfo.cpp5732 B.buildConstant(MI.getOperand(0), ST.getWavefrontSize()); in legalizeIntrinsic()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h190 unsigned getWavefrontSize(const MCSubtargetInfo *STI);
H A DAMDGPUBaseInfo.cpp821 unsigned getWavefrontSize(const MCSubtargetInfo *STI) { in getWavefrontSize() function
914 return divideCeil(FlatWorkGroupSize, getWavefrontSize(STI)); in getWavesPerWorkGroup()