Searched refs:NumVecElts (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 2468 unsigned NumVecElts = cast<FixedVectorType>(Ty)->getNumElements(); in getTreeReductionCost() local 2471 NumVecElts >= 2) { in getTreeReductionCost() 2478 Type *ValTy = IntegerType::get(Ty->getContext(), NumVecElts); in getTreeReductionCost() 2485 unsigned NumReduxLevels = Log2_32(NumVecElts); in getTreeReductionCost() 2492 while (NumVecElts > MVTLen) { in getTreeReductionCost() 2493 NumVecElts /= 2; in getTreeReductionCost() 2494 VectorType *SubTy = FixedVectorType::get(ScalarTy, NumVecElts); in getTreeReductionCost() 2497 CostKind, NumVecElts, SubTy); in getTreeReductionCost() 2574 unsigned NumVecElts = cast<FixedVectorType>(Ty)->getNumElements(); in getMinMaxReductionCost() local 2575 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 5349 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local 5354 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost() 5367 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost() 5372 while (NumVecElts > 1) { in getArithmeticReductionCost() 5374 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost() 5375 NumVecElts /= 2; in getArithmeticReductionCost() 5378 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getArithmeticReductionCost() 5381 NumVecElts, SubTy); in getArithmeticReductionCost() 5515 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local 5526 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost() [all …]
|
H A D | X86ISelLowering.cpp | 5708 int NumVecElts = Vec.getValueType().getVectorNumElements(); in getTargetShuffleAndZeroables() local 5709 if (Vec.isUndef() && Size == NumVecElts) { in getTargetShuffleAndZeroables() 42879 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local 42881 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode() 42892 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 576 const unsigned NumVecElts = VectorTy->getNumElements(); in promoteAllocaUserToVector() local 588 for (unsigned K = 0, NumElts = std::min(NumWrittenElts, NumVecElts); in promoteAllocaUserToVector()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 426 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local 428 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 434 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 21615 SDValue SplatVal, unsigned NumVecElts) { in splitStoreSplat() argument 21641 while (--NumVecElts) { in splitStoreSplat() 21825 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local 21826 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore() 21828 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore() 21854 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore() 21874 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore() 21892 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local 21893 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore() 21904 std::bitset<4> IndexNotInserted((1 << NumVecElts) - 1); in replaceSplatVectorStore() [all …]
|