Lines Matching refs:NumVecElts
4458 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local
4463 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost()
4476 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost()
4481 while (NumVecElts > 1) { in getArithmeticReductionCost()
4483 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost()
4484 NumVecElts /= 2; in getArithmeticReductionCost()
4487 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getArithmeticReductionCost()
4489 getShuffleCost(TTI::SK_ExtractSubvector, Ty, None, NumVecElts, SubTy); in getArithmeticReductionCost()
4741 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local
4754 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost()
4783 while (NumVecElts > 1) { in getMinMaxReductionCost()
4785 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost()
4786 NumVecElts /= 2; in getMinMaxReductionCost()
4789 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getMinMaxReductionCost()
4791 getShuffleCost(TTI::SK_ExtractSubvector, Ty, None, NumVecElts, SubTy); in getMinMaxReductionCost()