Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp33 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/Sema/
H A DSemaBoundsSafety.cpp92 QualType PointeeTy; in CheckCountedByAttrOnField() local
95 PointeeTy = FieldTy->getPointeeType(); in CheckCountedByAttrOnField()
100 PointeeTy = AT->getElementType(); in CheckCountedByAttrOnField()
107 if (PointeeTy->isIncompleteType() && !CountInBytes) { in CheckCountedByAttrOnField()
109 } else if (PointeeTy->isSizelessType()) { in CheckCountedByAttrOnField()
111 } else if (PointeeTy->isFunctionType()) { in CheckCountedByAttrOnField()
113 } else if (PointeeTy->isStructureTypeWithFlexibleArrayMember()) { in CheckCountedByAttrOnField()
131 << SelectPtrOrArr << PointeeTy << (int)InvalidTypeKind in CheckCountedByAttrOnField()
H A DSemaOverload.cpp8464 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local
8469 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8472 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8479 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants()
8482 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants()
8496 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants()
8500 QualType QPointeeTy = Context.getCVRQualifiedType(PointeeTy, CVR); in AddPointerWithMoreQualifiedTypeVariants()
8535 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
8540 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants()
8546 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants()
[all …]
H A DSemaChecking.cpp8671 QualType PointeeTy; in CheckMemaccessArguments() local
8673 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments()
8677 if (PointeeTy->isVoidType()) in CheckMemaccessArguments()
8702 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments()
8703 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments()
8726 << PointeeTy in CheckMemaccessArguments()
8743 if (PointeeTy->isRecordType() && in CheckMemaccessArguments()
8748 << PointeeTy << Dest->getSourceRange() in CheckMemaccessArguments()
8754 PointeeTy = DestTy; in CheckMemaccessArguments()
8757 if (PointeeTy == QualType()) in CheckMemaccessArguments()
[all …]
H A DSema.cpp2551 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local
2552 if (!PointeeTy.isNull()) in tryExprAsCall()
2553 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
/freebsd/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/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.h269 createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
287 createMemberPointerType(DIType *PointeeTy, DIType *Class,
/freebsd/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 DDIBuilder.cpp316 DIBuilder::createPointerType(DIType *PointeeTy, uint64_t SizeInBits, in createPointerType() argument
322 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType()
327 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument
333 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
H A DDebugInfo.cpp1339 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, in LLVMDIBuilderCreatePointerType() argument
1343 unwrapDI<DIType>(PointeeTy), SizeInBits, AlignInBits, AddressSpace, in LLVMDIBuilderCreatePointerType()
H A DConstantFold.cpp1339 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h224 void add(const Type *PointeeTy, unsigned AddressSpace, in add() argument
226 ST.add(SPIRV::make_descr_pointee(unifyPtrType(PointeeTy), AddressSpace), MF, in add()
259 Register find(const Type *PointeeTy, unsigned AddressSpace, in find() argument
262 SPIRV::make_descr_pointee(unifyPtrType(PointeeTy), AddressSpace), MF); in find()
H A DSPIRVEmitIntrinsics.cpp598 Type *PointeeTy = GR->findDeducedElementType(PointerOperand); in getAtomicElemTy() local
599 if (PointeeTy && !isUntypedPointerTy(PointeeTy)) in getAtomicElemTy()
638 Type *PointeeTy = GR->findDeducedElementType(Ref->getPointerOperand()); in deduceOperandElementType() local
639 if (PointeeTy && !isUntypedPointerTy(PointeeTy)) in deduceOperandElementType()
647 Type *PointeeTy = GR->findDeducedElementType(Ref->getPointerOperand()); in deduceOperandElementType() local
648 if (PointeeTy && !isUntypedPointerTy(PointeeTy)) in deduceOperandElementType()
657 Type *PointeeTy = GR->findDeducedElementType(Ref->getPointerOperand()); in deduceOperandElementType() local
658 if (PointeeTy && !isUntypedPointerTy(PointeeTy)) in deduceOperandElementType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuth.cpp569 QualType PointeeTy) { in getAsNaturalAddressOf() argument
571 PointeeTy.isNull() ? CGPointerAuthInfo() in getAsNaturalAddressOf()
572 : CGM.getPointerAuthInfoForPointeeType(PointeeTy); in getAsNaturalAddressOf()
612 llvm::Value *LValue::emitResignedPointer(QualType PointeeTy, in emitResignedPointer() argument
615 return CGF.getAsNaturalAddressOf(Addr, PointeeTy).getBasePointer(); in emitResignedPointer()
H A DCGValue.h357 llvm::Value *emitResignedPointer(QualType PointeeTy,
638 llvm::Value *getPointer(QualType PointeeTy, CodeGenFunction &CGF) const;
H A DItaniumCXXABI.cpp3440 void BuildPointerTypeInfo(QualType PointeeTy);
3680 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
3681 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
3686 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
4482 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
4486 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo()
4496 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo()
4504 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
4509 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo()
4523 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
H A DCGOpenMPRuntimeGPU.cpp1773 QualType PointeeTy = cast<ReferenceType>(NonQualTy)->getPointeeType(); in translateParameter() local
1776 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter()
1780 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
H A DCGDebugInfo.h257 QualType PointeeTy, llvm::DIFile *F);
H A DCGDebugInfo.cpp1209 QualType PointeeTy, in CreatePointerLikeType() argument
1217 CGM.getTypes().getTargetAddressSpace(PointeeTy)); in CreatePointerLikeType()
1220 auto *BTFAttrTy = dyn_cast<BTFTagAttributedType>(PointeeTy); in CreatePointerLikeType()
1239 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType()
1242 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
/freebsd/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/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h739 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy,
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1215 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()
4507 QualType PointeeTy; in convertObjCTypeToCStyleType() local
4509 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType()
4510 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp8390 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding()
8391 if (PointeeTy->getAs<TypedefType>()) { in getLegacyIntegralTypeEncoding()
8392 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding()
8393 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
8394 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
8396 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
8397 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
8666 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
8673 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
8675 PointeeTy = T->castAs<ReferenceType>()->getPointeeType(); in getObjCEncodingForTypeImpl()
[all …]

12