| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBoundsSafety.cpp | 92 QualType PointeeTy; in CheckCountedByAttrOnField() local 95 PointeeTy = FieldTy->getPointeeType(); in CheckCountedByAttrOnField() 100 PointeeTy = AT->getElementType(); in CheckCountedByAttrOnField() 107 if (PointeeTy->isAlwaysIncompleteType() && !CountInBytes) { in CheckCountedByAttrOnField() 138 } else if (PointeeTy->isSizelessType()) { in CheckCountedByAttrOnField() 140 } else if (PointeeTy->isFunctionType()) { in CheckCountedByAttrOnField() 142 } else if (PointeeTy->isStructureTypeWithFlexibleArrayMember()) { in CheckCountedByAttrOnField() 160 << SelectPtrOrArr << PointeeTy << (int)InvalidTypeKind in CheckCountedByAttrOnField() 266 auto PointeeTy = CATy->getPointeeType(); in GetCountedByAttrOnIncompletePointee() local 267 if (PointeeTy.isNull()) { in GetCountedByAttrOnIncompletePointee() [all …]
|
| H A D | SemaChecking.cpp | 9817 QualType PointeeTy; in CheckMemaccessArguments() local 9819 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments() 9823 if (PointeeTy->isVoidType()) in CheckMemaccessArguments() 9848 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments() 9849 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments() 9872 << PointeeTy in CheckMemaccessArguments() 9889 if (PointeeTy->isRecordType() && in CheckMemaccessArguments() 9894 << PointeeTy << Dest->getSourceRange() in CheckMemaccessArguments() 9900 PointeeTy = DestTy; in CheckMemaccessArguments() 9903 if (PointeeTy == QualType()) in CheckMemaccessArguments() [all …]
|
| H A D | SemaOverload.cpp | 8925 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local 8930 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 8933 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 8940 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants() 8943 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants() 8957 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants() 8961 QualType QPointeeTy = Context.getCVRQualifiedType(PointeeTy, CVR); in AddPointerWithMoreQualifiedTypeVariants() 8996 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 9001 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants() 9007 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants() [all …]
|
| H A D | Sema.cpp | 2719 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local 2720 if (!PointeeTy.isNull()) in tryExprAsCall() 2721 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 33 Type *PointeeTy = nullptr; in classifyPointerType() local 36 PointeeTy = Inst->getResultElementType(); in classifyPointerType() 38 PointeeTy = Inst->getAllocatedType(); in classifyPointerType() 40 PointeeTy = GV->getValueType(); in classifyPointerType() 60 PointeeTy = classifyPointerType(User, Map); in classifyPointerType() 63 if (!PointeeTy) in classifyPointerType() 64 PointeeTy = NewPointeeTy; in classifyPointerType() 65 else if (PointeeTy != NewPointeeTy) in classifyPointerType() 66 PointeeTy = Type::getInt8Ty(V->getContext()); in classifyPointerType() 70 if (!PointeeTy) in classifyPointerType() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 99 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local 100 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion() 152 return MakeElementRegion(cast<SubRegion>(R), PointeeTy); in castRegion() 192 return MakeElementRegion(cast<SubRegion>(baseR), PointeeTy); in castRegion() 206 if (!PointeeTy->isIncompleteType()) { in castRegion() 208 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion() 227 return MakeElementRegion(cast<SubRegion>(newSuperR), PointeeTy, newIndex); in castRegion() 453 QualType PointeeTy = BT->getPointeeType(); in getLValueElement() local 454 if (!PointeeTy.isNull() && in getLValueElement() 455 PointeeTy.getCanonicalType() == elementType.getCanonicalType()) in getLValueElement()
|
| H A D | CallEvent.cpp | 104 QualType PointeeTy = PT->getPointeeType(); in isVoidPointerToNonConst() local 105 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst() 107 return PointeeTy->isVoidType(); in isVoidPointerToNonConst() 208 QualType PointeeTy = Ty->getPointeeType(); in isPointerToConst() local 209 if (PointeeTy == QualType()) in isPointerToConst() 211 if (!PointeeTy.isConstQualified()) in isPointerToConst() 213 if (PointeeTy->isAnyPointerType()) in isPointerToConst()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | TypedPointerType.h | 29 Type *PointeeTy; variable 46 Type *getElementType() const { return PointeeTy; } in getElementType()
|
| H A D | DIBuilder.h | 292 createPointerType(DIType *PointeeTy, uint64_t SizeInBits, 310 createMemberPointerType(DIType *PointeeTy, DIType *Class,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVIRMapping.h | 238 bool add(const Type *PointeeTy, unsigned AddressSpace, in add() argument 240 return add(SPIRV::irhandle_pointee(PointeeTy, AddressSpace), MI); in add() 242 Register find(const Type *PointeeTy, unsigned AddressSpace, in find() argument 244 return find(SPIRV::irhandle_pointee(PointeeTy, AddressSpace), MF); in find() 246 const MachineInstr *findMI(const Type *PointeeTy, unsigned AddressSpace, in findMI() argument 248 return findMI(SPIRV::irhandle_pointee(PointeeTy, AddressSpace), MF); in findMI()
|
| H A D | SPIRVEmitIntrinsics.cpp | 816 Type *PointeeTy = GR->findDeducedElementType(PointerOperand); in getAtomicElemTy() local 817 if (PointeeTy && !isUntypedPointerTy(PointeeTy)) in getAtomicElemTy() 1031 Type *PointeeTy = GR->findDeducedElementType(Ref->getPointerOperand()); in deduceOperandElementType() local 1032 if (PointeeTy && !isUntypedPointerTy(PointeeTy)) in deduceOperandElementType() 1040 Type *PointeeTy = GR->findDeducedElementType(Ref->getPointerOperand()); in deduceOperandElementType() local 1041 if (PointeeTy && !isUntypedPointerTy(PointeeTy)) in deduceOperandElementType()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | TypedPointerType.cpp | 32 : Type(E->getContext(), TypedPointerTyID), PointeeTy(E) { in TypedPointerType() 33 ContainedTys = &PointeeTy; in TypedPointerType()
|
| H A D | DIBuilder.cpp | 347 DIBuilder::createPointerType(DIType *PointeeTy, uint64_t SizeInBits, in createPointerType() argument 353 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType() 358 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument 364 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGPointerAuth.cpp | 706 QualType PointeeTy) { in getAsNaturalAddressOf() argument 708 PointeeTy.isNull() ? CGPointerAuthInfo() in getAsNaturalAddressOf() 709 : CGM.getPointerAuthInfoForPointeeType(PointeeTy); in getAsNaturalAddressOf() 748 llvm::Value *LValue::emitResignedPointer(QualType PointeeTy, in emitResignedPointer() argument 751 return CGF.getAsNaturalAddressOf(Addr, PointeeTy).getBasePointer(); in emitResignedPointer()
|
| H A D | CGValue.h | 357 llvm::Value *emitResignedPointer(QualType PointeeTy, 638 llvm::Value *getPointer(QualType PointeeTy, CodeGenFunction &CGF) const;
|
| H A D | ItaniumCXXABI.cpp | 3473 void BuildPointerTypeInfo(QualType PointeeTy); 3715 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local 3716 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary() 3721 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary() 4528 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument 4532 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo() 4542 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo() 4550 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local 4555 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo() 4570 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1772 QualType PointeeTy = cast<ReferenceType>(NonQualTy)->getPointeeType(); in translateParameter() local 1775 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter() 1779 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
|
| H A D | CGDebugInfo.h | 282 QualType PointeeTy, llvm::DIFile *F);
|
| H A D | CGDebugInfo.cpp | 1384 QualType PointeeTy, in CreatePointerLikeType() argument 1392 CGM.getTypes().getTargetAddressSpace(PointeeTy)); in CreatePointerLikeType() 1395 if (auto *Atomic = PointeeTy->getAs<AtomicType>()) in CreatePointerLikeType() 1398 BTFAttrTy = dyn_cast<BTFTagAttributedType>(PointeeTy); in CreatePointerLikeType() 1418 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType() 1421 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 653 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local 663 PointeeTy), in create_OSAtomicCompareAndSwap() 664 PointeeTy), in create_OSAtomicCompareAndSwap() 673 PointeeTy), in create_OSAtomicCompareAndSwap()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | FormatString.cpp | 558 QualType PointeeTy = PT->getPointeeType(); in matchesType() local 559 if (PointeeTy->isVoidType() || (!Ptr && PointeeTy->isCharType())) in matchesType()
|
| H A D | ASTContext.cpp | 8988 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding() 8989 if (PointeeTy->getAs<TypedefType>()) { in getLegacyIntegralTypeEncoding() 8990 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding() 8991 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding() 8992 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding() 8994 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding() 8995 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding() 9265 QualType PointeeTy; in getObjCEncodingForTypeImpl() local 9272 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl() 9274 PointeeTy = T->castAs<ReferenceType>()->getPointeeType(); in getObjCEncodingForTypeImpl() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 557 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters() local 568 RefVal::makeNotOwned(AE.getObjKind(), PointeeTy)); in updateOutParameters() 572 RefVal::makeOwned(ObjKind::OS, PointeeTy)); in updateOutParameters()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 1214 QualType PointeeTy; in RewriteTypeIntoString() local 1216 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString() 1218 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString() 1219 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString() 2939 QualType PointeeTy = PT->getPointeeType(); in RewriteObjCDictionaryLiteralExpr() local 2940 convertToUnqualifiedObjCType(PointeeTy); in RewriteObjCDictionaryLiteralExpr() 2941 T = Context->getPointerType(PointeeTy); in RewriteObjCDictionaryLiteralExpr() 4491 QualType PointeeTy; in convertObjCTypeToCStyleType() local 4493 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType() 4494 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 810 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, uint64_t SizeInBits,
|