Lines Matching refs:NumElements

1804   uint64_t NumElements = EndIndex - BeginIndex;  in isVectorPromotionViableForSlice()  local
1805 Type *SliceTy = (NumElements == 1) in isVectorPromotionViableForSlice()
1807 : FixedVectorType::get(Ty->getElementType(), NumElements); in isVectorPromotionViableForSlice()
1810 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice()
2176 unsigned NumElements = EndIndex - BeginIndex; in extractVector() local
2177 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); in extractVector()
2179 if (NumElements == VecTy->getNumElements()) in extractVector()
2182 if (NumElements == 1) { in extractVector()
2598 unsigned NumElements = EndIndex - BeginIndex; in rewriteVectorizedStoreInst() local
2599 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in rewriteVectorizedStoreInst()
2601 Type *SliceTy = (NumElements == 1) in rewriteVectorizedStoreInst()
2603 : FixedVectorType::get(ElementTy, NumElements); in rewriteVectorizedStoreInst()
2749 Value *getVectorSplat(Value *V, unsigned NumElements) { in getVectorSplat() argument
2750 V = IRB.CreateVectorSplat(NumElements, V, "vsplat"); in getVectorSplat()
2824 unsigned NumElements = EndIndex - BeginIndex; in visitMemSetInst() local
2825 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in visitMemSetInst()
2831 if (NumElements > 1) in visitMemSetInst()
2832 Splat = getVectorSplat(Splat, NumElements); in visitMemSetInst()
3006 unsigned NumElements = EndIndex - BeginIndex; in visitMemTransferInst() local
3014 if (NumElements == 1) in visitMemTransferInst()
3017 OtherTy = FixedVectorType::get(VecTy->getElementType(), NumElements); in visitMemTransferInst()
3675 uint64_t NumElements = Size / ElementSize; in getTypePartition() local
3676 if (NumElements * ElementSize != Size) in getTypePartition()
3678 return ArrayType::get(ElementTy, NumElements); in getTypePartition()