Lines Matching refs:NumElements

2040   uint64_t NumElements = EndIndex - BeginIndex;  in isVectorPromotionViableForSlice()  local
2041 Type *SliceTy = (NumElements == 1) in isVectorPromotionViableForSlice()
2043 : FixedVectorType::get(Ty->getElementType(), NumElements); in isVectorPromotionViableForSlice()
2046 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice()
2531 unsigned NumElements = EndIndex - BeginIndex; in extractVector() local
2532 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); in extractVector()
2534 if (NumElements == VecTy->getNumElements()) in extractVector()
2537 if (NumElements == 1) { in extractVector()
2977 unsigned NumElements = EndIndex - BeginIndex; in rewriteVectorizedStoreInst() local
2978 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in rewriteVectorizedStoreInst()
2980 Type *SliceTy = (NumElements == 1) in rewriteVectorizedStoreInst()
2982 : FixedVectorType::get(ElementTy, NumElements); in rewriteVectorizedStoreInst()
3131 Value *getVectorSplat(Value *V, unsigned NumElements) { in getVectorSplat() argument
3132 V = IRB.CreateVectorSplat(NumElements, V, "vsplat"); in getVectorSplat()
3216 unsigned NumElements = EndIndex - BeginIndex; in visitMemSetInst() local
3217 assert(NumElements <= cast<FixedVectorType>(VecTy)->getNumElements() && in visitMemSetInst()
3223 if (NumElements > 1) in visitMemSetInst()
3224 Splat = getVectorSplat(Splat, NumElements); in visitMemSetInst()
3422 unsigned NumElements = EndIndex - BeginIndex; in visitMemTransferInst() local
3430 if (NumElements == 1) in visitMemTransferInst()
3433 OtherTy = FixedVectorType::get(VecTy->getElementType(), NumElements); in visitMemTransferInst()
4212 uint64_t NumElements = Size / ElementSize; in getTypePartition() local
4213 if (NumElements * ElementSize != Size) in getTypePartition()
4215 return ArrayType::get(ElementTy, NumElements); in getTypePartition()