Lines Matching refs:NumElements
99 unsigned NumElements = ATy->getNumElements();
100 return NumElements == 0 || ATy->getElementType()->isEmptyTy();
104 unsigned NumElements = STy->getNumElements();
105 for (unsigned i = 0; i < NumElements; ++i)
677 NumElements = NumEl;
680 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) {
685 pImpl->ArrayTypes[std::make_pair(ElementType, NumElements)];
688 Entry = new (pImpl->TypeAllocator) ArrayType(ElementType, NumElements);
704 NumElements = NumEl;
707 VectorType *VectorType::get(Type *ElementType, unsigned NumElements) {
708 assert(NumElements > 0 && "#Elements of a VectorType must be greater than 0");
715 ->VectorTypes[std::make_pair(ElementType, NumElements)];
718 Entry = new (pImpl->TypeAllocator) VectorType(ElementType, NumElements);