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