Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Core/
DStore.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()
DCallEvent.cpp79 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/llvm-project/clang/lib/StaticAnalyzer/Core/
DStore.cpp96 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local
97 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()
DCallEvent.cpp123 QualType PointeeTy = PT->getPointeeType(); in isVoidPointerToNonConst() local
124 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst()
126 return PointeeTy->isVoidType(); in isVoidPointerToNonConst()
227 QualType PointeeTy = Ty->getPointeeType(); in isPointerToConst() local
228 if (PointeeTy == QualType()) in isPointerToConst()
230 if (!PointeeTy.isConstQualified()) in isPointerToConst()
232 if (PointeeTy->isAnyPointerType()) in isPointerToConst()
/external/clang/lib/Analysis/
DBodyFarm.cpp309 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local
319 PointeeTy), in create_OSAtomicCompareAndSwap()
320 PointeeTy), in create_OSAtomicCompareAndSwap()
329 PointeeTy), in create_OSAtomicCompareAndSwap()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h446 Type *PointeeTy; variable
462 Type *getElementType() const { return PointeeTy; } in getElementType()
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp623 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap() local
633 PointeeTy), in create_OSAtomicCompareAndSwap()
634 PointeeTy), in create_OSAtomicCompareAndSwap()
643 PointeeTy), in create_OSAtomicCompareAndSwap()
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp1343 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
1344 if (!PointeeTy.isNull()) in updateSummaryFromAnnotations()
1345 if (coreFoundation::isCFObjectRef(PointeeTy)) in updateSummaryFromAnnotations()
1348 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
1349 if (!PointeeTy.isNull()) in updateSummaryFromAnnotations()
1350 if (coreFoundation::isCFObjectRef(PointeeTy)) in updateSummaryFromAnnotations()
1384 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
1385 if (!PointeeTy.isNull()) in updateSummaryFromAnnotations()
1386 if (coreFoundation::isCFObjectRef(PointeeTy)) in updateSummaryFromAnnotations()
1389 QualType PointeeTy = pd->getType()->getPointeeType(); in updateSummaryFromAnnotations() local
[all …]
/external/llvm/include/llvm/IR/
DDIBuilder.h139 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
148 DIDerivedType *createMemberPointerType(DIType *PointeeTy, DIType *Class,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h582 Type *PointeeTy; variable
598 Type *getElementType() const { return PointeeTy; } in getElementType()
DDIBuilder.h210 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
222 createMemberPointerType(DIType *PointeeTy, DIType *Class,
/external/llvm/lib/IR/
DDIBuilder.cpp209 DIDerivedType *DIBuilder::createPointerType(DIType *PointeeTy, in createPointerType() argument
215 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType()
219 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument
225 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
DConstantFold.cpp2050 static Constant *ConstantFoldGetElementPtrImpl(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtrImpl() argument
2060 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtrImpl()
2077 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtrImpl()
2190 Type *Ty = PointeeTy; in ConstantFoldGetElementPtrImpl()
2263 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, inBounds); in ConstantFoldGetElementPtrImpl()
2271 return ConstantExpr::getInBoundsGetElementPtr(PointeeTy, C, Idxs); in ConstantFoldGetElementPtrImpl()
/external/llvm-project/llvm/include/llvm/IR/
DDerivedTypes.h664 Type *PointeeTy; variable
680 Type *getElementType() const { return PointeeTy; } in getElementType()
DDIBuilder.h220 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
232 createMemberPointerType(DIType *PointeeTy, DIType *Class,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
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()
DType.cpp653 : Type(E->getContext(), PointerTyID), PointeeTy(E) { in PointerType()
654 ContainedTys = &PointeeTy; in PointerType()
DConstantFold.cpp2189 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument
2196 PointeeTy, C, makeArrayRef((Value *const *)Idxs.data(), Idxs.size())); in ConstantFoldGetElementPtr()
2218 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2358 Type *Ty = PointeeTy; in ConstantFoldGetElementPtr()
2481 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2490 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
/external/llvm-project/llvm/lib/IR/
DType.cpp675 : Type(E->getContext(), PointerTyID), PointeeTy(E) { in PointerType()
676 ContainedTys = &PointeeTy; in PointerType()
DDIBuilder.cpp282 DIType *PointeeTy, in createPointerType() argument
289 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createPointerType()
294 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() argument
300 nullptr, 0, nullptr, PointeeTy, SizeInBits, in createMemberPointerType()
DConstantFold.cpp2333 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument
2340 PointeeTy, C, makeArrayRef((Value *const *)Idxs.data(), Idxs.size())); in ConstantFoldGetElementPtr()
2366 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2509 Type *Ty = PointeeTy; in ConstantFoldGetElementPtr()
2511 auto GEPIter = gep_type_begin(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2635 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2644 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
/external/clang/lib/AST/
DASTContext.cpp5453 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding()
5454 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding()
5455 if (const BuiltinType *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding()
5456 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
5457 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
5459 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
5460 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
5634 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
5641 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
5643 PointeeTy = T->castAs<ReferenceType>()->getPointeeType(); in getObjCEncodingForTypeImpl()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DItaniumCXXABI.cpp3002 void BuildPointerTypeInfo(QualType PointeeTy);
3228 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
3229 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
3234 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
4004 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
4008 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo()
4018 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo()
4026 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
4031 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo()
4045 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
/external/clang/lib/Sema/
DSema.cpp1373 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local
1374 if (!PointeeTy.isNull()) in tryExprAsCall()
1375 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp2409 void BuildPointerTypeInfo(QualType PointeeTy);
2587 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
2588 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
2593 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
3274 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
3277 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerTypeInfo()
3306 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
3310 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerToMemberTypeInfo()

123