Lines Matching defs:NumElts
288 unsigned NumElts = cast<FixedVectorType>(II.getType())->getNumElements();
294 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1)
298 UndefElts &= APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1)
1566 unsigned NumElts = cast<FixedVectorType>(VecTy)->getNumElements();
1568 FixedVectorType::get(VecTy->getScalarType(), NumElts / Factor);
1575 if (NumElts % Factor == 0 &&
1584 if (ST->hasMVEIntegerOps() && Factor == 2 && NumElts / Factor > 2 &&
1715 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements();
1718 while (!TTI::requiresOrderedReduction(FMF) && isPowerOf2_32(NumElts) &&
1719 NumElts * EltSize > VecLimit) {
1720 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2);
1722 NumElts /= 2;
1729 ValVT.getVectorElementType() == MVT::f16 && NumElts == 8) {
1731 NumElts /= 2;
1733 ExtractCost = NumElts / 2;
1736 NumElts *
1742 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements();
1746 while (isPowerOf2_32(NumElts) && NumElts * EltSize > VecLimit) {
1747 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2);
1749 NumElts /= 2;
1754 NumElts * EltSize == 64) {
1755 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts);
1758 NumElts /= 2;
1762 InstructionCost ExtractCost = NumElts;
1764 (NumElts - 1) * getArithmeticInstrCost(
1859 unsigned NumElts = cast<FixedVectorType>(Ty)->getNumElements();
1863 while (isPowerOf2_32(NumElts) && NumElts * EltSize > VecLimit) {
1864 Type *VecTy = FixedVectorType::get(Ty->getElementType(), NumElts/2);
1867 NumElts /= 2;
1874 NumElts == 8) {
1876 NumElts /= 2;
1884 (NumElts - 1) * getIntrinsicInstrCost(ICA, CostKind);