Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DStore.cpp97 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local
98 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
149 return MakeElementRegion(cast<SubRegion>(R), PointeeTy); in castRegion()
189 return MakeElementRegion(cast<SubRegion>(baseR), PointeeTy); in castRegion()
203 if (!PointeeTy->isIncompleteType()) { in castRegion()
205 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
224 return MakeElementRegion(cast<SubRegion>(newSuperR), PointeeTy, newIndex); in castRegion()
452 QualType PointeeTy = BT->getPointeeType(); in getLValueElement() local
453 if (!PointeeTy.isNull() && in getLValueElement()
454 PointeeTy.getCanonicalType() == elementType.getCanonicalType()) in getLValueElement()
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()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DTypedPointerType.h28 Type *PointeeTy; variable
44 Type *getElementType() const { return PointeeTy; } in getElementType()
DDerivedTypes.h636 Type *PointeeTy; variable
670 return get(PT->PointeeTy, AddressSpace); in getWithSamePointeeType()
673 bool isOpaque() const { return !PointeeTy; } in isOpaque()
689 return isOpaque() || PointeeTy == Ty; in isOpaqueOrPointeeTypeMatches()
697 return PointeeTy == Other->PointeeTy; in hasSameElementTypeAs()
DDIBuilder.h257 createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
268 createMemberPointerType(DIType *PointeeTy, DIType *Class,
/openbsd/src/gnu/llvm/llvm/lib/IR/
DTypedPointerType.cpp33 : Type(E->getContext(), TypedPointerTyID), PointeeTy(E) { in TypedPointerType()
34 ContainedTys = &PointeeTy; in TypedPointerType()
DConstantFold.cpp1964 static Constant *foldGEPOfGEP(GEPOperator *GEP, Type *PointeeTy, bool InBounds, in foldGEPOfGEP() argument
1966 if (PointeeTy != GEP->getResultElementType()) in foldGEPOfGEP()
2034 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument
2041 PointeeTy, C, ArrayRef((Value *const *)Idxs.data(), Idxs.size())); in ConstantFoldGetElementPtr()
2080 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2106 if (Constant *C = foldGEPOfGEP(GEP, PointeeTy, InBounds, Idxs)) in ConstantFoldGetElementPtr()
2143 Type *Ty = PointeeTy; in ConstantFoldGetElementPtr()
2145 auto GEPIter = gep_type_begin(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2275 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2284 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
DType.cpp765 : Type(E->getContext(), PointerTyID), PointeeTy(E) { in PointerType()
766 ContainedTys = &PointeeTy; in PointerType()
772 : Type(C, PointerTyID), PointeeTy(nullptr) { in PointerType()
DDIBuilder.cpp319 DIBuilder::createPointerType(DIType *PointeeTy, uint64_t SizeInBits, in createPointerType() argument
325 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType()
330 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument
336 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
DDebugInfo.cpp1240 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, in LLVMDIBuilderCreatePointerType() argument
1243 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
/openbsd/src/gnu/llvm/clang/lib/Analysis/
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()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
DRetainCountChecker.cpp560 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters() local
571 RefVal::makeNotOwned(AE.getObjKind(), PointeeTy)); in updateOutParameters()
575 RefVal::makeOwned(ObjKind::OS, PointeeTy)); in updateOutParameters()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DItaniumCXXABI.cpp3100 void BuildPointerTypeInfo(QualType PointeeTy);
3337 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
3338 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
3343 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
4133 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
4137 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo()
4147 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo()
4155 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
4160 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo()
4174 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
DCGDebugInfo.h245 QualType PointeeTy, llvm::DIFile *F);
DCGOpenMPRuntimeGPU.cpp3049 QualType PointeeTy = cast<ReferenceType>(NonQualTy)->getPointeeType(); in translateParameter() local
3052 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter()
3056 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
DCGDebugInfo.cpp1150 QualType PointeeTy, in CreatePointerLikeType() argument
1158 CGM.getTypes().getTargetAddressSpace(PointeeTy)); in CreatePointerLikeType()
1161 auto *BTFAttrTy = dyn_cast<BTFTagAttributedType>(PointeeTy); in CreatePointerLikeType()
1180 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType()
1183 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
/openbsd/src/gnu/llvm/llvm/include/llvm-c/
DDebugInfo.h725 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy,
/openbsd/src/gnu/llvm/clang/lib/Frontend/Rewrite/
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()
4510 QualType PointeeTy; in convertObjCTypeToCStyleType() local
4512 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType()
4513 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
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()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaOverload.cpp8084 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local
8089 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8092 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8099 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants()
8102 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants()
8116 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants()
8120 QualType QPointeeTy = Context.getCVRQualifiedType(PointeeTy, CVR); in AddPointerWithMoreQualifiedTypeVariants()
8155 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
8160 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants()
8166 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants()
[all …]
DSema.cpp2508 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local
2509 if (!PointeeTy.isNull()) in tryExprAsCall()
2510 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
DSemaChecking.cpp11699 QualType PointeeTy; in CheckMemaccessArguments() local
11701 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments()
11705 if (PointeeTy->isVoidType()) in CheckMemaccessArguments()
11730 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments()
11731 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments()
11754 << PointeeTy in CheckMemaccessArguments()
11771 if (PointeeTy->isRecordType() && in CheckMemaccessArguments()
11776 << PointeeTy << Dest->getSourceRange() in CheckMemaccessArguments()
11782 PointeeTy = DestTy; in CheckMemaccessArguments()
11785 if (PointeeTy == QualType()) in CheckMemaccessArguments()
[all …]
/openbsd/src/gnu/llvm/clang/lib/AST/
DASTContext.cpp7923 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding()
7924 if (PointeeTy->getAs<TypedefType>()) { in getLegacyIntegralTypeEncoding()
7925 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding()
7926 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
7927 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
7929 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
7930 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
8195 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
8202 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
8204 PointeeTy = T->castAs<ReferenceType>()->getPointeeType(); in getObjCEncodingForTypeImpl()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp7405 Type *PointeeTy = PrivStructType->getElementType(u)->getPointerTo(); in createInitialization() local
7407 constructPointer(PointeeTy, PrivType, &Base, in createInitialization()
7412 Type *PointeeTy = PrivArrayType->getElementType(); in createInitialization() local
7413 Type *PointeePtrTy = PointeeTy->getPointerTo(); in createInitialization()
7414 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createInitialization()
7446 Type *PointeeTy = PrivStructType->getElementType(u); in createReplacementValues() local
7448 constructPointer(PointeeTy->getPointerTo(), PrivType, Base, in createReplacementValues()
7450 LoadInst *L = new LoadInst(PointeeTy, Ptr, "", IP); in createReplacementValues()
7455 Type *PointeeTy = PrivArrayType->getElementType(); in createReplacementValues() local
7456 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createReplacementValues()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp858 Type *PointeeTy = PtrTy->getNonOpaquePointerElementType(); in solveTypeName() local
859 auto Name = solveTypeName(PointeeTy); in solveTypeName()

12