/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TypeProperties.td | 13 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> { 921 def : Property<"elementType", QualType> { [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | Store.cpp | 443 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, in getLValueElement() argument 450 if (!BT.isNull() && !elementType.isNull()) { in getLValueElement() 453 PointeeTy.getCanonicalType() == elementType.getCanonicalType()) in getLValueElement() 485 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement() 505 elementType, Offset, cast<SubRegion>(ElemR->getSuperRegion()), Ctx)); in getLValueElement() 517 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR, in getLValueElement()
|
H A D | SimpleSValBuilder.cpp | 1162 QualType elementType; in evalBinOpLN() local 1169 elementType = elemReg->getElementType(); in evalBinOpLN() 1180 elementType = resultTy->getPointeeType(); in evalBinOpLN() 1186 if (elementType->isVoidType()) in evalBinOpLN() 1187 elementType = getContext().CharTy; in evalBinOpLN() 1190 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV, in evalBinOpLN()
|
H A D | MemRegion.cpp | 1151 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, in getElementRegion() argument 1154 QualType T = Ctx.getCanonicalType(elementType).getUnqualifiedType(); in getElementRegion()
|
/freebsd/sys/netgraph/ |
H A D | ng_parse.h | 336 const struct ng_parse_type *elementType; member 362 const struct ng_parse_type *elementType; member
|
H A D | ng_parse.c | 267 return ALIGNMENT(fi->elementType); in ng_fixedarray_getAlign() 314 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()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ASTTableGen.cpp | 80 } else if (auto elementType = getArrayElementType()) { in emitCXXValueTypeName() local 82 elementType.emitCXXValueTypeName(forRead, out); in emitCXXValueTypeName()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | Address.h | 124 ConstantAddress(llvm::Constant *pointer, llvm::Type *elementType, in ConstantAddress() argument 126 : Address(pointer, elementType, alignment) {} in ConstantAddress()
|
H A D | ConstantInitBuilder.cpp | 249 llvm::Type *elementType = element->getType(); in getOffsetFromGlobalTo() local 252 CharUnits::fromQuantity(layout.getABITypeAlign(elementType))); in getOffsetFromGlobalTo() 253 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType)); in getOffsetFromGlobalTo()
|
H A D | CGExprAgg.cpp | 505 QualType elementType = in EmitArrayInit() local 519 llvm::Type *llvmElementType = CGF.ConvertTypeForMem(elementType); in EmitArrayInit() 525 elementType.isTriviallyCopyableType(CGF.getContext())) { in EmitArrayInit() 549 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit() 561 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType, in EmitArrayInit() 594 Address(element, llvmElementType, elementAlign), elementType); in EmitArrayInit() 606 CGF.getTypes().isZeroInitializable(elementType))) { in EmitArrayInit() 1846 QualType elementType = in VisitArrayInitLoopExpr() local 1851 llvm::Type *llvmElementType = CGF.ConvertTypeForMem(elementType); in VisitArrayInitLoopExpr() 1865 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in VisitArrayInitLoopExpr() [all …]
|
H A D | CGCXXABI.cpp | 211 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument 227 QualType elementType) { in requiresArrayCookie() argument 233 return elementType.isDestructedType(); in requiresArrayCookie()
|
H A D | CGDecl.cpp | 2304 QualType elementType, in emitArrayDestroy() argument 2309 assert(!elementType->isArrayType()); in emitArrayDestroy() 2331 llvm::Type *llvmElementType = ConvertTypeForMem(elementType); in emitArrayDestroy() 2341 elementType); in emitArrayDestroy() 2401 QualType elementType, CharUnits elementAlign, in RegularPartialArrayDestroy() argument 2404 ElementType(elementType), Destroyer(destroyer), in RegularPartialArrayDestroy() 2425 QualType elementType, in IrregularPartialArrayDestroy() argument 2429 ElementType(elementType), Destroyer(destroyer), in IrregularPartialArrayDestroy() 2448 QualType elementType, in pushIrregularPartialArrayCleanup() argument 2465 QualType elementType, in pushRegularPartialArrayCleanup() argument [all …]
|
H A D | CGExprCXX.cpp | 2044 QualType elementType) { in EmitArrayDelete() argument 2048 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete() 2057 numElements, elementType, in EmitArrayDelete() 2061 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() 2064 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete() 2075 CGF.emitArrayDestroy(arrayBegin, arrayEnd, elementType, elementAlign, in EmitArrayDelete()
|
H A D | CodeGenFunction.cpp | 2152 QualType elementType = arrayType->getElementType(); in emitArrayLength() local 2153 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength() 2157 baseType = elementType; in emitArrayLength() 2240 QualType elementType; in getVLASize() local 2242 elementType = type->getElementType(); in getVLASize() 2254 } while ((type = getContext().getAsVariableArrayType(elementType))); in getVLASize() 2256 return { numElements, elementType }; in getVLASize()
|
H A D | CGClass.cpp | 1978 QualType elementType; in EmitCXXAggrConstructorCall() local 1980 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall() 2024 llvm::Type *elementType = arrayBase.getElementType(); in EmitCXXAggrConstructorCall() local 2027 elementType, arrayBegin, numElements, "arrayctor.end"); in EmitCXXAggrConstructorCall() 2049 Address curAddr = Address(cur, elementType, eltAlignment); in EmitCXXAggrConstructorCall() 2086 elementType, cur, llvm::ConstantInt::get(SizeTy, 1), "arrayctor.next"); in EmitCXXAggrConstructorCall()
|
H A D | CGExprScalar.cpp | 3693 QualType elementType = pointerType->getPointeeType(); in emitPointerArithmetic() local 3695 = CGF.getContext().getAsVariableArrayType(elementType)) { in emitPointerArithmetic() 3720 if (elementType->isVoidType() || elementType->isFunctionType()) in emitPointerArithmetic() 3723 elemTy = CGF.ConvertTypeForMem(elementType); in emitPointerArithmetic() 4074 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub() local 4080 = CGF.getContext().getAsVariableArrayType(elementType)) { in EmitSub() 4082 elementType = VlaSize.Type; in EmitSub() 4086 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub() 4097 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub() 4100 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
|
H A D | ItaniumCXXABI.cpp | 358 CharUnits getArrayCookieSizeImpl(QualType elementType) override; 487 CharUnits getArrayCookieSizeImpl(QualType elementType) override; 2234 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument 2238 CGM.getContext().getPreferredTypeAlignInChars(elementType)); in getArrayCookieSizeImpl() 2312 CharUnits ARMCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument 2322 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl() 2329 QualType elementType) { in InitializeArrayCookie() argument 2338 getContext().getTypeSizeInChars(elementType).getQuantity()); in InitializeArrayCookie() 2347 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
|
H A D | CGCXXABI.h | 594 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 914 QualType elementType = recurse(T->getElementType()); in TRIVIAL_TYPE_CLASS() local 915 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS() 921 return Ctx.getComplexType(elementType); in TRIVIAL_TYPE_CLASS() 982 QualType elementType = recurse(T->getElementType()); in VisitConstantArrayType() local 983 if (elementType.isNull()) in VisitConstantArrayType() 995 QualType elementType = recurse(T->getElementType()); in VisitVariableArrayType() local 996 if (elementType.isNull()) in VisitVariableArrayType() 1010 if (elementType.isNull()) in VisitIncompleteArrayType() 1022 if (elementType.isNull()) in VisitVectorType() 1034 if (elementType.isNull()) in VisitExtVectorType() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | MemRegion.h | 1200 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) in ElementRegion() argument 1201 : TypedValueRegion(sReg, ElementRegionKind), ElementType(elementType), in ElementRegion() 1206 assert(!elementType.isNull() && !elementType->isVoidType() && in ElementRegion() 1210 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType, 1504 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
|
H A D | Store.h | 150 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base);
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas_lsi.c | 281 u16 elementType; in mprsas_fw_work() local 298 elementType = le16toh(element->ElementFlags) & in mprsas_fw_work() 303 if ((elementType != in mprsas_fw_work() 305 && (elementType != in mprsas_fw_work()
|
/freebsd/contrib/expat/lib/ |
H A D | xmlparse.c | 3314 ELEMENT_TYPE *elementType; in storeAtts() local 3327 elementType in storeAtts() 3329 if (! elementType) { in storeAtts() 3335 if (! elementType) in storeAtts() 3340 nDefaultAtts = elementType->nDefaultAtts; in storeAtts() 3493 if (elementType->idAtt && (elementType->idAtt->name)[-1]) { in storeAtts() 3495 if (appAtts[i] == elementType->idAtt->name) { in storeAtts() 3706 if (elementType->prefix) { in storeAtts() 3707 binding = elementType->prefix->binding; in storeAtts() 6567 for (name = elementType->name; *name; name++) { in setElementTypePrefix() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstrInfo.td | 172 def OpTypeArray: Op<28, (outs TYPE:$type), (ins TYPE:$elementType, ID:$length), 173 "$type = OpTypeArray $elementType $length">; 174 def OpTypeRuntimeArray: Op<29, (outs TYPE:$type), (ins TYPE:$elementType), 175 "$type = OpTypeRuntimeArray $elementType">;
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 1594 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckComplexType() 1747 QualType elementType = VT->getElementType(); in CheckVectorType() local 1789 AggrDeductionCandidateParamTypes->push_back(elementType); in CheckVectorType() 1804 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType() 1829 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType() 1831 if (elementType->isFloatingType()) in CheckVectorType() 1833 else if (elementType->isSignedIntegerType()) in CheckVectorType() 1835 else if (elementType->isUnsignedIntegerType()) in CheckVectorType() 1863 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType() 1994 QualType elementType = arrayType->getElementType(); in CheckArrayType() local [all …]
|