/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 85 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()
|
D | CallEvent.cpp | 79 QualType PointeeTy = PT->getPointeeType(); in isVoidPointerToNonConst() local 80 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst() 82 return PointeeTy->isVoidType(); in isVoidPointerToNonConst() 132 QualType PointeeTy = Ty->getPointeeType(); in isPointerToConst() local 133 if (PointeeTy == QualType()) in isPointerToConst() 135 if (!PointeeTy.isConstQualified()) in isPointerToConst() 137 if (PointeeTy->isAnyPointerType()) in isPointerToConst()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 308 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local 318 PointeeTy), in create_OSAtomicCompareAndSwap() 319 PointeeTy), in create_OSAtomicCompareAndSwap() 328 PointeeTy), in create_OSAtomicCompareAndSwap()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | RetainCountChecker.cpp | 1342 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 …]
|
/external/llvm/include/llvm/IR/ |
D | DIBuilder.h | 146 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits, 155 DIDerivedType *createMemberPointerType(DIType *PointeeTy, DIType *Class,
|
/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 238 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()
|
D | ConstantFold.cpp | 2034 static Constant *ConstantFoldGetElementPtrImpl(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtrImpl() argument 2170 Type *Ty = PointeeTy; in ConstantFoldGetElementPtrImpl() 2227 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, inBounds); in ConstantFoldGetElementPtrImpl() 2235 return ConstantExpr::getInBoundsGetElementPtr(PointeeTy, C, Idxs); in ConstantFoldGetElementPtrImpl()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 5348 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding() 5349 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding() 5350 if (const BuiltinType *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding() 5351 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding() 5352 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding() 5354 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding() 5355 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding() 5537 QualType PointeeTy; in getObjCEncodingForTypeImpl() local 5544 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl() 5546 PointeeTy = T->castAs<ReferenceType>()->getPointeeType(); in getObjCEncodingForTypeImpl() [all …]
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 1380 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local 1381 if (!PointeeTy.isNull()) in tryExprAsCall() 1382 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
|
D | SemaOverload.cpp | 6881 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local 6886 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 6889 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 6896 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants() 6899 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants() 6913 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants() 6917 QualType QPointeeTy = Context.getCVRQualifiedType(PointeeTy, CVR); in AddPointerWithMoreQualifiedTypeVariants() 6952 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 6957 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants() 6963 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants() [all …]
|
D | SemaChecking.cpp | 5264 QualType PointeeTy; in CheckMemaccessArguments() local 5266 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments() 5270 if (PointeeTy->isVoidType()) in CheckMemaccessArguments() 5295 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments() 5296 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments() 5319 << PointeeTy in CheckMemaccessArguments() 5336 if (PointeeTy->isRecordType() && in CheckMemaccessArguments() 5341 << PointeeTy << Dest->getSourceRange() in CheckMemaccessArguments() 5347 PointeeTy = DestTy; in CheckMemaccessArguments() 5350 if (PointeeTy == QualType()) in CheckMemaccessArguments() [all …]
|
D | SemaExpr.cpp | 7713 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType() local 7714 return S.RequireCompleteType(Loc, PointeeTy, in checkArithmeticIncompletePointerType() 7716 PointeeTy, Operand->getSourceRange()); in checkArithmeticIncompletePointerType() 7735 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand() local 7736 if (PointeeTy->isVoidType()) { in checkArithmeticOpPointerOperand() 7740 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
|
/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 2378 void BuildPointerTypeInfo(QualType PointeeTy); 2557 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local 2558 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary() 2563 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary() 3238 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument 3241 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerTypeInfo() 3270 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local 3274 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerToMemberTypeInfo()
|
D | CGDebugInfo.cpp | 722 QualType PointeeTy, in CreatePointerLikeType() argument 727 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType() 733 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType() 736 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType() 1083 QualType PointeeTy = ThisPtrTy->getPointeeType(); in getOrCreateInstanceMethodType() local 1084 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType() 1087 llvm::DIType *PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType()
|
D | CGDebugInfo.h | 202 QualType PointeeTy, llvm::DIFile *F);
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 1240 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() 2969 QualType PointeeTy = PT->getPointeeType(); in RewriteObjCDictionaryLiteralExpr() local 2970 convertToUnqualifiedObjCType(PointeeTy); in RewriteObjCDictionaryLiteralExpr() 2971 T = Context->getPointerType(PointeeTy); in RewriteObjCDictionaryLiteralExpr() 4586 QualType PointeeTy; in convertObjCTypeToCStyleType() local 4588 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType() 4589 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
|
D | RewriteObjC.cpp | 1045 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()
|