Lines Matching refs:NumVecElts
5218 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local
5223 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost()
5236 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost()
5241 while (NumVecElts > 1) { in getArithmeticReductionCost()
5243 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost()
5244 NumVecElts /= 2; in getArithmeticReductionCost()
5247 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getArithmeticReductionCost()
5250 NumVecElts, SubTy); in getArithmeticReductionCost()
5384 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local
5395 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost()
5424 while (NumVecElts > 1) { in getMinMaxReductionCost()
5426 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost()
5427 NumVecElts /= 2; in getMinMaxReductionCost()
5430 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getMinMaxReductionCost()
5432 CostKind, NumVecElts, SubTy); in getMinMaxReductionCost()