Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDStore.cpp85 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local
86 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
129 return MakeElementRegion(R, PointeeTy); in castRegion()
168 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
174 return MakeElementRegion(baseR, PointeeTy); in castRegion()
188 if (!PointeeTy->isIncompleteType()) { in castRegion()
190 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
208 return MakeElementRegion(newSuperR, PointeeTy, newIndex); in castRegion()
HDCallEvent.cpp114 QualType PointeeTy = Ty->getPointeeType(); in isPointerToConst() local
115 if (PointeeTy == QualType()) in isPointerToConst()
117 if (!PointeeTy.isConstQualified()) in isPointerToConst()
119 if (PointeeTy->isAnyPointerType()) in isPointerToConst()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDBodyFarm.cpp311 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local
321 PointeeTy), in create_OSAtomicCompareAndSwap()
322 PointeeTy), in create_OSAtomicCompareAndSwap()
331 PointeeTy), in create_OSAtomicCompareAndSwap()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDRetainCountChecker.cpp1342 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
1343 if (!PointeeTy.isNull()) in updateSummaryFromAnnotations()
1344 if (coreFoundation::isCFObjectRef(PointeeTy)) in updateSummaryFromAnnotations()
1347 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
1348 if (!PointeeTy.isNull()) in updateSummaryFromAnnotations()
1349 if (coreFoundation::isCFObjectRef(PointeeTy)) in updateSummaryFromAnnotations()
1383 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
1384 if (!PointeeTy.isNull()) in updateSummaryFromAnnotations()
1385 if (coreFoundation::isCFObjectRef(PointeeTy)) in updateSummaryFromAnnotations()
1388 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
[all …]
/NextBSD/contrib/llvm/include/llvm/IR/
HDDIBuilder.h146 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
155 DIDerivedType *createMemberPointerType(DIType *PointeeTy, DIType *Class,
/NextBSD/contrib/llvm/lib/IR/
HDDIBuilder.cpp238 DIDerivedType *DIBuilder::createPointerType(DIType *PointeeTy, in createPointerType() argument
244 nullptr, 0, nullptr, DITypeRef::get(PointeeTy), in createPointerType()
248 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument
253 nullptr, 0, nullptr, DITypeRef::get(PointeeTy), in createMemberPointerType()
HDConstantFold.cpp2031 static Constant *ConstantFoldGetElementPtrImpl(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtrImpl() argument
2167 Type *Ty = PointeeTy; in ConstantFoldGetElementPtrImpl()
2224 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, inBounds); in ConstantFoldGetElementPtrImpl()
2232 return ConstantExpr::getInBoundsGetElementPtr(PointeeTy, C, Idxs); in ConstantFoldGetElementPtrImpl()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDebugInfo.h185 llvm::DIType *getOrCreateTypeDeclaration(QualType PointeeTy, llvm::DIFile *F);
187 QualType PointeeTy, llvm::DIFile *F);
HDItaniumCXXABI.cpp2198 void BuildPointerTypeInfo(QualType PointeeTy);
2371 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
2372 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
2377 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
3054 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
3057 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerTypeInfo()
3086 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
3090 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerToMemberTypeInfo()
HDCGDebugInfo.cpp659 QualType PointeeTy, in CreatePointerLikeType() argument
663 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit)); in CreatePointerLikeType()
668 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()
672 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
1019 QualType PointeeTy = ThisPtrTy->getPointeeType(); in getOrCreateInstanceMethodType() local
1020 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType()
1023 llvm::DIType *PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDASTContext.cpp5288 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding()
5289 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding()
5290 if (const BuiltinType *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding()
5291 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
5292 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
5294 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
5295 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
5467 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
5474 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
5476 PointeeTy = T->castAs<ReferenceType>()->getPointeeType(); in getObjCEncodingForTypeImpl()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSema.cpp1352 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local
1353 if (!PointeeTy.isNull()) in tryExprAsCall()
1354 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
HDSemaOverload.cpp6773 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local
6778 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
6781 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
6788 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants()
6791 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants()
6805 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants()
6809 QualType QPointeeTy = Context.getCVRQualifiedType(PointeeTy, CVR); in AddPointerWithMoreQualifiedTypeVariants()
6844 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
6849 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants()
6855 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants()
[all …]
HDSemaChecking.cpp5084 QualType PointeeTy; in CheckMemaccessArguments() local
5086 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments()
5090 if (PointeeTy->isVoidType()) in CheckMemaccessArguments()
5115 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments()
5116 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments()
5139 << PointeeTy in CheckMemaccessArguments()
5156 if (PointeeTy->isRecordType() && in CheckMemaccessArguments()
5161 << PointeeTy << Dest->getSourceRange() in CheckMemaccessArguments()
5167 PointeeTy = DestTy; in CheckMemaccessArguments()
5170 if (PointeeTy == QualType()) in CheckMemaccessArguments()
[all …]
HDSemaExpr.cpp7542 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType() local
7543 return S.RequireCompleteType(Loc, PointeeTy, in checkArithmeticIncompletePointerType()
7545 PointeeTy, Operand->getSourceRange()); in checkArithmeticIncompletePointerType()
7564 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand() local
7565 if (PointeeTy->isVoidType()) { in checkArithmeticOpPointerOperand()
7569 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp1240 QualType PointeeTy; in RewriteTypeIntoString() local
1242 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString()
1244 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()
1245 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString()
2977 QualType PointeeTy = PT->getPointeeType(); in RewriteObjCDictionaryLiteralExpr() local
2978 convertToUnqualifiedObjCType(PointeeTy); in RewriteObjCDictionaryLiteralExpr()
2979 T = Context->getPointerType(PointeeTy); in RewriteObjCDictionaryLiteralExpr()
4605 QualType PointeeTy; in convertObjCTypeToCStyleType() local
4607 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType()
4608 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
HDRewriteObjC.cpp1045 QualType PointeeTy; in RewriteTypeIntoString() local
1047 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString()
1049 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()
1050 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString()