Home | History | Annotate | Download | only in Scalar

Lines Matching refs:NumElements

1742   uint64_t NumElements = EndIndex - BeginIndex;
1743 Type *SliceTy = (NumElements == 1)
1745 : VectorType::get(Ty->getElementType(), NumElements);
1748 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8);
2085 unsigned NumElements = EndIndex - BeginIndex;
2086 assert(NumElements <= VecTy->getNumElements() && "Too many elements!");
2088 if (NumElements == VecTy->getNumElements())
2091 if (NumElements
2099 Mask.reserve(NumElements);
2472 unsigned NumElements = EndIndex - BeginIndex;
2473 assert(NumElements <= VecTy->getNumElements() && "Too many elements!");
2474 Type *SliceTy = (NumElements == 1)
2476 : VectorType::get(ElementTy, NumElements);
2605 Value *getVectorSplat(Value *V, unsigned NumElements) {
2606 V = IRB.CreateVectorSplat(NumElements, V, "vsplat");
2666 unsigned NumElements = EndIndex - BeginIndex;
2667 assert(NumElements <= VecTy->getNumElements() && "Too many elements!");
2672 if (NumElements > 1)
2673 Splat = getVectorSplat(Splat, NumElements);
2825 unsigned NumElements = EndIndex - BeginIndex;
2832 if (NumElements == 1)
2835 OtherPtrTy = VectorType::get(VecTy->getElementType(), NumElements);
3252 uint64_t NumElements = Size / ElementSize;
3253 if (NumElements * ElementSize != Size)
3255 return ArrayType::get(ElementTy, NumElements);