Home
last modified time | relevance | path

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

/NextBSD/sys/netgraph/
HDng_parse.h338 const struct ng_parse_type *elementType; member
364 const struct ng_parse_type *elementType; member
HDng_parse.c269 return ALIGNMENT(fi->elementType); in ng_fixedarray_getAlign()
316 return ALIGNMENT(ai->elementType); in ng_array_getAlign()
1573 etype = ai->elementType; in ng_get_composite_etype()
1580 etype = fi->elementType; in ng_get_composite_etype()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDType.cpp662 QualType elementType = recurse(T->getElementType()); in TRIVIAL_TYPE_CLASS() local
663 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
666 if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr()) in TRIVIAL_TYPE_CLASS()
669 return Ctx.getComplexType(elementType); in TRIVIAL_TYPE_CLASS()
730 QualType elementType = recurse(T->getElementType()); in VisitConstantArrayType() local
731 if (elementType.isNull()) in VisitConstantArrayType()
734 if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr()) in VisitConstantArrayType()
737 return Ctx.getConstantArrayType(elementType, T->getSize(), in VisitConstantArrayType()
743 QualType elementType = recurse(T->getElementType()); in VisitVariableArrayType() local
744 if (elementType.isNull()) in VisitVariableArrayType()
[all …]
HDASTContext.cpp2710 QualType ASTContext::getDependentSizedArrayType(QualType elementType, in getDependentSizedArrayType() argument
2726 DependentSizedArrayType(*this, elementType, QualType(), in getDependentSizedArrayType()
2736 SplitQualType canonElementType = getCanonicalType(elementType).split(); in getDependentSizedArrayType()
2764 if (QualType(canonElementType.Ty, 0) == elementType) in getDependentSizedArrayType()
2771 DependentSizedArrayType(*this, elementType, canon, numElements, in getDependentSizedArrayType()
2777 QualType ASTContext::getIncompleteArrayType(QualType elementType, in getIncompleteArrayType() argument
2781 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals); in getIncompleteArrayType()
2793 if (!elementType.isCanonical() || elementType.hasLocalQualifiers()) { in getIncompleteArrayType()
2794 SplitQualType canonSplit = getCanonicalType(elementType).split(); in getIncompleteArrayType()
2806 IncompleteArrayType(elementType, canon, ASM, elementTypeQuals); in getIncompleteArrayType()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDStore.cpp427 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, in getLValueElement() argument
455 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement()
474 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement()
488 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR, in getLValueElement()
HDSimpleSValBuilder.cpp904 QualType elementType; in evalBinOpLN() local
911 elementType = elemReg->getElementType(); in evalBinOpLN()
917 elementType = resultTy->getPointeeType(); in evalBinOpLN()
921 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV, in evalBinOpLN()
HDMemRegion.cpp906 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, in getElementRegion() argument
910 QualType T = Ctx.getCanonicalType(elementType).getUnqualifiedType(); in getElementRegion()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGCXXABI.cpp184 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
200 QualType elementType) { in requiresArrayCookie() argument
206 return elementType.isDestructedType(); in requiresArrayCookie()
HDCGDecl.cpp1003 QualType elementType; in EmitAutoVarAlloca() local
1004 std::tie(elementCount, elementType) = getVLASize(Ty); in EmitAutoVarAlloca()
1006 llvm::Type *llvmTy = ConvertTypeForMem(elementType); in EmitAutoVarAlloca()
1557 QualType elementType, in RegularPartialArrayDestroy() argument
1560 ElementType(elementType), Destroyer(destroyer) {} in RegularPartialArrayDestroy()
1579 QualType elementType, in IrregularPartialArrayDestroy() argument
1582 ElementType(elementType), Destroyer(destroyer) {} in IrregularPartialArrayDestroy()
1600 QualType elementType, in pushIrregularPartialArrayCleanup() argument
1604 elementType, destroyer); in pushIrregularPartialArrayCleanup()
1615 QualType elementType, in pushRegularPartialArrayCleanup() argument
[all …]
HDCGExprAgg.cpp88 QualType elementType, InitListExpr *E);
406 QualType elementType, InitListExpr *E) { in EmitArrayInit() argument
422 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit()
434 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType, in EmitArrayInit()
464 LValue elementLV = CGF.MakeAddrLValue(element, elementType); in EmitArrayInit()
477 CGF.getTypes().isZeroInitializable(elementType))) { in EmitArrayInit()
503 LValue elementLV = CGF.MakeAddrLValue(currentElement, elementType); in EmitArrayInit()
1146 QualType elementType = in VisitInitListExpr() local
1154 EmitArrayInit(Dest.getAddr(), AType, elementType, E); in VisitInitListExpr()
HDCodeGenFunction.cpp1406 QualType elementType = arrayType->getElementType(); in emitArrayLength() local
1407 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
1411 baseType = elementType; in emitArrayLength()
1494 QualType elementType; in getVLASize() local
1496 elementType = type->getElementType(); in getVLASize()
1508 } while ((type = getContext().getAsVariableArrayType(elementType))); in getVLASize()
1510 return std::pair<llvm::Value*,QualType>(numElements, elementType); in getVLASize()
HDCGExprScalar.cpp2490 QualType elementType = pointerType->getPointeeType(); in emitPointerArithmetic() local
2492 = CGF.getContext().getAsVariableArrayType(elementType)) { in emitPointerArithmetic()
2513 if (elementType->isVoidType() || elementType->isFunctionType()) { in emitPointerArithmetic()
2678 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub() local
2684 = CGF.getContext().getAsVariableArrayType(elementType)) { in EmitSub()
2686 std::tie(numElements, elementType) = CGF.getVLASize(vla); in EmitSub()
2691 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
2702 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub()
2705 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
HDItaniumCXXABI.cpp242 CharUnits getArrayCookieSizeImpl(QualType elementType) override;
322 CharUnits getArrayCookieSizeImpl(QualType elementType) override;
1561 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
1565 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
1644 CharUnits ARMCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
1654 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
1661 QualType elementType) { in InitializeArrayCookie() argument
1673 getContext().getTypeSizeInChars(elementType).getQuantity()); in InitializeArrayCookie()
1682 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
HDCGExprCXX.cpp1574 QualType elementType) { in EmitArrayDelete() argument
1578 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete()
1587 numElements, elementType, in EmitArrayDelete()
1591 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete()
1600 CGF.emitArrayDestroy(deletedPtr, arrayEnd, elementType, in EmitArrayDelete()
HDCGCXXABI.h463 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
HDCGObjC.cpp1602 QualType elementType; in EmitObjCForCollectionStmt() local
1611 elementType = D->getType(); in EmitObjCForCollectionStmt()
1618 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
1621 llvm::Type *convertedElementType = ConvertType(elementType); in EmitObjCForCollectionStmt()
HDCodeGenFunction.h1128 QualType elementType,
1132 QualType elementType,
1780 void EmitNewArrayInitializer(const CXXNewExpr *E, QualType elementType,
HDMicrosoftCXXABI.cpp360 QualType elementType) override;
2050 QualType elementType) { in requiresArrayCookie() argument
2053 return elementType.isDestructedType(); in requiresArrayCookie()
2083 QualType elementType) { in InitializeArrayCookie() argument
2087 CharUnits cookieSize = getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
HDCGClass.cpp1659 QualType elementType; in EmitCXXAggrConstructorCall() local
1661 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
/NextBSD/contrib/llvm/lib/IR/
HDType.cpp686 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { in get() argument
687 Type *ElementType = const_cast<Type*>(elementType); in get()
713 VectorType *VectorType::get(Type *elementType, unsigned NumElements) { in get() argument
714 Type *ElementType = const_cast<Type*>(elementType); in get()
/NextBSD/contrib/expat/lib/
HDxmlparse.c2722 ELEMENT_TYPE *elementType; in storeAtts() local
2735 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, tagNamePtr->str,0); in storeAtts()
2736 if (!elementType) { in storeAtts()
2740 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, name, in storeAtts()
2742 if (!elementType) in storeAtts()
2744 if (ns && !setElementTypePrefix(parser, elementType)) in storeAtts()
2747 nDefaultAtts = elementType->nDefaultAtts; in storeAtts()
2811 if (attId == elementType->defaultAtts[j].id) { in storeAtts()
2812 isCdata = elementType->defaultAtts[j].isCdata; in storeAtts()
2858 if (elementType->idAtt && (elementType->idAtt->name)[-1]) { in storeAtts()
[all …]
/NextBSD/sys/dev/mpr/
HDmpr_sas_lsi.c278 u16 elementType; in mprsas_fw_work() local
295 elementType = le16toh(element->ElementFlags) & in mprsas_fw_work()
300 if ((elementType != in mprsas_fw_work()
302 && (elementType != in mprsas_fw_work()
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDMemRegion.h1014 ElementRegion(QualType elementType, NonLoc Idx, const MemRegion* sReg) in ElementRegion() argument
1016 ElementType(elementType), Index(Idx) { in ElementRegion()
1022 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType,
1215 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
HDStore.h102 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base);
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaInit.cpp1208 QualType elementType = DeclType->getAs<ComplexType>()->getElementType(); in CheckComplexType() local
1214 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckComplexType()
1355 QualType elementType = VT->getElementType(); in CheckVectorType() local
1414 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1439 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType()
1441 if (elementType->isFloatingType()) in CheckVectorType()
1443 else if (elementType->isSignedIntegerType()) in CheckVectorType()
1445 else if (elementType->isUnsignedIntegerType()) in CheckVectorType()
1473 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1482 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
[all …]