Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A 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()
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDerivedTypes.h638 Type *PointeeTy; variable
665 return PointeeTy; in getElementType()
668 bool isOpaque() const { return !PointeeTy; } in isOpaque()
684 return isOpaque() || PointeeTy == Ty; in isOpaqueOrPointeeTypeMatches()
H A DDIBuilder.h220 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
232 createMemberPointerType(DIType *PointeeTy, DIType *Class,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DType.cpp717 : Type(E->getContext(), PointerTyID), PointeeTy(E) { in PointerType()
718 ContainedTys = &PointeeTy; in PointerType()
724 : Type(C, PointerTyID), PointeeTy(nullptr) { in PointerType()
H A DConstantFold.cpp2357 Constant *llvm::ConstantFoldGetElementPtr(Type *PointeeTy, Constant *C, in ConstantFoldGetElementPtr() argument
2364 PointeeTy, C, makeArrayRef((Value *const *)Idxs.data(), Idxs.size())); in ConstantFoldGetElementPtr()
2390 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2533 Type *Ty = PointeeTy; in ConstantFoldGetElementPtr()
2535 auto GEPIter = gep_type_begin(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2659 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2668 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
H A 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()
H A DDebugInfo.cpp1144 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, in LLVMDIBuilderCreatePointerType() argument
1147 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3071 void BuildPointerTypeInfo(QualType PointeeTy);
3307 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
3308 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
3313 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
4100 void ItaniumRTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
4104 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerTypeInfo()
4114 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerTypeInfo()
4122 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
4127 unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy); in BuildPointerToMemberTypeInfo()
4141 ItaniumRTTIBuilder(CXXABI).BuildTypeInfo(PointeeTy); in BuildPointerToMemberTypeInfo()
H A DCGOpenMPRuntimeGPU.cpp3932 QualType PointeeTy = cast<ReferenceType>(NonQualTy)->getPointeeType(); in translateParameter() local
3935 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter()
3938 PointeeTy.isConstant(CGM.getContext())) { in translateParameter()
3939 PointeeTy = CGM.getContext().getAddrSpaceQualType(PointeeTy, in translateParameter()
3943 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
H A DCGDebugInfo.cpp1129 QualType PointeeTy, in CreatePointerLikeType() argument
1134 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()
1142 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType()
1145 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
1625 QualType PointeeTy = ThisPtrTy->getPointeeType(); in getOrCreateInstanceMethodType() local
1626 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType()
1629 llvm::DIType *PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType()
H A DCGDebugInfo.h243 QualType PointeeTy, llvm::DIFile *F);
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp559 QualType PointeeTy = ArgRegion->getValueType(); in updateOutParameters() local
570 RefVal::makeNotOwned(AE.getObjKind(), PointeeTy)); in updateOutParameters()
574 RefVal::makeOwned(ObjKind::OS, PointeeTy)); in updateOutParameters()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c487 value Builder, LLVMMetadataRef PointeeTy, value SizeInBits, in llvm_dibuild_create_pointer_type_native() argument
490 DIBuilder_val(Builder), PointeeTy, (uint64_t)Int_val(SizeInBits), in llvm_dibuild_create_pointer_type_native()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp5600 Type *PointeeTy = PrivStructType->getElementType(u)->getPointerTo(); in createInitialization() local
5602 constructPointer(PointeeTy, PrivType, &Base, in createInitialization()
5607 Type *PointeeTy = PrivArrayType->getElementType(); in createInitialization() local
5608 Type *PointeePtrTy = PointeeTy->getPointerTo(); in createInitialization()
5609 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createInitialization()
5640 Type *PointeeTy = PrivStructType->getElementType(u); in createReplacementValues() local
5642 constructPointer(PointeeTy->getPointerTo(), PrivType, Base, in createReplacementValues()
5644 LoadInst *L = new LoadInst(PointeeTy, Ptr, "", IP); in createReplacementValues()
5649 Type *PointeeTy = PrivArrayType->getElementType(); in createReplacementValues() local
5650 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy); in createReplacementValues()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp7171 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding()
7172 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding()
7173 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding()
7174 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
7175 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
7177 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
7178 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
7442 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
7449 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
7451 PointeeTy = T->castAs<ReferenceType>()->getPointeeType(); in getObjCEncodingForTypeImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DDebugInfo.h701 LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy,
/netbsd-src/external/apache2/llvm/dist/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()
4520 QualType PointeeTy; in convertObjCTypeToCStyleType() local
4522 PointeeTy = PT->getPointeeType(); in convertObjCTypeToCStyleType()
4523 if (const FunctionType *FT = PointeeTy->getAs<FunctionType>()) { in convertObjCTypeToCStyleType()
H A DRewriteObjC.cpp1049 QualType PointeeTy; in RewriteTypeIntoString() local
1051 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString()
1053 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()
1054 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOverload.cpp7878 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local
7883 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
7886 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
7893 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants()
7896 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants()
7910 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType())))) in AddPointerWithMoreQualifiedTypeVariants()
7914 QualType QPointeeTy = Context.getCVRQualifiedType(PointeeTy, CVR); in AddPointerWithMoreQualifiedTypeVariants()
7949 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
7954 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants()
7960 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants()
[all …]
H A DSema.cpp2294 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall() local
2295 if (!PointeeTy.isNull()) in tryExprAsCall()
2296 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
H A DSemaChecking.cpp10096 QualType PointeeTy; in CheckMemaccessArguments() local
10098 PointeeTy = DestPtrTy->getPointeeType(); in CheckMemaccessArguments()
10102 if (PointeeTy->isVoidType()) in CheckMemaccessArguments()
10127 if (!PointeeTy->isIncompleteType() && in CheckMemaccessArguments()
10128 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments()
10151 << PointeeTy in CheckMemaccessArguments()
10168 if (PointeeTy->isRecordType() && in CheckMemaccessArguments()
10173 << PointeeTy << Dest->getSourceRange() in CheckMemaccessArguments()
10179 PointeeTy = DestTy; in CheckMemaccessArguments()
10182 if (PointeeTy == QualType()) in CheckMemaccessArguments()
[all …]
H A DSemaExpr.cpp10408 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType() local
10410 Loc, PointeeTy, in checkArithmeticIncompletePointerType()
10431 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand() local
10432 if (PointeeTy->isVoidType()) { in checkArithmeticOpPointerOperand()
10436 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
17377 QualType PointeeTy = PT->getPointeeType(); in captureInBlock() local
17379 if (!Invalid && PointeeTy->getAs<ObjCObjectPointerType>() && in captureInBlock()
17380 PointeeTy.getObjCLifetime() == Qualifiers::OCL_Autoreleasing && in captureInBlock()
17381 !S.Context.hasDirectOwnershipQualifier(PointeeTy)) { in captureInBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp803 Type *PointeeTy = PtrTy->getElementType(); in solveTypeName() local
804 auto Name = solveTypeName(PointeeTy); in solveTypeName()

12