Lines Matching refs:NumVecElts
5349 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local
5354 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost()
5367 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost()
5372 while (NumVecElts > 1) { in getArithmeticReductionCost()
5374 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost()
5375 NumVecElts /= 2; in getArithmeticReductionCost()
5378 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getArithmeticReductionCost()
5381 NumVecElts, SubTy); in getArithmeticReductionCost()
5515 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local
5526 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost()
5555 while (NumVecElts > 1) { in getMinMaxReductionCost()
5557 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost()
5558 NumVecElts /= 2; in getMinMaxReductionCost()
5561 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getMinMaxReductionCost()
5563 CostKind, NumVecElts, SubTy); in getMinMaxReductionCost()