Searched refs:elementType (Results 1 - 25 of 25) sorted by relevance

/freebsd-10.0-release/sys/netgraph/
H A Dng_parse.h338 const struct ng_parse_type *elementType; member in struct:ng_parse_fixedarray_info
364 const struct ng_parse_type *elementType; member in struct:ng_parse_array_info
H A Dng_parse.c269 return ALIGNMENT(fi->elementType);
316 return ALIGNMENT(ai->elementType);
1573 etype = ai->elementType;
1580 etype = fi->elementType;
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCXXABI.cpp151 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { argument
167 QualType elementType) {
173 return elementType.isDestructedType();
166 requiresArrayCookie(const CXXDeleteExpr *expr, QualType elementType) argument
H A DCGDecl.cpp944 QualType elementType; local
945 llvm::tie(elementCount, elementType) = getVLASize(Ty);
947 llvm::Type *llvmTy = ConvertTypeForMem(elementType);
1470 QualType elementType,
1473 ElementType(elementType), Destroyer(destroyer) {}
1492 QualType elementType,
1495 ElementType(elementType), Destroyer(destroyer) {}
1509 /// \param elementType - the immediate element type of the array;
1513 QualType elementType,
1517 elementType, destroye
1469 RegularPartialArrayDestroy(llvm::Value *arrayBegin, llvm::Value *arrayEnd, QualType elementType, CodeGenFunction::Destroyer *destroyer) argument
1490 IrregularPartialArrayDestroy(llvm::Value *arrayBegin, llvm::Value *arrayEndPointer, QualType elementType, CodeGenFunction::Destroyer *destroyer) argument
1511 pushIrregularPartialArrayCleanup(llvm::Value *arrayBegin, llvm::Value *arrayEndPointer, QualType elementType, Destroyer *destroyer) argument
1526 pushRegularPartialArrayCleanup(llvm::Value *arrayBegin, llvm::Value *arrayEnd, QualType elementType, Destroyer *destroyer) argument
[all...]
H A DCodeGenFunction.cpp1127 QualType elementType = arrayType->getElementType(); local
1128 arrayType = getContext().getAsArrayType(elementType);
1132 baseType = elementType;
1215 QualType elementType; local
1217 elementType = type->getElementType();
1229 } while ((type = getContext().getAsVariableArrayType(elementType)));
1231 return std::pair<llvm::Value*,QualType>(numElements, elementType);
H A DCGExprAgg.cpp96 QualType elementType, InitListExpr *E);
435 QualType elementType, InitListExpr *E) {
441 // DestPtr is an array*. Construct an elementType* by drilling
451 QualType::DestructionKind dtorKind = elementType.isDestructedType();
463 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType,
499 LValue elementLV = CGF.MakeAddrLValue(element, elementType);
519 CGF.getTypes().isZeroInitializable(elementType))) {
545 LValue elementLV = CGF.MakeAddrLValue(currentElement, elementType);
1176 QualType elementType =
1184 EmitArrayInit(Dest.getAddr(), AType, elementType,
434 EmitArrayInit(llvm::Value *DestPtr, llvm::ArrayType *AType, QualType elementType, InitListExpr *E) argument
[all...]
H A DItaniumCXXABI.cpp135 CharUnits getArrayCookieSizeImpl(QualType elementType);
181 CharUnits getArrayCookieSizeImpl(QualType elementType);
892 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { argument
896 CGM.getContext().getTypeAlignInChars(elementType));
954 CharUnits ARMCXXABI::getArrayCookieSizeImpl(QualType elementType) { argument
964 CGM.getContext().getTypeAlignInChars(elementType));
971 QualType elementType) {
983 getContext().getTypeSizeInChars(elementType).getQuantity());
992 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType);
967 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *newPtr, llvm::Value *numElements, const CXXNewExpr *expr, QualType elementType) argument
H A DMicrosoftCXXABI.cpp111 bool requiresArrayCookie(const CXXDeleteExpr *expr, QualType elementType);
359 QualType elementType) {
362 return elementType.isDestructedType();
392 QualType elementType) {
396 CharUnits cookieSize = getArrayCookieSizeImpl(elementType);
358 requiresArrayCookie(const CXXDeleteExpr *expr, QualType elementType) argument
388 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *newPtr, llvm::Value *numElements, const CXXNewExpr *expr, QualType elementType) argument
H A DCGCXXABI.h319 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
H A DCGExprCXX.cpp851 QualType elementType,
866 QualType::DestructionKind dtorKind = elementType.isDestructedType();
881 pushIrregularPartialArrayCleanup(beginPtr, endOfInit, elementType,
891 StoreAnyExprIntoOneUnit(*this, ILE->getInit(i), elementType, explicitPtr);
936 pushRegularPartialArrayCleanup(beginPtr, curPtr, elementType,
1533 QualType elementType) {
1537 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType,
1546 numElements, elementType,
1550 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) {
1559 CGF.emitArrayDestroy(deletedPtr, arrayEnd, elementType,
850 EmitNewArrayInitializer(const CXXNewExpr *E, QualType elementType, llvm::Value *beginPtr, llvm::Value *numElements) argument
1530 EmitArrayDelete(CodeGenFunction &CGF, const CXXDeleteExpr *E, llvm::Value *deletedPtr, QualType elementType) argument
[all...]
H A DCGRecordLayoutBuilder.cpp952 const Type *elementType = T->getBaseElementTypeUnsafe(); local
954 if (const MemberPointerType *MPT = elementType->getAs<MemberPointerType>()) {
957 } else if (const RecordType *RT = elementType->getAs<RecordType>()) {
H A DCGExprScalar.cpp2284 QualType elementType = pointerType->getPointeeType(); local
2286 = CGF.getContext().getAsVariableArrayType(elementType)) {
2307 if (elementType->isVoidType() || elementType->isFunctionType()) {
2471 QualType elementType = expr->getLHS()->getType()->getPointeeType(); local
2477 = CGF.getContext().getAsVariableArrayType(elementType)) {
2479 llvm::tie(numElements, elementType) = CGF.getVLASize(vla);
2484 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType);
2495 if (elementType->isVoidType() || elementType
[all...]
H A DCodeGenFunction.h1368 QualType elementType,
1372 QualType elementType,
1969 void EmitNewArrayInitializer(const CXXNewExpr *E, QualType elementType,
H A DCGObjC.cpp1575 QualType elementType; local
1584 elementType = D->getType();
1591 elementType = cast<Expr>(S.getElement())->getType();
1594 llvm::Type *convertedElementType = ConvertType(elementType);
H A DCodeGenModule.cpp1613 QualType elementType = init->getInit(0)->getType(); local
1615 QualType arrayType = ctx.getConstantArrayType(elementType, numElements,
1653 QualType elementPtr = ctx.getPointerType(elementType.withConst());
1688 ctx.getTypeSizeInChars(elementType) * numInits,
H A DCGClass.cpp1513 QualType elementType; local
1515 emitArrayLength(arrayType, elementType, arrayBegin);
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp204 // ElementRegion (with elementType == PointeeTy) directly on top of
435 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, argument
463 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset,
482 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset,
496 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR,
H A DSimpleSValBuilder.cpp901 QualType elementType; local
908 elementType = elemReg->getElementType();
914 elementType = resultTy->getPointeeType();
918 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV,
H A DMemRegion.cpp876 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, argument
880 QualType T = Ctx.getCanonicalType(elementType).getUnqualifiedType();
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DType.cpp683 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { argument
684 Type *ElementType = const_cast<Type*>(elementType);
710 VectorType *VectorType::get(Type *elementType, unsigned NumElements) { argument
711 Type *ElementType = const_cast<Type*>(elementType);
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h1014 ElementRegion(QualType elementType, NonLoc Idx, const MemRegion* sReg) argument
1016 ElementType(elementType), Index(Idx) {
1022 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType,
1214 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
H A DStore.h102 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base);
/freebsd-10.0-release/contrib/expat/lib/
H A Dxmlparse.c2703 ELEMENT_TYPE *elementType; local
2716 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, tagNamePtr->str,0);
2717 if (!elementType) {
2721 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, name,
2723 if (!elementType)
2725 if (ns && !setElementTypePrefix(parser, elementType))
2728 nDefaultAtts = elementType->nDefaultAtts;
2792 if (attId == elementType->defaultAtts[j].id) {
2793 isCdata = elementType->defaultAtts[j].isCdata;
2839 if (elementType
5400 setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp2467 QualType ASTContext::getDependentSizedArrayType(QualType elementType, argument
2483 DependentSizedArrayType(*this, elementType, QualType(),
2493 SplitQualType canonElementType = getCanonicalType(elementType).split();
2521 if (QualType(canonElementType.Ty, 0) == elementType)
2528 DependentSizedArrayType(*this, elementType, canon, numElements,
2534 QualType ASTContext::getIncompleteArrayType(QualType elementType, argument
2538 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals);
2550 if (!elementType.isCanonical() || elementType.hasLocalQualifiers()) {
2551 SplitQualType canonSplit = getCanonicalType(elementType)
3762 QualType elementType = AT->getElementType(); local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp932 QualType elementType = DeclType->getAs<ComplexType>()->getElementType(); local
938 CheckSubElementType(ElementEntity, IList, elementType, Index,
1079 QualType elementType = VT->getElementType(); local
1138 CheckSubElementType(ElementEntity, IList, elementType, Index,
1157 CheckSubElementType(ElementEntity, IList, elementType, Index,
1166 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts);
1168 VecType = SemaRef.Context.getVectorType(elementType, numIElts,
1238 QualType elementType = arrayType->getElementType(); local
1281 CheckSubElementType(ElementEntity, IList, elementType, Index,
1301 DeclType = SemaRef.Context.getConstantArrayType(elementType, maxElement
[all...]

Completed in 393 milliseconds