Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp31 Type *PointeeTy = nullptr; in classifyPointerType() local
34 PointeeTy = Inst->getResultElementType(); in classifyPointerType()
36 PointeeTy = Inst->getAllocatedType(); in classifyPointerType()
38 PointeeTy = GV->getValueType(); in classifyPointerType()
58 PointeeTy = classifyPointerType(User, Map); in classifyPointerType()
61 if (!PointeeTy) in classifyPointerType()
62 PointeeTy = NewPointeeTy; in classifyPointerType()
63 else if (PointeeTy != NewPointeeTy) in classifyPointerType()
64 PointeeTy = Type::getInt8Ty(V->getContext()); in classifyPointerType()
68 if (!PointeeTy) in classifyPointerType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp97 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local
98 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
150 return MakeElementRegion(cast<SubRegion>(R), PointeeTy); in castRegion()
190 return MakeElementRegion(cast<SubRegion>(baseR), PointeeTy); in castRegion()
204 if (!PointeeTy->isIncompleteType()) { in castRegion()
206 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
225 return MakeElementRegion(cast<SubRegion>(newSuperR), PointeeTy, newIndex); in castRegion()
451 QualType PointeeTy = BT->getPointeeType(); in getLValueElement() local
452 if (!PointeeTy.isNull() && in getLValueElement()
453 PointeeTy.getCanonicalType() == elementType.getCanonicalType()) in getLValueElement()
H A DCallEvent.cpp105 QualType PointeeTy = PT->getPointeeType(); in isVoidPointerToNonConst() local
106 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst()
108 return PointeeTy->isVoidType(); in isVoidPointerToNonConst()
209 QualType PointeeTy = Ty->getPointeeType(); in isPointerToConst() local
210 if (PointeeTy == QualType()) in isPointerToConst()
212 if (!PointeeTy.isConstQualified()) in isPointerToConst()
214 if (PointeeTy->isAnyPointerType()) in isPointerToConst()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DTypedPointerType.h28 Type *PointeeTy; variable
44 Type *getElementType() const { return PointeeTy; } in getElementType()
H A DDIBuilder.h260 createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
271 createMemberPointerType(DIType *PointeeTy, DIType *Class,
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DTypedPointerType.cpp33 : Type(E->getContext(), TypedPointerTyID), PointeeTy(E) { in TypedPointerType()
34 ContainedTys = &PointeeTy; in TypedPointerType()
H A DConstantFold.cpp1467 static Constant *foldGEPOfGEP(GEPOperator *GEP, Type *PointeeTy, bool InBounds, in foldGEPOfGEP() argument
1469 if (PointeeTy != GEP->getResultElementType()) in foldGEPOfGEP()
1542 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument
1576 if (Constant *C = foldGEPOfGEP(GEP, PointeeTy, InBounds, Idxs)) in ConstantFoldGetElementPtr()
1583 Type *Ty = PointeeTy; in ConstantFoldGetElementPtr()
1585 auto GEPIter = gep_type_begin(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
1723 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
1731 if (!GV->hasExternalWeakLinkage() && GV->getValueType() == PointeeTy && in ConstantFoldGetElementPtr()
1733 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
H A DDIBuilder.cpp303 DIBuilder::createPointerType(DIType *PointeeTy, uint64_t SizeInBits, in createPointerType() argument
309 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType()
314 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument
320 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
H A DDebugInfo.cpp1334 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, in LLVMDIBuilderCreatePointerType() argument
1337 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp653 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local
663 PointeeTy), in create_OSAtomicCompareAndSwap()
664 PointeeTy), in create_OSAtomicCompareAndSwap()
673 PointeeTy), in create_OSAtomicCompareAndSwap()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp558 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters() local
569 RefVal::makeNotOwned(AE.getObjKind(), PointeeTy)); in updateOutParameters()
573 RefVal::makeOwned(ObjKind::OS, PointeeTy)); in updateOutParameters()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3173 void BuildPointerTypeInfo(QualType PointeeTy);
3411 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
3412 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
3417 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
4207 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
4211 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo()
4221 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo()
4229 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
4234 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo()
4248 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
H A DCGDebugInfo.h252 QualType PointeeTy, llvm::DIFile *F);
H A DCGOpenMPRuntimeGPU.cpp2979 QualType PointeeTy = cast<ReferenceType>(NonQualTy)->getPointeeType(); in translateParameter() local
2982 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter()
2986 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
H A DCGDebugInfo.cpp1190 QualType PointeeTy, in CreatePointerLikeType() argument
1198 CGM.getTypes().getTargetAddressSpace(PointeeTy)); in CreatePointerLikeType()
1201 auto *BTFAttrTy = dyn_cast<BTFTagAttributedType>(PointeeTy); in CreatePointerLikeType()
1220 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType()
1223 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h726 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy,
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1216 QualType PointeeTy; in RewriteTypeIntoString() local
1218 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString()
1220 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()
1221 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString()
2941 QualType PointeeTy = PT->getPointeeType(); in RewriteObjCDictionaryLiteralExpr() local
2942 convertToUnqualifiedObjCType(PointeeTy); in RewriteObjCDictionaryLiteralExpr()
2943 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 DRewriteObjC.cpp1049 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-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7935 if (PointeeTy->getAs<TypedefType>()) { in getLegacyIntegralTypeEncoding()
7936 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding()
7938 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
7941 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
8208 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
8215 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
8231 QualType P = PointeeTy; in getObjCEncodingForTypeImpl()
8247 if (PointeeTy->isCharType()) { in getObjCEncodingForTypeImpl()
8250 if (!isTypeTypedefedAsBOOL(PointeeTy)) { in getObjCEncodingForTypeImpl()
8277 getLegacyIntegralTypeEncoding(PointeeTy); in getObjCEncodingForTypeImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp8458 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local
8463 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8466 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8473 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants()
8476 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants()
8490 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants()
8529 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
8534 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants()
8540 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants()
8990 if (!PointeeTy->isObjectType() && !PointeeTy->isFunctionType()) in addUnaryStarPointerOverloads()
[all …]
H A DSema.cpp2560 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local
2561 if (!PointeeTy.isNull()) in tryExprAsCall()
2562 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
H A DSemaChecking.cpp13436 QualType PointeeTy; in CheckMemaccessArguments() local
13438 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments()
13442 if (PointeeTy->isVoidType()) in CheckMemaccessArguments()
13467 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments()
13491 << PointeeTy in CheckMemaccessArguments()
13508 if (PointeeTy->isRecordType() && in CheckMemaccessArguments()
13519 PointeeTy = DestTy; in CheckMemaccessArguments()
13522 if (PointeeTy == QualType()) in CheckMemaccessArguments()
13528 getContainedDynamicClass(PointeeTy, IsContained)) { in CheckMemaccessArguments()
13548 } else if (PointeeTy.hasNonTrivialObjCLifetime() && in CheckMemaccessArguments()
[all …]
H A DSemaExpr.cpp11651 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType() local
11653 Loc, PointeeTy, in checkArithmeticIncompletePointerType()
11674 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand() local
11675 if (PointeeTy->isVoidType()) { in checkArithmeticOpPointerOperand()
11679 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
19421 QualType PointeeTy = PT->getPointeeType(); in captureInBlock() local
19423 if (!Invalid && PointeeTy->getAs<ObjCObjectPointerType>() && in captureInBlock()
19424 PointeeTy.getObjCLifetime() == Qualifiers::OCL_Autoreleasing && in captureInBlock()
19425 !S.Context.hasDirectOwnershipQualifier(PointeeTy)) { in captureInBlock()
H A DSemaInit.cpp8522 auto PointeeTy = Ty->getPointeeType(); in PerformQualificationConversion() local
8524 if (!PointeeTy.isNull() && in PerformQualificationConversion()
8525 PointeeTy.getAddressSpace() != ExprPointeeTy.getAddressSpace()) in PerformQualificationConversion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp7468 Type *PointeeTy = PrivArrayType->getElementType(); in createInitialization() local
7469 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createInitialization()
7495 Type *PointeeTy = PrivStructType->getElementType(u); in createReplacementValues() local
7498 LoadInst *L = new LoadInst(PointeeTy, Ptr, "", IP); in createReplacementValues()
7503 Type *PointeeTy = PrivArrayType->getElementType(); in createReplacementValues() local
7504 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createReplacementValues()
7507 LoadInst *L = new LoadInst(PointeeTy, Ptr, "", IP); in createReplacementValues()

12