Lines Matching refs:NumElements
2088 uint64_t NumElements = EndIndex - BeginIndex; in isVectorPromotionViableForSlice() local
2089 Type *SliceTy = (NumElements == 1) in isVectorPromotionViableForSlice()
2091 : FixedVectorType::get(Ty->getElementType(), NumElements); in isVectorPromotionViableForSlice()
2094 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice()
2580 unsigned NumElements = EndIndex - BeginIndex; in extractVector() local
2581 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); in extractVector()
2583 if (NumElements == VecTy->getNumElements()) in extractVector()
2586 if (NumElements == 1) { in extractVector()
3017 unsigned NumElements = EndIndex - BeginIndex; in rewriteVectorizedStoreInst() local
3018 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in rewriteVectorizedStoreInst()
3020 Type *SliceTy = (NumElements == 1) in rewriteVectorizedStoreInst()
3022 : FixedVectorType::get(ElementTy, NumElements); in rewriteVectorizedStoreInst()
3168 Value *getVectorSplat(Value *V, unsigned NumElements) { in getVectorSplat() argument
3169 V = IRB.CreateVectorSplat(NumElements, V, "vsplat"); in getVectorSplat()
3252 unsigned NumElements = EndIndex - BeginIndex; in visitMemSetInst() local
3253 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in visitMemSetInst()
3259 if (NumElements > 1) in visitMemSetInst()
3260 Splat = getVectorSplat(Splat, NumElements); in visitMemSetInst()
3457 unsigned NumElements = EndIndex - BeginIndex; in visitMemTransferInst() local
3465 if (NumElements == 1) in visitMemTransferInst()
3468 OtherTy = FixedVectorType::get(VecTy->getElementType(), NumElements); in visitMemTransferInst()
4171 uint64_t NumElements = Size / ElementSize; in getTypePartition() local
4172 if (NumElements * ElementSize != Size) in getTypePartition()
4174 return ArrayType::get(ElementTy, NumElements); in getTypePartition()