| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 97 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local 98 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion() 143 return MakeElementRegion(cast<SubRegion>(R), PointeeTy); in castRegion() 182 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion() 188 return MakeElementRegion(cast<SubRegion>(baseR), PointeeTy); in castRegion() 202 if (!PointeeTy->isIncompleteType()) { in castRegion() 204 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion() 223 return MakeElementRegion(cast<SubRegion>(newSuperR), PointeeTy, newIndex); in castRegion()
|
| H A D | CallEvent.cpp | 124 QualType PointeeTy = PT->getPointeeType(); in isVoidPointerToNonConst() local 125 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst() 127 return PointeeTy->isVoidType(); in isVoidPointerToNonConst() 228 QualType PointeeTy = Ty->getPointeeType(); in isPointerToConst() local 229 if (PointeeTy == QualType()) in isPointerToConst() 231 if (!PointeeTy.isConstQualified()) in isPointerToConst() 233 if (PointeeTy->isAnyPointerType()) in isPointerToConst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 635 Type *PointeeTy; variable 674 return PointeeTy; in getElementType() 677 bool isOpaque() const { return !PointeeTy; } in isOpaque() 693 return isOpaque() || PointeeTy == Ty; in isOpaqueOrPointeeTypeMatches() 701 return PointeeTy == Other->PointeeTy; in hasSameElementTypeAs()
|
| H A D | DIBuilder.h | 222 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits, 234 createMemberPointerType(DIType *PointeeTy, DIType *Class,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 623 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local 633 PointeeTy), in create_OSAtomicCompareAndSwap() 634 PointeeTy), in create_OSAtomicCompareAndSwap() 643 PointeeTy), in create_OSAtomicCompareAndSwap()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 2109 static Constant *foldGEPOfGEP(GEPOperator *GEP, Type *PointeeTy, bool InBounds, in foldGEPOfGEP() argument 2111 if (PointeeTy != GEP->getResultElementType()) in foldGEPOfGEP() 2197 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument 2204 PointeeTy, C, makeArrayRef((Value *const *)Idxs.data(), Idxs.size())); in ConstantFoldGetElementPtr() 2230 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtr() 2256 if (Constant *C = foldGEPOfGEP(GEP, PointeeTy, InBounds, Idxs)) in ConstantFoldGetElementPtr() 2291 Type *Ty = PointeeTy; in ConstantFoldGetElementPtr() 2293 auto GEPIter = gep_type_begin(PointeeTy, Idxs); in ConstantFoldGetElementPtr() 2417 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr() 2426 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
|
| H A D | Type.cpp | 727 : Type(E->getContext(), PointerTyID), PointeeTy(E) { in PointerType() 728 ContainedTys = &PointeeTy; in PointerType() 734 : Type(C, PointerTyID), PointeeTy(nullptr) { in PointerType()
|
| H A D | DIBuilder.cpp | 287 DIType *PointeeTy, in createPointerType() argument 294 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType() 299 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument 305 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
|
| H A D | DebugInfo.cpp | 1180 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, in LLVMDIBuilderCreatePointerType() argument 1183 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 559 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters() local 570 RefVal::makeNotOwned(AE.getObjKind(), PointeeTy)); in updateOutParameters() 574 RefVal::makeOwned(ObjKind::OS, PointeeTy)); in updateOutParameters()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 3111 void BuildPointerTypeInfo(QualType PointeeTy); 3347 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local 3348 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary() 3353 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary() 4140 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument 4144 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo() 4154 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo() 4162 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local 4167 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo() 4181 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
|
| H A D | CGDebugInfo.cpp | 1107 QualType PointeeTy, in CreatePointerLikeType() argument 1112 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType() 1120 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType() 1123 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType() 1606 QualType PointeeTy = ThisPtrTy->getPointeeType(); in getOrCreateInstanceMethodType() local 1607 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType() 1610 llvm::DIType *PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType()
|
| H A D | CGDebugInfo.h | 243 QualType PointeeTy, llvm::DIFile *F);
|
| H A D | CGOpenMPRuntimeGPU.cpp | 3346 QualType PointeeTy = cast<ReferenceType>(NonQualTy)->getPointeeType(); in translateParameter() local 3349 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter() 3353 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 7191 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding() 7192 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding() 7194 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding() 7197 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding() 7461 QualType PointeeTy; in getObjCEncodingForTypeImpl() local 7468 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl() 7484 QualType P = PointeeTy; in getObjCEncodingForTypeImpl() 7500 if (PointeeTy->isCharType()) { in getObjCEncodingForTypeImpl() 7503 if (!isTypeTypedefedAsBOOL(PointeeTy)) { in getObjCEncodingForTypeImpl() 7530 getLegacyIntegralTypeEncoding(PointeeTy); in getObjCEncodingForTypeImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 701 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 1215 QualType PointeeTy; in RewriteTypeIntoString() local 1217 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString() 1219 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString() 1220 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString() 2940 QualType PointeeTy = PT->getPointeeType(); in RewriteObjCDictionaryLiteralExpr() local 2941 convertToUnqualifiedObjCType(PointeeTy); in RewriteObjCDictionaryLiteralExpr() 2942 T = Context->getPointerType(PointeeTy); in RewriteObjCDictionaryLiteralExpr() 4509 QualType PointeeTy; in convertObjCTypeToCStyleType() local 4511 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType() 4512 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
|
| H A D | RewriteObjC.cpp | 1049 QualType PointeeTy; in RewriteTypeIntoString() local 1051 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString() 1053 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString() 1054 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 7874 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local 7879 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 7882 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 7889 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants() 7892 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants() 7906 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants() 7945 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 7950 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants() 7956 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants() 8361 if (!PointeeTy->isObjectType() && !PointeeTy->isFunctionType()) in addUnaryStarPointerOverloads() [all …]
|
| H A D | Sema.cpp | 2364 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local 2365 if (!PointeeTy.isNull()) in tryExprAsCall() 2366 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
|
| H A D | SemaChecking.cpp | 10368 QualType PointeeTy; in CheckMemaccessArguments() local 10370 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments() 10374 if (PointeeTy->isVoidType()) in CheckMemaccessArguments() 10399 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments() 10423 << PointeeTy in CheckMemaccessArguments() 10440 if (PointeeTy->isRecordType() && in CheckMemaccessArguments() 10451 PointeeTy = DestTy; in CheckMemaccessArguments() 10454 if (PointeeTy == QualType()) in CheckMemaccessArguments() 10460 getContainedDynamicClass(PointeeTy, IsContained)) { in CheckMemaccessArguments() 10480 } else if (PointeeTy.hasNonTrivialObjCLifetime() && in CheckMemaccessArguments() [all …]
|
| H A D | SemaExpr.cpp | 10488 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType() local 10490 Loc, PointeeTy, in checkArithmeticIncompletePointerType() 10511 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand() local 10512 if (PointeeTy->isVoidType()) { in checkArithmeticOpPointerOperand() 10516 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand() 17543 QualType PointeeTy = PT->getPointeeType(); in captureInBlock() local 17545 if (!Invalid && PointeeTy->getAs<ObjCObjectPointerType>() && in captureInBlock() 17546 PointeeTy.getObjCLifetime() == Qualifiers::OCL_Autoreleasing && in captureInBlock() 17547 !S.Context.hasDirectOwnershipQualifier(PointeeTy)) { in captureInBlock()
|
| H A D | SemaInit.cpp | 7975 auto PointeeTy = Ty->getPointeeType(); in PerformQualificationConversion() local 7977 if (!PointeeTy.isNull() && in PerformQualificationConversion() 7978 PointeeTy.getAddressSpace() != ExprPointeeTy.getAddressSpace()) in PerformQualificationConversion()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 6607 constructPointer(PointeeTy, PrivType, &Base, in createInitialization() 6612 Type *PointeeTy = PrivArrayType->getElementType(); in createInitialization() local 6613 Type *PointeePtrTy = PointeeTy->getPointerTo(); in createInitialization() 6614 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createInitialization() 6645 Type *PointeeTy = PrivStructType->getElementType(u); in createReplacementValues() local 6647 constructPointer(PointeeTy->getPointerTo(), PrivType, Base, in createReplacementValues() 6649 LoadInst *L = new LoadInst(PointeeTy, Ptr, "", IP); in createReplacementValues() 6654 Type *PointeeTy = PrivArrayType->getElementType(); in createReplacementValues() local 6655 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createReplacementValues() 6656 Type *PointeePtrTy = PointeeTy->getPointerTo(); in createReplacementValues() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 815 Type *PointeeTy = PtrTy->getElementType(); in solveTypeName() local 816 auto Name = solveTypeName(PointeeTy); in solveTypeName()
|