Searched refs:NumVecElts (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 2381 NumVecElts >= 2) { in getTreeReductionCost() 2388 Type *ValTy = IntegerType::get(Ty->getContext(), NumVecElts); in getTreeReductionCost() 2395 unsigned NumReduxLevels = Log2_32(NumVecElts); in getTreeReductionCost() 2402 while (NumVecElts > MVTLen) { in getTreeReductionCost() 2403 NumVecElts /= 2; in getTreeReductionCost() 2407 CostKind, NumVecElts, SubTy); in getTreeReductionCost() 2485 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost() 2492 while (NumVecElts > MVTLen) { in getMinMaxReductionCost() 2493 NumVecElts /= 2; in getMinMaxReductionCost() 2494 auto *SubTy = FixedVectorType::get(ScalarTy, NumVecElts); in getMinMaxReductionCost() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 5218 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local 5236 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost() 5241 while (NumVecElts > 1) { in getArithmeticReductionCost() 5243 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost() 5244 NumVecElts /= 2; in getArithmeticReductionCost() 5250 NumVecElts, SubTy); in getArithmeticReductionCost() 5384 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local 5395 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost() 5424 while (NumVecElts > 1) { in getMinMaxReductionCost() 5426 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost() [all …]
|
| H A D | X86ISelLowering.cpp | 5583 int NumVecElts = Vec.getValueType().getVectorNumElements(); in getTargetShuffleAndZeroables() local 5584 if (Vec.isUndef() && Size == NumVecElts) { in getTargetShuffleAndZeroables() 41947 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local 41949 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode() 41960 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 472 const unsigned NumVecElts = VectorTy->getNumElements(); in promoteAllocaUserToVector() local 484 for (unsigned K = 0, NumElts = std::min(NumWrittenElts, NumVecElts); in promoteAllocaUserToVector()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 418 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local 420 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 426 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 20393 while (--NumVecElts) { in splitStoreSplat() 20577 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local 20578 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore() 20580 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore() 20606 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore() 20626 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore() 20644 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local 20645 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore() 20658 for (unsigned I = 0; I < NumVecElts; ++I) { in replaceSplatVectorStore() 20674 if (IndexVal >= NumVecElts) in replaceSplatVectorStore() [all …]
|