Home
last modified time | relevance | path

Searched refs:MaxNumWorkgroups (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp109 SmallVector<unsigned> MaxNumWorkgroups = in processUse() local
114 none_of(MaxNumWorkgroups, [](unsigned X) { return X != 0; })) in processUse()
157 annotateGridSizeLoadWithRangeMD(Load, MaxNumWorkgroups[0]); in processUse()
163 annotateGridSizeLoadWithRangeMD(Load, MaxNumWorkgroups[1]); in processUse()
169 annotateGridSizeLoadWithRangeMD(Load, MaxNumWorkgroups[2]); in processUse()
H A DAMDGPUAttributor.cpp1016 SmallVector<unsigned> MaxNumWorkgroups = InfoCache.getMaxNumWorkGroups(*F); in initialize() local
1018 X.takeKnownMinimum(MaxNumWorkgroups[0]); in initialize()
1019 Y.takeKnownMinimum(MaxNumWorkgroups[1]); in initialize()
1020 Z.takeKnownMinimum(MaxNumWorkgroups[2]); in initialize()
H A DAMDGPUTargetTransformInfo.cpp1486 SmallVector<unsigned> MaxNumWorkgroups = ST->getMaxNumWorkGroups(F); in collectKernelLaunchBounds() local
1487 LB.push_back({"amdgpu-max-num-workgroups[0]", MaxNumWorkgroups[0]}); in collectKernelLaunchBounds()
1488 LB.push_back({"amdgpu-max-num-workgroups[1]", MaxNumWorkgroups[1]}); in collectKernelLaunchBounds()
1489 LB.push_back({"amdgpu-max-num-workgroups[2]", MaxNumWorkgroups[2]}); in collectKernelLaunchBounds()