Lines Matching refs:NumElements
772 unsigned NumElements = AType->getNumElements();
776 unsigned NumInitableElts = std::min(NumInitElements, NumElements);
794 Elts.reserve(NumInitableElts + NumElements);
807 Elts.resize(NumElements, fillC);
812 Types.reserve(NumInitableElts + NumElements);
850 unsigned NumElements = AType->getNumElements();
853 Elts.reserve(NumElements);
857 for (unsigned i = 0; i != NumElements; ++i)
861 for (unsigned i = 0; i != NumElements; ++i)
872 for (unsigned i = 0; i != NumElements; ++i) {
893 Types.reserve(NumElements);
894 for (unsigned i = 0; i != NumElements; ++i)
1389 unsigned NumElements = Value.getArraySize();
1405 llvm::ArrayType::get(CommonElementType, NumElements);
1410 Elts.reserve(NumElements);
1411 for (unsigned I = 0; I < NumElements; ++I) {
1428 Types.reserve(NumElements);
1436 llvm::ArrayType::get(CommonElementType, NumElements);
1491 unsigned numElements = structure->getNumElements();
1492 std::vector<llvm::Constant *> elements(numElements);
1555 for (unsigned i = 0; i != numElements; ++i) {
1588 unsigned NumElements = CAT->getSize().getZExtValue();
1589 SmallVector<llvm::Constant *, 8> Array(NumElements, Element);