/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); }]>; 113 def : Property<"elementType", QualType> { 133 return ctx.getConstantArrayType(elementType, sizeValue, size, 141 ctx.getConstantArrayType(elementType,sizeValue, 148 return ctx.getIncompleteArrayType(elementType, sizeModifier, 165 return ctx.getVariableArrayType(elementType, size, sizeModifier, 184 return ctx.getDependentSizedArrayType(elementType, size, sizeModifier, 192 def : Property<"elementType", QualType> { 203 return ctx.getVectorType(elementType, numElements, vectorKind); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | Address.h | 154 Address(llvm::Value *pointer, llvm::Type *elementType, CharUnits alignment, 156 : Pointer(pointer, IsKnownNonNull), ElementType(elementType), in Pointer() 159 assert(elementType != nullptr && "Element type cannot be null"); in Pointer() 298 ConstantAddress(llvm::Constant *pointer, llvm::Type *elementType, in ConstantAddress() argument 300 : RawAddress(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 | 510 QualType elementType = in EmitArrayInit() local 512 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit() 515 llvm::Type *llvmElementType = CGF.ConvertTypeForMem(elementType); in EmitArrayInit() 521 elementType.isTriviallyCopyableType(CGF.getContext())) { in EmitArrayInit() 548 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit() 564 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType, in EmitArrayInit() 591 Address(element, llvmElementType, elementAlign), elementType); in EmitArrayInit() 617 CGF.getTypes().isZeroInitializable(elementType))) { in EmitArrayInit() 655 Address(currentElement, llvmElementType, elementAlign), elementType); in EmitArrayInit() 1822 QualType elementType = in VisitArrayInitLoopExpr() local [all …]
|
H A D | CGCXXABI.cpp | 221 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument 237 QualType elementType) { in requiresArrayCookie() argument 243 return elementType.isDestructedType(); in requiresArrayCookie()
|
H A D | CGDecl.cpp | 2365 QualType elementType, in emitArrayDestroy() argument 2370 assert(!elementType->isArrayType()); in emitArrayDestroy() 2392 llvm::Type *llvmElementType = ConvertTypeForMem(elementType); in emitArrayDestroy() 2397 pushRegularPartialArrayCleanup(begin, element, elementType, elementAlign, in emitArrayDestroy() 2402 elementType); in emitArrayDestroy() 2462 QualType elementType, CharUnits elementAlign, in RegularPartialArrayDestroy() argument 2465 ElementType(elementType), Destroyer(destroyer), in RegularPartialArrayDestroy() 2486 QualType elementType, in IrregularPartialArrayDestroy() argument 2490 ElementType(elementType), Destroyer(destroyer), in IrregularPartialArrayDestroy() 2509 QualType elementType, in pushIrregularPartialArrayCleanup() argument [all …]
|
H A D | CGExprCXX.cpp | 2041 QualType elementType) { in EmitArrayDelete() argument 2045 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete() 2054 numElements, elementType, in EmitArrayDelete() 2058 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() 2061 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete() 2072 CGF.emitArrayDestroy(arrayBegin, arrayEnd, elementType, elementAlign, in EmitArrayDelete()
|
H A D | CGExprScalar.cpp | 3979 QualType elementType = pointerType->getPointeeType(); in emitPointerArithmetic() local 3981 = CGF.getContext().getAsVariableArrayType(elementType)) { in emitPointerArithmetic() 4006 if (elementType->isVoidType() || elementType->isFunctionType()) in emitPointerArithmetic() 4009 elemTy = CGF.ConvertTypeForMem(elementType); in emitPointerArithmetic() 4364 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub() local 4370 = CGF.getContext().getAsVariableArrayType(elementType)) { in EmitSub() 4372 elementType = VlaSize.Type; in EmitSub() 4376 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub() 4387 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub() 4390 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub() [all …]
|
H A D | CodeGenFunction.cpp | 2232 QualType elementType = arrayType->getElementType(); in emitArrayLength() local 2233 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength() 2237 baseType = elementType; in emitArrayLength() 2319 QualType elementType; in getVLASize() local 2321 elementType = type->getElementType(); in getVLASize() 2333 } while ((type = getContext().getAsVariableArrayType(elementType))); in getVLASize() 2335 return { numElements, elementType }; in getVLASize()
|
H A D | CGClass.cpp | 1987 QualType elementType; in EmitCXXAggrConstructorCall() local 1989 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall() 2033 llvm::Type *elementType = arrayBase.getElementType(); in EmitCXXAggrConstructorCall() local 2036 elementType, arrayBegin, numElements, "arrayctor.end"); in EmitCXXAggrConstructorCall() 2058 Address curAddr = Address(cur, elementType, eltAlignment); in EmitCXXAggrConstructorCall() 2095 elementType, cur, llvm::ConstantInt::get(SizeTy, 1), "arrayctor.next"); in EmitCXXAggrConstructorCall()
|
H A D | ItaniumCXXABI.cpp | 357 CharUnits getArrayCookieSizeImpl(QualType elementType) override; 492 CharUnits getArrayCookieSizeImpl(QualType elementType) override; 2421 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument 2425 CGM.getContext().getPreferredTypeAlignInChars(elementType)); in getArrayCookieSizeImpl() 2499 CharUnits ARMCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument 2509 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl() 2516 QualType elementType) { in InitializeArrayCookie() argument 2525 getContext().getTypeSizeInChars(elementType).getQuantity()); in InitializeArrayCookie() 2534 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
|
H A D | CGCXXABI.h | 585 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
|
H A D | CGObjC.cpp | 1925 QualType elementType; in EmitObjCForCollectionStmt() local 1934 elementType = D->getType(); in EmitObjCForCollectionStmt() 1941 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt() 1944 llvm::Type *convertedElementType = ConvertType(elementType); in EmitObjCForCollectionStmt() 1967 elementType->getAsObjCInterfacePointerType(); in EmitObjCForCollectionStmt()
|
/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() 495 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement() 515 elementType, Offset, cast<SubRegion>(ElemR->getSuperRegion()), Ctx)); in getLValueElement() 527 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR, in getLValueElement()
|
H A D | MemRegion.cpp | 1170 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, in getElementRegion() argument 1173 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/lib/AST/ |
H A D | Type.cpp | 968 QualType elementType = recurse(T->getElementType()); in TRIVIAL_TYPE_CLASS() local 969 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS() 972 if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr()) in TRIVIAL_TYPE_CLASS() 975 return Ctx.getComplexType(elementType); in TRIVIAL_TYPE_CLASS() 1036 QualType elementType = recurse(T->getElementType()); in VisitConstantArrayType() local 1037 if (elementType.isNull()) in VisitConstantArrayType() 1040 if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr()) in VisitConstantArrayType() 1043 return Ctx.getConstantArrayType(elementType, T->getSize(), T->getSizeExpr(), in VisitConstantArrayType() 1049 QualType elementType = recurse(T->getElementType()); in VisitVariableArrayType() local 1050 if (elementType.isNull()) in VisitVariableArrayType() [all …]
|
H A D | ASTContext.cpp | 4136 QualType ASTContext::getDependentSizedArrayType(QualType elementType, in getDependentSizedArrayType() argument 4145 SplitQualType canonElementType = getCanonicalType(elementType).split(); in getDependentSizedArrayType() 4150 ID, *this, numElements ? QualType(canonElementType.Ty, 0) : elementType, in getDependentSizedArrayType() 4165 DependentSizedArrayType(elementType, QualType(), numElements, ASM, in getDependentSizedArrayType() 4187 if (QualType(canonElementType.Ty, 0) == elementType && in getDependentSizedArrayType() 4194 DependentSizedArrayType(elementType, canon, numElements, ASM, in getDependentSizedArrayType() 4200 QualType ASTContext::getIncompleteArrayType(QualType elementType, in getIncompleteArrayType() argument 4204 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals); in getIncompleteArrayType() 4217 if (!elementType.isCanonical() || elementType.hasLocalQualifiers()) { in getIncompleteArrayType() 4218 SplitQualType canonSplit = getCanonicalType(elementType).split(); in getIncompleteArrayType() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | MemRegion.h | 1205 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) in ElementRegion() argument 1206 : TypedValueRegion(sReg, ElementRegionKind), ElementType(elementType), in ElementRegion() 1211 assert(!elementType.isNull() && !elementType->isVoidType() && in ElementRegion() 1215 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType, 1509 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 | 522 static int setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType); 3329 ELEMENT_TYPE *elementType; in storeAtts() local 3342 elementType in storeAtts() 3344 if (! elementType) { in storeAtts() 3348 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, name, in storeAtts() 3350 if (! elementType) in storeAtts() 3352 if (parser->m_ns && ! setElementTypePrefix(parser, elementType)) in storeAtts() 3355 nDefaultAtts = elementType->nDefaultAtts; in storeAtts() 3463 if (attId == elementType->defaultAtts[j].id) { in storeAtts() 3464 isCdata = elementType->defaultAtts[j].isCdata; in storeAtts() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 1664 QualType elementType = DeclType->castAs<ComplexType>()->getElementType(); in CheckComplexType() local 1670 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckComplexType() 1827 QualType elementType = VT->getElementType(); in CheckVectorType() local 1869 AggrDeductionCandidateParamTypes->push_back(elementType); in CheckVectorType() 1884 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType() 1909 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType() 1911 if (elementType->isFloatingType()) in CheckVectorType() 1913 else if (elementType->isSignedIntegerType()) in CheckVectorType() 1915 else if (elementType->isUnsignedIntegerType()) in CheckVectorType() 1943 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstrInfo.td | 189 def OpTypeArray: Op<28, (outs TYPE:$type), (ins TYPE:$elementType, ID:$length), 190 "$type = OpTypeArray $elementType $length">; 191 def OpTypeRuntimeArray: Op<29, (outs TYPE:$type), (ins TYPE:$elementType), 192 "$type = OpTypeRuntimeArray $elementType">;
|