Lines Matching refs:NumElts
269 unsigned NumElts = cast<FixedVectorType>(II.getType())->getNumElements(); in simplifyDemandedVectorEltsIntrinsic() local
275 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
279 UndefElts &= APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
1548 unsigned NumElts = cast<FixedVectorType>(VecTy)->getNumElements(); in getInterleavedMemoryOpCost() local
1550 FixedVectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
1557 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost()
1566 if (ST->hasMVEIntegerOps() && Factor == 2 && NumElts / Factor > 2 && in getInterleavedMemoryOpCost()
1697 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements(); in getArithmeticReductionCost() local
1700 while (!TTI::requiresOrderedReduction(FMF) && isPowerOf2_32(NumElts) && in getArithmeticReductionCost()
1701 NumElts * EltSize > VecLimit) { in getArithmeticReductionCost()
1702 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2); in getArithmeticReductionCost()
1704 NumElts /= 2; in getArithmeticReductionCost()
1711 ValVT.getVectorElementType() == MVT::f16 && NumElts == 8) { in getArithmeticReductionCost()
1713 NumElts /= 2; in getArithmeticReductionCost()
1715 ExtractCost = NumElts / 2; in getArithmeticReductionCost()
1718 NumElts * in getArithmeticReductionCost()
1724 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements(); in getArithmeticReductionCost() local
1728 while (isPowerOf2_32(NumElts) && NumElts * EltSize > VecLimit) { in getArithmeticReductionCost()
1729 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2); in getArithmeticReductionCost()
1731 NumElts /= 2; in getArithmeticReductionCost()
1736 NumElts * EltSize == 64) { in getArithmeticReductionCost()
1737 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts); in getArithmeticReductionCost()
1740 NumElts /= 2; in getArithmeticReductionCost()
1744 InstructionCost ExtractCost = NumElts; in getArithmeticReductionCost()
1746 (NumElts - 1) * getArithmeticInstrCost( in getArithmeticReductionCost()
1841 unsigned NumElts = cast<FixedVectorType>(Ty)->getNumElements(); in getMinMaxReductionCost() local
1845 while (isPowerOf2_32(NumElts) && NumElts * EltSize > VecLimit) { in getMinMaxReductionCost()
1846 Type *VecTy = FixedVectorType::get(Ty->getElementType(), NumElts/2); in getMinMaxReductionCost()
1849 NumElts /= 2; in getMinMaxReductionCost()
1856 NumElts == 8) { in getMinMaxReductionCost()
1858 NumElts /= 2; in getMinMaxReductionCost()
1866 (NumElts - 1) * getIntrinsicInstrCost(ICA, CostKind); in getMinMaxReductionCost()