Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp179 auto PointeeType = Symbol.getPointeeType(); in dump() local
180 if (!PointeeType) in dump()
182 PointeeType->dump(*this); in dump()
183 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
188 } else if (isa<PDBSymbolTypeArray>(PointeeType)) { in dump()
202 auto PointeeType = Symbol.getPointeeType(); in dumpRight() local
203 assert(PointeeType); in dumpRight()
204 if (!PointeeType) in dumpRight()
206 if (isa<PDBSymbolTypeFunctionSig>(PointeeType) || in dumpRight()
207 isa<PDBSymbolTypeArray>(PointeeType)) { in dumpRight()
[all …]
H A DPrettyTypedefDumper.cpp60 auto PointeeType = Symbol.getPointeeType(); in dump() local
61 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
68 PointeeType->dump(*this); in dump()
H A DPrettyFunctionDumper.cpp246 auto PointeeType = Symbol.getPointeeType(); in dump() local
247 if (!PointeeType) in dump()
250 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
260 PointeeType->dump(*this); in dump()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp190 QualType PointeeType = CastedType->getPointeeType(); in checkASTCodeBody() local
191 if (PointeeType->isVoidType()) in checkASTCodeBody()
205 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
210 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
230 OS << " is converted to a pointer of type '" << PointeeType in checkASTCodeBody()
H A DMallocChecker.cpp1565 QualType Result = T, PointeeType = T->getPointeeType(); in getDeepPointeeType() local
1566 while (!PointeeType.isNull()) { in getDeepPointeeType()
1567 Result = PointeeType; in getDeepPointeeType()
1568 PointeeType = PointeeType->getPointeeType(); in getDeepPointeeType()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp2179 if (is64Bit && (PointeeType.isNull() || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
2186 (!PointeeType.isNull() && PointeeType.getLocalQualifiers().hasUnaligned())) in manglePointerExtQualifiers()
3087 QualType PointeeType = T->getPointeeType(); in mangleType() local
3097 mangleType(PointeeType, Range, QMM_Drop); in mangleType()
3124 QualType PointeeType = T->getPointeeType(); in mangleType() local
3132 mangleType(PointeeType, Range); in mangleType()
3134 mangleAddressSpaceType(PointeeType, PointeeType.getQualifiers(), Range); in mangleType()
3139 QualType PointeeType = T->getPointeeType(); in mangleType() local
3151 mangleType(PointeeType, Range); in mangleType()
3163 mangleType(PointeeType, Range); in mangleType()
[all …]
H A DType.cpp287 DependentAddressSpaceType::DependentAddressSpaceType(QualType PointeeType, in DependentAddressSpaceType() argument
293 PointeeType->getDependence() | in DependentAddressSpaceType()
296 AddrSpaceExpr(AddrSpaceExpr), PointeeType(PointeeType), loc(loc) {} in DependentAddressSpaceType()
300 QualType PointeeType, in Profile() argument
302 ID.AddPointer(PointeeType.getAsOpaquePtr()); in Profile()
1805 QualType PointeeType; in getPointeeCXXRecordDecl() local
1807 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl()
1809 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl()
1813 if (const auto *RT = PointeeType->getAs<RecordType>()) in getPointeeCXXRecordDecl()
H A DDeclCXX.cpp2783 CanQualType PointeeType in isCopyOrMoveConstructor() local
2787 if (PointeeType.getUnqualifiedType() != ClassTy) in isCopyOrMoveConstructor()
2793 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallSet.h255 template <typename PointeeType, unsigned N>
256 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp124 DataflowAnalysisContext::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
126 PointeeType.isNull() ? PointeeType : PointeeType.getCanonicalType(); in getOrCreateNullPointerValue()
H A DDataflowEnvironment.cpp801 PointerValue &Environment::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
802 return DACtx->getOrCreateNullPointerValue(PointeeType); in getOrCreateNullPointerValue()
884 QualType PointeeType = Type->getPointeeType(); in createValueUnlessSelfReferential() local
886 createLocAndMaybeValue(PointeeType, Visited, Depth, CreatedValuesCount); in createValueUnlessSelfReferential()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DType.h2897 QualType PointeeType;
2901 PointeeType(Pointee) {}
2978 QualType PointeeType;
2982 PointeeType(Pointee) {}
3006 QualType PointeeType;
3012 PointeeType(Referencee) {
3028 return T->PointeeType;
3088 QualType PointeeType;
3402 QualType PointeeType;
6484 QualType PointeeType;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h958 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
961 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
974 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
979 assert(PointeeType && "Must specify element type");
984 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
989 assert(PointeeType && "Must specify element type");
1011 Create(PointeeType, Ptr, IdxList, NameStr, InsertAtEnd);
1161 SourceElementType(PointeeType),
1162 ResultElementType(getIndexedType(PointeeType, IdxList)) {
1173 SourceElementType(PointeeType),
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.h141 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
H A DDataflowEnvironment.h396 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h49 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
1024 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
1027 assert(PointeeType && Ptr && "can't get GEPCost of nullptr"); in getGEPCost()
1035 auto GTI = gep_type_begin(PointeeType, Operands); in getGEPCost()
H A DTargetTransformInfo.h298 getGEPCost(Type *PointeeType, const Value *Ptr,
1753 virtual InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr,
2130 getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
2133 return Impl.getGEPCost(PointeeType, Ptr, Operands, AccessType, CostKind); in getGEPCost()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h5206 QualType PointeeType in TransformPointerType() local
5208 if (PointeeType.isNull()) in TransformPointerType()
5212 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
5225 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
5244 QualType PointeeType in TransformBlockPointerType() local
5246 if (PointeeType.isNull()) in TransformBlockPointerType()
5275 if (PointeeType.isNull()) in TransformReferenceType()
5323 if (PointeeType.isNull()) in TransformMemberPointerType()
5347 PointeeType != T->getPointeeType() || in TransformMemberPointerType()
7497 if (PointeeType.isNull()) in TransformObjCObjectPointerType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3929 QualType PointeeType = T->getPointeeType(); in decomposeTypeForEH() local
3930 if (!PointeeType.isNull()) { in decomposeTypeForEH()
3931 IsConst = PointeeType.isConstQualified(); in decomposeTypeForEH()
3932 IsVolatile = PointeeType.isVolatileQualified(); in decomposeTypeForEH()
3933 IsUnaligned = PointeeType.getQualifiers().hasUnaligned(); in decomposeTypeForEH()
3939 T = Context.getMemberPointerType(PointeeType.getUnqualifiedType(), in decomposeTypeForEH()
3945 T = Context.getPointerType(PointeeType.getUnqualifiedType()); in decomposeTypeForEH()
4216 QualType PointeeType = T; in getCatchableType() local
4218 PointeeType = T->getPointeeType(); in getCatchableType()
4219 if (const CXXRecordDecl *RD = PointeeType->getAsCXXRecordDecl()) { in getCatchableType()
H A DCGExpr.cpp2791 QualType PointeeType = RefLVal.getType()->getPointeeType(); in EmitLoadOfReference() local
2793 PointeeType, PointeeBaseInfo, PointeeTBAAInfo, in EmitLoadOfReference()
2795 return Address(Load, ConvertTypeForMem(PointeeType), Align); in EmitLoadOfReference()
3958 QualType PointeeType = E->getType()->getPointeeType(); in hasBPFPreserveStaticOffset() local
3959 if (PointeeType.isNull()) in hasBPFPreserveStaticOffset()
3961 if (const auto *BaseDecl = PointeeType->getAsRecordDecl()) in hasBPFPreserveStaticOffset()
5732 auto PointeeType = cast<PointerType>(CalleeType)->getPointeeType(); in EmitCall() local
5738 !isa<FunctionNoProtoType>(PointeeType)) { in EmitCall()
5742 auto *TypeHash = getUBSanFunctionTypeHash(PointeeType); in EmitCall()
5801 const auto *FnType = cast<FunctionType>(PointeeType); in EmitCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.h74 void setPointeeType(uint32_t PointeeType);
H A DBTFDebug.cpp105 void BTFTypeDerived::setPointeeType(uint32_t PointeeType) { in setPointeeType() argument
106 BTFType.Type = PointeeType; in setPointeeType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1147 QualType PointeeType = PT->getPointeeType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1148 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h808 LLVMMetadataRef PointeeType,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp245 Type *PointeeType, const Value *Ptr, ArrayRef<const Value *> Operands, in getGEPCost() argument
247 return TTIImpl->getGEPCost(PointeeType, Ptr, Operands, AccessType, CostKind); in getGEPCost()

12