Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp178 auto PointeeType = Symbol.getPointeeType(); in dump() local
179 if (!PointeeType) in dump()
181 PointeeType->dump(*this); in dump()
182 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
187 } else if (isa<PDBSymbolTypeArray>(PointeeType)) { in dump()
201 auto PointeeType = Symbol.getPointeeType(); in dumpRight() local
202 assert(PointeeType); in dumpRight()
203 if (!PointeeType) in dumpRight()
205 if (isa<PDBSymbolTypeFunctionSig>(PointeeType) || in dumpRight()
206 isa<PDBSymbolTypeArray>(PointeeType)) { in dumpRight()
[all …]
H A DPrettyTypedefDumper.cpp59 auto PointeeType = Symbol.getPointeeType(); in dump() local
60 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
67 PointeeType->dump(*this); in dump()
H A DPrettyFunctionDumper.cpp243 auto PointeeType = Symbol.getPointeeType(); in dump() local
244 if (!PointeeType) in dump()
247 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
257 PointeeType->dump(*this); in dump()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp187 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody() local
188 if (PointeeType->isVoidType()) in checkASTCodeBody()
203 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
208 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
229 << PointeeType.getAsString() << "', which is incompatible with " in checkASTCodeBody()
H A DMallocChecker.cpp1038 QualType Result = T, PointeeType = T->getPointeeType(); in getDeepPointeeType() local
1039 while (!PointeeType.isNull()) { in getDeepPointeeType()
1040 Result = PointeeType; in getDeepPointeeType()
1041 PointeeType = PointeeType->getPointeeType(); in getDeepPointeeType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp1680 (PointeeType.isNull() || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
1687 (!PointeeType.isNull() && PointeeType.getLocalQualifiers().hasUnaligned())) in manglePointerExtQualifiers()
2527 QualType PointeeType = T->getPointeeType(); in mangleType() local
2537 mangleType(PointeeType, Range, QMM_Drop); in mangleType()
2564 QualType PointeeType = T->getPointeeType(); in mangleType() local
2569 mangleAddressSpaceType(PointeeType, PointeeType.getQualifiers(), Range); in mangleType()
2571 mangleType(PointeeType, Range); in mangleType()
2576 QualType PointeeType = T->getPointeeType(); in mangleType() local
2588 mangleType(PointeeType, Range); in mangleType()
2600 mangleType(PointeeType, Range); in mangleType()
[all …]
H A DType.cpp224 const ASTContext &Context, QualType PointeeType, QualType can, in DependentAddressSpaceType() argument
228 PointeeType->isVariablyModifiedType(), in DependentAddressSpaceType()
229 (PointeeType->containsUnexpandedParameterPack() || in DependentAddressSpaceType()
232 Context(Context), AddrSpaceExpr(AddrSpaceExpr), PointeeType(PointeeType), in DependentAddressSpaceType()
237 QualType PointeeType, in Profile() argument
239 ID.AddPointer(PointeeType.getAsOpaquePtr()); in Profile()
1599 QualType PointeeType; in getPointeeCXXRecordDecl() local
1601 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl()
1603 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl()
1607 if (const auto *RT = PointeeType->getAs<RecordType>()) in getPointeeCXXRecordDecl()
H A DDeclCXX.cpp2403 CanQualType PointeeType in isCopyOrMoveConstructor() local
2407 if (PointeeType.getUnqualifiedType() != ClassTy) in isCopyOrMoveConstructor()
2413 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
H A DExprConstant.cpp3479 QualType PointeeType; in foundPointer() local
3481 PointeeType = PT->getPointeeType(); in foundPointer()
3483 if (PointeeType.isNull() || !RHS.isInt() || in foundPointer()
3495 if (!HandleLValueArrayAdjustment(Info, E, LVal, PointeeType, Offset)) in foundPointer()
3635 QualType PointeeType; in foundPointer() local
3637 PointeeType = PT->getPointeeType(); in foundPointer()
3645 if (!HandleLValueArrayAdjustment(Info, E, LVal, PointeeType, in foundPointer()
8588 QualType PointeeType = E->getArg(1)->IgnoreImpCasts()->getType()-> in VisitBuiltinCallExpr() local
8590 if (!PointeeType->isIncompleteType() && in VisitBuiltinCallExpr()
8591 Info.Ctx.getTypeAlignInChars(PointeeType) >= Size) { in VisitBuiltinCallExpr()
H A DASTContext.cpp2987 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getLValueReferenceType() local
2988 Canonical = getLValueReferenceType(getCanonicalType(PointeeType)); in getLValueReferenceType()
3023 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getRValueReferenceType() local
3024 Canonical = getRValueReferenceType(getCanonicalType(PointeeType)); in getRValueReferenceType()
3526 QualType ASTContext::getDependentAddressSpaceType(QualType PointeeType, in getDependentAddressSpaceType() argument
3531 QualType canonPointeeType = getCanonicalType(PointeeType); in getDependentAddressSpaceType()
3549 if (canonPointeeType == PointeeType && in getDependentAddressSpaceType()
3555 DependentAddressSpaceType(*this, PointeeType, QualType(canonTy, 0), in getDependentAddressSpaceType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp538 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
540 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
546 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
547 if (PointeeType->isVoidTy()) in ConvertType()
548 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
550 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
640 llvm::Type *PointeeType = ConvertTypeForMem(FTy); in ConvertType() local
642 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
H A DMicrosoftCXXABI.cpp3723 QualType PointeeType = T->getPointeeType(); in decomposeTypeForEH() local
3724 if (!PointeeType.isNull()) { in decomposeTypeForEH()
3725 IsConst = PointeeType.isConstQualified(); in decomposeTypeForEH()
3726 IsVolatile = PointeeType.isVolatileQualified(); in decomposeTypeForEH()
3727 IsUnaligned = PointeeType.getQualifiers().hasUnaligned(); in decomposeTypeForEH()
3733 T = Context.getMemberPointerType(PointeeType.getUnqualifiedType(), in decomposeTypeForEH()
3739 T = Context.getPointerType(PointeeType.getUnqualifiedType()); in decomposeTypeForEH()
4020 QualType PointeeType = T; in getCatchableType() local
4022 PointeeType = T->getPointeeType(); in getCatchableType()
4023 if (const CXXRecordDecl *RD = PointeeType->getAsCXXRecordDecl()) { in getCatchableType()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DSmallSet.h249 template <typename PointeeType, unsigned N>
250 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h2540 QualType PointeeType;
2547 PointeeType(Pointee) {}
2643 QualType PointeeType;
2650 PointeeType(Pointee) {}
2674 QualType PointeeType;
2683 PointeeType(Referencee) {
2699 return T->PointeeType;
2759 QualType PointeeType;
3091 QualType PointeeType;
5797 QualType PointeeType;
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstructions.h864 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
867 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
885 if (!PointeeType)
886 PointeeType =
890 PointeeType ==
901 if (!PointeeType)
902 PointeeType =
906 PointeeType ==
1094 SourceElementType(PointeeType),
1095 ResultElementType(getIndexedType(PointeeType, IdxList)) {
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h106 int getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
713 int getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
719 PointeeType && in getGEPCost()
729 auto GTI = gep_type_begin(PointeeType, Operands); in getGEPCost()
H A DTargetTransformInfo.h193 int getGEPCost(Type *PointeeType, const Value *Ptr,
1035 virtual int getGEPCost(Type *PointeeType, const Value *Ptr,
1231 int getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
1233 return Impl.getGEPCost(PointeeType, Ptr, Operands); in getGEPCost()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DTreeTransform.h4468 QualType PointeeType in TransformPointerType() local
4470 if (PointeeType.isNull()) in TransformPointerType()
4474 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
4487 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
4506 QualType PointeeType in TransformBlockPointerType() local
4508 if (PointeeType.isNull()) in TransformBlockPointerType()
4537 if (PointeeType.isNull()) in TransformReferenceType()
4585 if (PointeeType.isNull()) in TransformMemberPointerType()
4609 PointeeType != T->getPointeeType() || in TransformMemberPointerType()
6481 if (PointeeType.isNull()) in TransformObjCObjectPointerType()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1141 QualType PointeeType = PT->getPointeeType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1142 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp81 int TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
83 return TTIImpl->getGEPCost(PointeeType, Ptr, Operands); in getGEPCost()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DDebugInfo.h676 LLVMMetadataRef PointeeType,
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h278 int getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
280 return BaseT::getGEPCost(PointeeType, Ptr, Operands); in getGEPCost()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDebugInfo.cpp1118 LLVMMetadataRef PointeeType, in LLVMDIBuilderCreateMemberPointerType() argument
1124 unwrapDI<DIType>(PointeeType), in LLVMDIBuilderCreateMemberPointerType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp5907 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5908 return Context.getPointerType(PointeeType); in readTypeRecord()
5938 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5939 return Context.getBlockPointerType(PointeeType); in readTypeRecord()
5947 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5948 return Context.getLValueReferenceType(PointeeType, Record[1]); in readTypeRecord()
5956 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5957 return Context.getRValueReferenceType(PointeeType); in readTypeRecord()
5965 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5967 if (PointeeType.isNull() || ClassType.isNull()) in readTypeRecord()
[all …]
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2404 Type *PointeeType = nullptr; in parseConstants() local
2407 PointeeType = getTypeByID(Record[OpNum++]); in parseConstants()
2426 if (PointeeType && in parseConstants()
2427 PointeeType != in parseConstants()
2437 V = ConstantExpr::getGetElementPtr(PointeeType, Elts[0], Indices, in parseConstants()

12