Searched refs:numElts (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/CodeGen/ |
D | SwiftCallingConv.cpp | 237 auto numElts = split.second; in addLegalTypedData() local 239 auto eltSize = (end - begin) / numElts; in addLegalTypedData() 241 for (size_t i = 0, e = numElts; i != e; ++i) { in addLegalTypedData() 386 auto numElts = split.second; in splitVectorEntry() local 387 Entries.insert(&Entries[index + 1], numElts - 1, StorageEntry()); in splitVectorEntry() 390 for (unsigned i = 0; i != numElts; ++i) { in splitVectorEntry() 639 llvm::Type *eltTy, unsigned numElts) { in isLegalVectorType() argument 640 assert(numElts > 1 && "illegal vector length"); in isLegalVectorType() 642 .isLegalVectorTypeForSwift(vectorSize, eltTy, numElts); in isLegalVectorType() 648 auto numElts = vectorTy->getNumElements(); in splitLegalVectorType() local [all …]
|
D | CGExprScalar.cpp | 1719 llvm::Value *numElts = CGF.getVLASize(vla).first; in EmitScalarPrePostIncDec() local 1720 if (!isInc) numElts = Builder.CreateNSWNeg(numElts, "vla.negsize"); in EmitScalarPrePostIncDec() 1722 value = Builder.CreateGEP(value, numElts, "vla.inc"); in EmitScalarPrePostIncDec() 1724 value = Builder.CreateInBoundsGEP(value, numElts, "vla.inc"); in EmitScalarPrePostIncDec() 2010 llvm::Value *numElts; in VisitUnaryExprOrTypeTraitExpr() local 2011 std::tie(numElts, eltType) = CGF.getVLASize(VAT); in VisitUnaryExprOrTypeTraitExpr() 2013 llvm::Value *size = numElts; in VisitUnaryExprOrTypeTraitExpr() 2018 size = CGF.Builder.CreateNUWMul(CGF.CGM.getSize(eltSize), numElts); in VisitUnaryExprOrTypeTraitExpr()
|
D | CodeGenFunction.cpp | 1465 llvm::Value *numElts; in EmitNullInitialization() local 1466 std::tie(numElts, eltType) = getVLASize(vlaType); in EmitNullInitialization() 1468 SizeVal = numElts; in EmitNullInitialization()
|
D | CGObjCMac.cpp | 4779 uint64_t numElts = 1; in visitField() local 4781 numElts *= arrayType->getSize().getZExtValue(); in visitField() 4789 if (numElts == 0) return; in visitField() 4799 if (numElts != 1 && numEltEntries != 0) { in visitField() 4801 for (uint64_t eltIndex = 1; eltIndex != numElts; ++eltIndex) { in visitField() 4823 IvarsInfo.push_back(IvarInfo(fieldOffset, numElts)); in visitField()
|
D | TargetInfo.cpp | 131 unsigned numElts) const { in isLegalVectorTypeForSwift()
|
/external/clang/include/clang/CodeGen/ |
D | SwiftCallingConv.h | 135 llvm::Type *eltTy, unsigned numElts);
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 6488 unsigned numElts = static_cast<unsigned>(numEltsInt.getZExtValue()); in HandleNeonVectorTypeAttr() local 6489 unsigned vecSize = typeSize * numElts; in HandleNeonVectorTypeAttr() 6496 CurType = S.Context.getVectorType(CurType, numElts, VecKind); in HandleNeonVectorTypeAttr()
|