Home
last modified time | relevance | path

Searched refs:PointeeType (Results 1 – 22 of 22) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DSmallSet.h124 template <typename PointeeType, unsigned N>
125 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp188 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody() local
189 if (PointeeType->isVoidType()) in checkASTCodeBody()
204 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
209 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
230 << PointeeType.getAsString() << "', which is incompatible with " in checkASTCodeBody()
H A DMallocChecker.cpp794 QualType Result = T, PointeeType = T->getPointeeType(); in getDeepPointeeType() local
795 while (!PointeeType.isNull()) { in getDeepPointeeType()
796 Result = PointeeType; in getDeepPointeeType()
797 PointeeType = PointeeType->getPointeeType(); in getDeepPointeeType()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCodeGenTypes.cpp416 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
418 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
424 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
425 if (PointeeType->isVoidTy()) in ConvertType()
426 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
428 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
584 llvm::Type *PointeeType = ConvertTypeForMem(FTy); in ConvertType() local
586 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
H A DCGException.cpp929 QualType PointeeType = PT->getPointeeType(); in InitCatchParam() local
933 if (!PointeeType->isRecordType()) { in InitCatchParam()
H A DCGDebugInfo.cpp1028 llvm::DIType PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType() local
1030 DBuilder.createPointerType(PointeeType, Size, Align); in getOrCreateInstanceMethodType()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DType.h1997 QualType PointeeType;
2004 PointeeType(Pointee) {
2010 QualType getPointeeType() const { return PointeeType; }
2021 Qualifiers thisQuals = PointeeType.getQualifiers();
2104 QualType PointeeType; // Block is some kind of pointer type
2110 PointeeType(Pointee) {
2117 QualType getPointeeType() const { return PointeeType; }
2137 QualType PointeeType;
2146 PointeeType(Referencee)
2156 QualType getPointeeTypeAsWritten() const { return PointeeType; }
[all …]
/minix3/external/bsd/llvm/dist/llvm/bindings/go/llvm/
H A DDIBuilderBindings.cpp118 LLVMMetadataRef PointeeType, in LLVMDIBuilderCreatePointerType() argument
123 DIDerivedType T = D->createPointerType(unwrapDI<DIType>(PointeeType), in LLVMDIBuilderCreatePointerType()
H A DDIBuilderBindings.h72 LLVMMetadataRef PointeeType,
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DMicrosoftMangle.cpp250 void manglePointerExtQualifiers(Qualifiers Quals, const Type *PointeeType);
1303 const Type *PointeeType) { in manglePointerExtQualifiers() argument
1305 if (PointersAre64Bit && (!PointeeType || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
1838 QualType PointeeType = T->getPointeeType(); in mangleType() local
1839 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) { in mangleType()
1844 mangleQualifiers(PointeeType.getQualifiers(), true); in mangleType()
1846 mangleType(PointeeType, Range, QMM_Drop); in mangleType()
H A DType.cpp529 QualType PointeeType; in getPointeeCXXRecordDecl() local
531 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl()
533 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl()
537 if (const RecordType *RT = PointeeType->getAs<RecordType>()) in getPointeeCXXRecordDecl()
H A DDeclCXX.cpp1799 CanQualType PointeeType in isCopyOrMoveConstructor() local
1803 if (PointeeType.getUnqualifiedType() != ClassTy) in isCopyOrMoveConstructor()
1809 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
H A DExprConstant.cpp2835 QualType PointeeType; in foundPointer() local
2837 PointeeType = PT->getPointeeType(); in foundPointer()
2839 if (PointeeType.isNull() || !RHS.isInt() || in foundPointer()
2851 if (!HandleLValueArrayAdjustment(Info, E, LVal, PointeeType, Offset)) in foundPointer()
2993 QualType PointeeType; in foundPointer() local
2995 PointeeType = PT->getPointeeType(); in foundPointer()
3003 if (!HandleLValueArrayAdjustment(Info, E, LVal, PointeeType, in foundPointer()
6470 QualType PointeeType = E->getArg(1)->IgnoreImpCasts()->getType()-> in VisitCallExpr() local
6472 if (!PointeeType->isIncompleteType() && in VisitCallExpr()
6473 Info.Ctx.getTypeAlignInChars(PointeeType) >= Size) { in VisitCallExpr()
H A DItaniumMangle.cpp2106 QualType PointeeType = T->getPointeeType(); in mangleType() local
2107 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(PointeeType)) { in mangleType()
2128 mangleType(PointeeType); in mangleType()
H A DASTContext.cpp2343 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getLValueReferenceType() local
2344 Canonical = getLValueReferenceType(getCanonicalType(PointeeType)); in getLValueReferenceType()
2380 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getRValueReferenceType() local
2381 Canonical = getRValueReferenceType(getCanonicalType(PointeeType)); in getRValueReferenceType()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DTreeTransform.h665 QualType RebuildPointerType(QualType PointeeType, SourceLocation Sigil);
671 QualType RebuildBlockPointerType(QualType PointeeType, SourceLocation Sigil);
690 QualType RebuildMemberPointerType(QualType PointeeType, QualType ClassType,
3915 QualType PointeeType in TransformPointerType() local
3917 if (PointeeType.isNull()) in TransformPointerType()
3921 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
3926 Result = SemaRef.Context.getObjCObjectPointerType(PointeeType); in TransformPointerType()
3934 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
3935 Result = getDerived().RebuildPointerType(PointeeType, TL.getSigilLoc()); in TransformPointerType()
3953 QualType PointeeType in TransformBlockPointerType() local
[all …]
H A DSemaTemplateDeduction.cpp1285 QualType PointeeType; in DeduceTemplateArgumentsByTypeMatch() local
1287 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1290 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1298 PointeeType, in DeduceTemplateArgumentsByTypeMatch()
3141 QualType PointeeType = ParamRefType->getPointeeType(); in AdjustFunctionParmAndArgTypesForDeduction() local
3152 if (!PointeeType.getQualifiers() && in AdjustFunctionParmAndArgTypesForDeduction()
3153 isa<TemplateTypeParmType>(PointeeType) && in AdjustFunctionParmAndArgTypesForDeduction()
3162 ParamType = PointeeType; in AdjustFunctionParmAndArgTypesForDeduction()
H A DSemaOverload.cpp7923 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7924 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7927 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
7938 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7939 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7942 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
H A DSemaExprObjC.cpp460 QualType PointeeType = PT->getPointeeType(); in BuildObjCBoxedExpr() local
461 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
H A DSemaDecl.cpp6750 QualType PointeeType = PT->getPointeeType(); in getOpenCLKernelParameterType() local
6751 if (PointeeType->isPointerType()) in getOpenCLKernelParameterType()
6753 return PointeeType.getAddressSpace() == 0 ? PrivatePtrKernelParam in getOpenCLKernelParameterType()
/minix3/external/bsd/llvm/dist/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1130 QualType PointeeType = PT->getPointeeType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1131 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp5210 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5211 return Context.getPointerType(PointeeType); in readTypeRecord()
5241 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5242 return Context.getBlockPointerType(PointeeType); in readTypeRecord()
5250 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5251 return Context.getLValueReferenceType(PointeeType, Record[1]); in readTypeRecord()
5259 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5260 return Context.getRValueReferenceType(PointeeType); in readTypeRecord()
5268 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5270 if (PointeeType.isNull() || ClassType.isNull()) in readTypeRecord()
[all …]