Lines Matching refs:NumElts
265 unsigned NumElts = cast<FixedVectorType>(II.getType())->getNumElements(); in simplifyDemandedVectorEltsIntrinsic() local
271 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
275 UndefElts &= APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
1536 unsigned NumElts = cast<FixedVectorType>(VecTy)->getNumElements(); in getInterleavedMemoryOpCost() local
1538 FixedVectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
1545 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost()
1554 if (ST->hasMVEIntegerOps() && Factor == 2 && NumElts / Factor > 2 && in getInterleavedMemoryOpCost()
1685 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements(); in getArithmeticReductionCost() local
1688 while (!TTI::requiresOrderedReduction(FMF) && isPowerOf2_32(NumElts) && in getArithmeticReductionCost()
1689 NumElts * EltSize > VecLimit) { in getArithmeticReductionCost()
1690 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2); in getArithmeticReductionCost()
1692 NumElts /= 2; in getArithmeticReductionCost()
1699 ValVT.getVectorElementType() == MVT::f16 && NumElts == 8) { in getArithmeticReductionCost()
1701 NumElts /= 2; in getArithmeticReductionCost()
1703 ExtractCost = NumElts / 2; in getArithmeticReductionCost()
1706 NumElts * in getArithmeticReductionCost()
1712 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements(); in getArithmeticReductionCost() local
1716 while (isPowerOf2_32(NumElts) && NumElts * EltSize > VecLimit) { in getArithmeticReductionCost()
1717 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2); in getArithmeticReductionCost()
1719 NumElts /= 2; in getArithmeticReductionCost()
1724 NumElts * EltSize == 64) { in getArithmeticReductionCost()
1725 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts); in getArithmeticReductionCost()
1728 NumElts /= 2; in getArithmeticReductionCost()
1732 InstructionCost ExtractCost = NumElts; in getArithmeticReductionCost()
1734 (NumElts - 1) * getArithmeticInstrCost( in getArithmeticReductionCost()
1829 unsigned NumElts = cast<FixedVectorType>(Ty)->getNumElements(); in getMinMaxReductionCost() local
1833 while (isPowerOf2_32(NumElts) && NumElts * EltSize > VecLimit) { in getMinMaxReductionCost()
1834 Type *VecTy = FixedVectorType::get(Ty->getElementType(), NumElts/2); in getMinMaxReductionCost()
1837 NumElts /= 2; in getMinMaxReductionCost()
1844 NumElts == 8) { in getMinMaxReductionCost()
1846 NumElts /= 2; in getMinMaxReductionCost()
1854 (NumElts - 1) * getIntrinsicInstrCost(ICA, CostKind); in getMinMaxReductionCost()