Lines Matching refs:NumElements
1836 uint64_t NumElements = EndIndex - BeginIndex; in isVectorPromotionViableForSlice() local
1837 Type *SliceTy = (NumElements == 1) in isVectorPromotionViableForSlice()
1839 : FixedVectorType::get(Ty->getElementType(), NumElements); in isVectorPromotionViableForSlice()
1842 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice()
2199 unsigned NumElements = EndIndex - BeginIndex; in extractVector() local
2200 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); in extractVector()
2202 if (NumElements == VecTy->getNumElements()) in extractVector()
2205 if (NumElements == 1) { in extractVector()
2213 Mask.reserve(NumElements); in extractVector()
2625 unsigned NumElements = EndIndex - BeginIndex; in rewriteVectorizedStoreInst() local
2626 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in rewriteVectorizedStoreInst()
2628 Type *SliceTy = (NumElements == 1) in rewriteVectorizedStoreInst()
2630 : FixedVectorType::get(ElementTy, NumElements); in rewriteVectorizedStoreInst()
2777 Value *getVectorSplat(Value *V, unsigned NumElements) { in getVectorSplat() argument
2778 V = IRB.CreateVectorSplat(NumElements, V, "vsplat"); in getVectorSplat()
2853 unsigned NumElements = EndIndex - BeginIndex; in visitMemSetInst() local
2854 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in visitMemSetInst()
2860 if (NumElements > 1) in visitMemSetInst()
2861 Splat = getVectorSplat(Splat, NumElements); in visitMemSetInst()
3036 unsigned NumElements = EndIndex - BeginIndex; in visitMemTransferInst() local
3044 if (NumElements == 1) in visitMemTransferInst()
3047 OtherTy = FixedVectorType::get(VecTy->getElementType(), NumElements); in visitMemTransferInst()
3711 uint64_t NumElements = Size / ElementSize; in getTypePartition() local
3712 if (NumElements * ElementSize != Size) in getTypePartition()
3714 return ArrayType::get(ElementTy, NumElements); in getTypePartition()