Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td13 def : Property<"elementType", QualType> {
17 def : Creator<[{ return ctx.getComplexType(elementType); }]>;
94 def : Property<"elementType", QualType> {
122 return ctx.getIncompleteArrayType(elementType, sizeModifier,
166 def : Property<"elementType", QualType> {
182 def : Property<"elementType", QualType> {
207 return ctx.getExtVectorType(elementType, numElements);
212 def : Property<"elementType", QualType> {
228 def : Property<"elementType", QualType> {
873 def : Property<"elementType", QualType> {
[all …]
/freebsd-13.1/sys/netgraph/
H A Dng_parse.h337 const struct ng_parse_type *elementType; member
363 const struct ng_parse_type *elementType; member
H A Dng_parse.c268 return ALIGNMENT(fi->elementType); in ng_fixedarray_getAlign()
315 return ALIGNMENT(ai->elementType); in ng_array_getAlign()
1574 etype = ai->elementType; in ng_get_composite_etype()
1581 etype = fi->elementType; in ng_get_composite_etype()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.cpp79 } else if (auto elementType = getArrayElementType()) { in emitCXXValueTypeName() local
81 elementType.emitCXXValueTypeName(forRead, out); in emitCXXValueTypeName()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp443 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, in getLValueElement() argument
472 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement()
492 elementType, Offset, cast<SubRegion>(ElemR->getSuperRegion()), Ctx)); in getLValueElement()
504 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR, in getLValueElement()
H A DSimpleSValBuilder.cpp1060 QualType elementType; in evalBinOpLN() local
1067 elementType = elemReg->getElementType(); in evalBinOpLN()
1078 elementType = resultTy->getPointeeType(); in evalBinOpLN()
1084 if (elementType->isVoidType()) in evalBinOpLN()
1085 elementType = getContext().CharTy; in evalBinOpLN()
1088 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV, in evalBinOpLN()
H A DMemRegion.cpp1096 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, in getElementRegion() argument
1099 QualType T = Ctx.getCanonicalType(elementType).getUnqualifiedType(); in getElementRegion()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DType.cpp882 QualType elementType = recurse(T->getElementType()); in TRIVIAL_TYPE_CLASS() local
883 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
889 return Ctx.getComplexType(elementType); in TRIVIAL_TYPE_CLASS()
950 QualType elementType = recurse(T->getElementType()); in VisitConstantArrayType() local
951 if (elementType.isNull()) in VisitConstantArrayType()
963 QualType elementType = recurse(T->getElementType()); in VisitVariableArrayType() local
964 if (elementType.isNull()) in VisitVariableArrayType()
978 if (elementType.isNull()) in VisitIncompleteArrayType()
990 if (elementType.isNull()) in VisitVectorType()
1002 if (elementType.isNull()) in VisitExtVectorType()
[all …]
H A DASTContext.cpp3651 QualType ASTContext::getDependentSizedArrayType(QualType elementType, in getDependentSizedArrayType() argument
3667 DependentSizedArrayType(*this, elementType, QualType(), in getDependentSizedArrayType()
3705 if (QualType(canonElementType.Ty, 0) == elementType && in getDependentSizedArrayType()
3713 DependentSizedArrayType(*this, elementType, canon, numElements, in getDependentSizedArrayType()
3719 QualType ASTContext::getIncompleteArrayType(QualType elementType, in getIncompleteArrayType() argument
3723 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals); in getIncompleteArrayType()
3735 if (!elementType.isCanonical() || elementType.hasLocalQualifiers()) { in getIncompleteArrayType()
3736 SplitQualType canonSplit = getCanonicalType(elementType).split(); in getIncompleteArrayType()
3748 IncompleteArrayType(elementType, canon, ASM, elementTypeQuals); in getIncompleteArrayType()
5745 QualType elementType = AT->getElementType(); in getUnqualifiedArrayType() local
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp250 llvm::Type *elementType = element->getType(); in getOffsetFromGlobalTo() local
253 layout.getABITypeAlignment(elementType))); in getOffsetFromGlobalTo()
254 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType)); in getOffsetFromGlobalTo()
H A DCGCXXABI.cpp170 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
186 QualType elementType) { in requiresArrayCookie() argument
192 return elementType.isDestructedType(); in requiresArrayCookie()
H A DCGExprAgg.cpp480 QualType elementType = in EmitArrayInit() local
491 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit()
500 elementType.isTriviallyCopyableType(CGF.getContext())) { in EmitArrayInit()
522 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit()
534 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType, in EmitArrayInit()
567 CGF.MakeAddrLValue(Address(element, elementAlign), elementType); in EmitArrayInit()
580 CGF.getTypes().isZeroInitializable(elementType))) { in EmitArrayInit()
1796 QualType elementType = in VisitArrayInitLoopExpr() local
1814 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in VisitArrayInitLoopExpr()
1819 CGF.pushRegularPartialArrayCleanup(outerBegin, element, elementType, in VisitArrayInitLoopExpr()
[all …]
H A DCGDecl.cpp2222 QualType elementType, in emitArrayDestroy() argument
2227 assert(!elementType->isArrayType()); in emitArrayDestroy()
2254 pushRegularPartialArrayCleanup(begin, element, elementType, elementAlign, in emitArrayDestroy()
2258 destroyer(*this, Address(element, elementAlign), elementType); in emitArrayDestroy()
2317 QualType elementType, CharUnits elementAlign, in RegularPartialArrayDestroy() argument
2320 ElementType(elementType), Destroyer(destroyer), in RegularPartialArrayDestroy()
2341 QualType elementType, in IrregularPartialArrayDestroy() argument
2345 ElementType(elementType), Destroyer(destroyer), in IrregularPartialArrayDestroy()
2364 QualType elementType, in pushIrregularPartialArrayCleanup() argument
2381 QualType elementType, in pushRegularPartialArrayCleanup() argument
[all …]
H A DCodeGenFunction.cpp2005 QualType elementType = arrayType->getElementType(); in emitArrayLength() local
2006 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
2010 baseType = elementType; in emitArrayLength()
2092 QualType elementType; in getVLASize() local
2094 elementType = type->getElementType(); in getVLASize()
2106 } while ((type = getContext().getAsVariableArrayType(elementType))); in getVLASize()
2108 return { numElements, elementType }; in getVLASize()
H A DCGExprCXX.cpp2020 QualType elementType) { in EmitArrayDelete() argument
2024 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete()
2033 numElements, elementType, in EmitArrayDelete()
2037 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete()
2040 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete()
2051 CGF.emitArrayDestroy(arrayBegin, arrayEnd, elementType, elementAlign, in EmitArrayDelete()
H A DCGExprScalar.cpp3454 QualType elementType = pointerType->getPointeeType(); in emitPointerArithmetic() local
3456 = CGF.getContext().getAsVariableArrayType(elementType)) { in emitPointerArithmetic()
3481 if (elementType->isVoidType() || elementType->isFunctionType()) { in emitPointerArithmetic()
3790 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub() local
3796 = CGF.getContext().getAsVariableArrayType(elementType)) { in EmitSub()
3798 elementType = VlaSize.Type; in EmitSub()
3802 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
3813 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub()
3816 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
H A DItaniumCXXABI.cpp312 CharUnits getArrayCookieSizeImpl(QualType elementType) override;
485 CharUnits getArrayCookieSizeImpl(QualType elementType) override;
2191 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
2195 CGM.getContext().getPreferredTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
2270 CharUnits ARMCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
2280 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
2287 QualType elementType) { in InitializeArrayCookie() argument
2296 getContext().getTypeSizeInChars(elementType).getQuantity()); in InitializeArrayCookie()
2305 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
H A DCGClass.cpp1918 QualType elementType; in EmitCXXAggrConstructorCall() local
1920 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
1964 llvm::Type *elementType = arrayBase.getElementType(); in EmitCXXAggrConstructorCall() local
1967 elementType, arrayBegin, numElements, "arrayctor.end"); in EmitCXXAggrConstructorCall()
2026 elementType, cur, llvm::ConstantInt::get(SizeTy, 1), "arrayctor.next"); in EmitCXXAggrConstructorCall()
H A DCGCXXABI.h559 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
H A DCGObjC.cpp1877 QualType elementType; in EmitObjCForCollectionStmt() local
1886 elementType = D->getType(); in EmitObjCForCollectionStmt()
1893 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
1896 llvm::Type *convertedElementType = ConvertType(elementType); in EmitObjCForCollectionStmt()
1920 elementType->getAsObjCInterfacePointerType(); in EmitObjCForCollectionStmt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h1147 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) in ElementRegion() argument
1148 : TypedValueRegion(sReg, ElementRegionKind), ElementType(elementType), in ElementRegion()
1153 assert(!elementType.isNull() && !elementType->isVoidType() && in ElementRegion()
1157 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType,
1404 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
H A DStore.h149 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base);
/freebsd-13.1/sys/dev/mpr/
H A Dmpr_sas_lsi.c283 u16 elementType; in mprsas_fw_work() local
300 elementType = le16toh(element->ElementFlags) & in mprsas_fw_work()
305 if ((elementType != in mprsas_fw_work()
307 && (elementType != in mprsas_fw_work()
/freebsd-13.1/contrib/expat/lib/
H A Dxmlparse.c3245 ELEMENT_TYPE *elementType; in storeAtts() local
3258 elementType in storeAtts()
3260 if (! elementType) { in storeAtts()
3266 if (! elementType) in storeAtts()
3271 nDefaultAtts = elementType->nDefaultAtts; in storeAtts()
3424 if (elementType->idAtt && (elementType->idAtt->name)[-1]) { in storeAtts()
3426 if (appAtts[i] == elementType->idAtt->name) { in storeAtts()
3637 if (elementType->prefix) { in storeAtts()
3638 binding = elementType->prefix->binding; in storeAtts()
6425 for (name = elementType->name; *name; name++) { in setElementTypePrefix()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp1543 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckComplexType()
1689 QualType elementType = VT->getElementType(); in CheckVectorType() local
1744 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1769 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType()
1771 if (elementType->isFloatingType()) in CheckVectorType()
1773 else if (elementType->isSignedIntegerType()) in CheckVectorType()
1775 else if (elementType->isUnsignedIntegerType()) in CheckVectorType()
1803 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1919 QualType elementType = arrayType->getElementType(); in CheckArrayType() local
1962 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckArrayType()
[all …]

12