Home | History | Annotate | Download | only in IR

Lines Matching refs:NumElements

101     unsigned NumElements = ATy->getNumElements();
102 return NumElements == 0 || ATy->getElementType()->isEmptyTy();
107 unsigned NumElements = STy->getNumElements();
108 for (unsigned i = 0; i < NumElements; ++i)
433 unsigned NumElements = Elements.size();
434 Type **Elts = getContext().pImpl->TypeAllocator.Allocate<Type*>(NumElements);
435 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements);
438 NumContainedTys = NumElements;
680 NumElements = NumEl;
683 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) {
689 pImpl->ArrayTypes[std::make_pair(ElementType, NumElements)];
692 Entry = new (pImpl->TypeAllocator) ArrayType(ElementType, NumElements);
707 NumElements = NumEl;
710 VectorType *VectorType::get(Type *elementType, unsigned NumElements) {
712 assert(NumElements > 0 && "#Elements of a VectorType must be greater than 0");
718 ->VectorTypes[std::make_pair(ElementType, NumElements)];
721 Entry = new (pImpl->TypeAllocator) VectorType(ElementType, NumElements);