Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp97 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local
98 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
142 return MakeElementRegion(cast<SubRegion>(R), PointeeTy); in castRegion()
181 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
187 return MakeElementRegion(cast<SubRegion>(baseR), PointeeTy); in castRegion()
201 if (!PointeeTy->isIncompleteType()) { in castRegion()
203 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
222 return MakeElementRegion(cast<SubRegion>(newSuperR), PointeeTy, newIndex); in castRegion()
H A DCallEvent.cpp123 QualType PointeeTy = PT->getPointeeType(); in isVoidPointerToNonConst() local
124 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst()
126 return PointeeTy->isVoidType(); in isVoidPointerToNonConst()
261 QualType PointeeTy = Ty->getPointeeType(); in isPointerToConst() local
262 if (PointeeTy == QualType()) in isPointerToConst()
264 if (!PointeeTy.isConstQualified()) in isPointerToConst()
266 if (PointeeTy->isAnyPointerType()) in isPointerToConst()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp622 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local
632 PointeeTy), in create_OSAtomicCompareAndSwap()
633 PointeeTy), in create_OSAtomicCompareAndSwap()
642 PointeeTy), in create_OSAtomicCompareAndSwap()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDerivedTypes.h470 Type *PointeeTy; variable
486 Type *getElementType() const { return PointeeTy; } in getElementType()
H A DDIBuilder.h211 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
223 createMemberPointerType(DIType *PointeeTy, DIType *Class,
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDIBuilder.cpp274 DIType *PointeeTy, in createPointerType() argument
281 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType()
286 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument
292 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
H A DType.cpp646 : Type(E->getContext(), PointerTyID), PointeeTy(E) { in PointerType()
647 ContainedTys = &PointeeTy; in PointerType()
H A DConstantFold.cpp2068 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument
2097 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2237 Type *Ty = PointeeTy; in ConstantFoldGetElementPtr()
2360 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2369 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
H A DDebugInfo.cpp963 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, in LLVMDIBuilderCreatePointerType() argument
966 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp2689 void BuildPointerTypeInfo(QualType PointeeTy);
2908 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
2909 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
2914 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
3660 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
3664 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo()
3674 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo()
3682 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
3687 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo()
3701 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
H A DCGDebugInfo.cpp973 QualType PointeeTy, in CreatePointerLikeType() argument
978 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()
986 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType()
989 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
1452 QualType PointeeTy = ThisPtrTy->getPointeeType(); in getOrCreateInstanceMethodType() local
1453 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType()
1456 llvm::DIType *PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType()
H A DCGDebugInfo.h213 QualType PointeeTy, llvm::DIFile *F);
H A DCGOpenMPRuntimeNVPTX.cpp3981 QualType PointeeTy = cast<ReferenceType>(NonQualTy)->getPointeeType(); in translateParameter() local
3984 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter()
3988 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp6465 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding()
6468 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
6471 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
6683 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
6690 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
6706 QualType P = PointeeTy; in getObjCEncodingForTypeImpl()
6722 if (PointeeTy->isCharType()) { in getObjCEncodingForTypeImpl()
6725 if (!isTypeTypedefedAsBOOL(PointeeTy)) { in getObjCEncodingForTypeImpl()
6743 getLegacyIntegralTypeEncoding(PointeeTy); in getObjCEncodingForTypeImpl()
6937 QualType PointeeTy = OPT->getPointeeType(); in getObjCEncodingForTypeImpl() local
[all …]
H A DExprConstant.cpp6047 QualType PointeeTy = E->getType()->castAs<PointerType>()->getPointeeType(); in visitNonBuiltinCallExpr() local
6048 Result.addUnsizedArray(Info, E, PointeeTy); in visitNonBuiltinCallExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp574 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters() local
585 RefVal::makeNotOwned(AE.getObjKind(), PointeeTy)); in updateOutParameters()
589 RefVal::makeOwned(ObjKind::OS, PointeeTy)); in updateOutParameters()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp7477 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local
7482 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
7485 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
7492 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants()
7495 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants()
7509 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants()
7548 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
7553 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants()
7559 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants()
7946 if (!PointeeTy->isObjectType() && !PointeeTy->isFunctionType()) in addUnaryStarPointerOverloads()
[all …]
H A DSema.cpp1719 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local
1720 if (!PointeeTy.isNull()) in tryExprAsCall()
1721 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
H A DSemaChecking.cpp9080 QualType PointeeTy; in CheckMemaccessArguments() local
9082 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments()
9086 if (PointeeTy->isVoidType()) in CheckMemaccessArguments()
9111 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments()
9135 << PointeeTy in CheckMemaccessArguments()
9152 if (PointeeTy->isRecordType() && in CheckMemaccessArguments()
9163 PointeeTy = DestTy; in CheckMemaccessArguments()
9166 if (PointeeTy == QualType()) in CheckMemaccessArguments()
9172 getContainedDynamicClass(PointeeTy, IsContained)) { in CheckMemaccessArguments()
9192 } else if (PointeeTy.hasNonTrivialObjCLifetime() && in CheckMemaccessArguments()
[all …]
H A DSemaExpr.cpp9036 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType() local
9037 return S.RequireCompleteType(Loc, PointeeTy, in checkArithmeticIncompletePointerType()
9039 PointeeTy, Operand->getSourceRange()); in checkArithmeticIncompletePointerType()
9058 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand() local
9059 if (PointeeTy->isVoidType()) { in checkArithmeticOpPointerOperand()
9063 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
15010 QualType PointeeTy = PT->getPointeeType(); in captureInBlock() local
15012 if (PointeeTy->getAs<ObjCObjectPointerType>() && in captureInBlock()
15013 PointeeTy.getObjCLifetime() == Qualifiers::OCL_Autoreleasing && in captureInBlock()
15014 !IsObjCOwnershipAttributedType(PointeeTy)) { in captureInBlock()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DDebugInfo.h594 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy,
/freebsd-12.1/contrib/llvm/tools/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()
2934 QualType PointeeTy = PT->getPointeeType(); in RewriteObjCDictionaryLiteralExpr() local
2935 convertToUnqualifiedObjCType(PointeeTy); in RewriteObjCDictionaryLiteralExpr()
2936 T = Context->getPointerType(PointeeTy); in RewriteObjCDictionaryLiteralExpr()
4512 QualType PointeeTy; in convertObjCTypeToCStyleType() local
4514 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType()
4515 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
H A DRewriteObjC.cpp1046 QualType PointeeTy; in RewriteTypeIntoString() local
1048 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString()
1050 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()
1051 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString()