Home | History | Annotate | Download | only in Scalar

Lines Matching full:numelements

1951   uint64_t NumElements = EndIndex - BeginIndex;
1952 Type *SliceTy = (NumElements == 1)
1954 : VectorType::get(Ty->getElementType(), NumElements);
1957 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8);
2289 unsigned NumElements = EndIndex - BeginIndex;
2290 assert(NumElements <= VecTy->getNumElements() && "Too many elements!");
2292 if (NumElements == VecTy->getNumElements())
2295 if (NumElements == 1) {
2303 Mask.reserve(NumElements);
2643 unsigned NumElements = EndIndex - BeginIndex;
2644 assert(NumElements <= VecTy->getNumElements() && "Too many elements!");
2645 Type *SliceTy = (NumElements == 1)
2647 : VectorType::get(ElementTy, NumElements);
2760 Value *getVectorSplat(Value *V, unsigned NumElements) {
2761 V = IRB.CreateVectorSplat(NumElements, V, "vsplat");
2821 unsigned NumElements = EndIndex - BeginIndex;
2822 assert(NumElements <= VecTy->getNumElements() && "Too many elements!");
2827 if (NumElements > 1)
2828 Splat = getVectorSplat(Splat, NumElements);
2980 unsigned NumElements = EndIndex - BeginIndex;
2987 if (NumElements == 1)
2990 OtherPtrTy = VectorType::get(VecTy->getElementType(), NumElements);
3412 uint64_t NumElements = Size / ElementSize;
3413 if (NumElements * ElementSize != Size)
3415 return ArrayType::get(ElementTy, NumElements);