Lines Matching refs:NumVecElts
3923 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local
3928 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost()
3941 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost()
3946 while (NumVecElts > 1) { in getArithmeticReductionCost()
3948 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost()
3949 NumVecElts /= 2; in getArithmeticReductionCost()
3952 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getArithmeticReductionCost()
3954 getShuffleCost(TTI::SK_ExtractSubvector, Ty, None, NumVecElts, SubTy); in getArithmeticReductionCost()
4206 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local
4219 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost()
4248 while (NumVecElts > 1) { in getMinMaxReductionCost()
4250 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost()
4251 NumVecElts /= 2; in getMinMaxReductionCost()
4254 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getMinMaxReductionCost()
4256 getShuffleCost(TTI::SK_ExtractSubvector, Ty, None, NumVecElts, SubTy); in getMinMaxReductionCost()