Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp82 auto PointeeType = PtrType->getPointeeType(); in VisitCXXDeleteExpr() local
83 while (auto *ET = dyn_cast<ElaboratedType>(PointeeType)) { in VisitCXXDeleteExpr()
85 PointeeType = ET->desugar(); in VisitCXXDeleteExpr()
87 if (auto *ParmType = dyn_cast<TemplateTypeParmType>(PointeeType)) { in VisitCXXDeleteExpr()
94 } else if (auto *RD = dyn_cast<RecordType>(PointeeType)) { in VisitCXXDeleteExpr()
98 dyn_cast<SubstTemplateTypeParmType>(PointeeType)) { in VisitCXXDeleteExpr()
/freebsd/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.cpp1539 QualType Result = T, PointeeType = T->getPointeeType(); in getDeepPointeeType() local
1540 while (!PointeeType.isNull()) { in getDeepPointeeType()
1541 Result = PointeeType; in getDeepPointeeType()
1542 PointeeType = PointeeType->getPointeeType(); in getDeepPointeeType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuth.cpp131 getPointerAuthInfoForPointeeType(CodeGenModule &CGM, QualType PointeeType) { in getPointerAuthInfoForPointeeType() argument
132 if (PointeeType.isNull()) in getPointerAuthInfoForPointeeType()
136 if (PointeeType->isFunctionType()) in getPointerAuthInfoForPointeeType()
137 return CGM.getFunctionPointerAuthInfo(PointeeType); in getPointerAuthInfoForPointeeType()
157 auto PointeeType = PointerType->getPointeeType(); in getPointerAuthInfoForType() local
159 if (PointeeType.isNull()) in getPointerAuthInfoForType()
162 return ::getPointerAuthInfoForPointeeType(CGM, PointeeType); in getPointerAuthInfoForType()
H A DMicrosoftCXXABI.cpp3942 QualType PointeeType = T->getPointeeType(); in decomposeTypeForEH() local
3943 if (!PointeeType.isNull()) { in decomposeTypeForEH()
3944 IsConst = PointeeType.isConstQualified(); in decomposeTypeForEH()
3945 IsVolatile = PointeeType.isVolatileQualified(); in decomposeTypeForEH()
3946 IsUnaligned = PointeeType.getQualifiers().hasUnaligned(); in decomposeTypeForEH()
3952 T = Context.getMemberPointerType(PointeeType.getUnqualifiedType(), in decomposeTypeForEH()
3958 T = Context.getPointerType(PointeeType.getUnqualifiedType()); in decomposeTypeForEH()
4229 QualType PointeeType = T; in getCatchableType() local
4231 PointeeType = T->getPointeeType(); in getCatchableType()
4232 if (const CXXRecordDecl *RD = PointeeType->getAsCXXRecordDecl()) { in getCatchableType()
H A DCGValue.h88 llvm::Value *getAggregatePointer(QualType PointeeType,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp428 void manglePointerExtQualifiers(Qualifiers Quals, QualType PointeeType);
2278 QualType PointeeType) { in manglePointerExtQualifiers() argument
2280 bool is64Bit = PointeeType.isNull() ? PointersAre64Bit : in manglePointerExtQualifiers()
2281 is64BitPointer(PointeeType.getQualifiers()); in manglePointerExtQualifiers()
2282 if (is64Bit && (PointeeType.isNull() || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
2289 (!PointeeType.isNull() && PointeeType.getLocalQualifiers().hasUnaligned())) in manglePointerExtQualifiers()
3228 QualType PointeeType = T->getPointeeType(); in mangleType() local
3230 manglePointerExtQualifiers(Quals, PointeeType); in mangleType()
3231 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) { in mangleType()
3236 mangleQualifiers(PointeeType.getQualifiers(), true); in mangleType()
[all …]
H A DType.cpp303 DependentAddressSpaceType::DependentAddressSpaceType(QualType PointeeType, in DependentAddressSpaceType() argument
309 PointeeType->getDependence() | in DependentAddressSpaceType()
312 AddrSpaceExpr(AddrSpaceExpr), PointeeType(PointeeType), loc(loc) {} in DependentAddressSpaceType()
316 QualType PointeeType, in Profile() argument
318 ID.AddPointer(PointeeType.getAsOpaquePtr()); in Profile()
1868 QualType PointeeType; in getPointeeCXXRecordDecl() local
1870 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl()
1872 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl()
1876 if (const auto *RT = PointeeType->getAs<RecordType>()) in getPointeeCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp125 DataflowAnalysisContext::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
127 PointeeType.isNull() ? PointeeType : PointeeType.getCanonicalType(); in getOrCreateNullPointerValue()
H A DDataflowEnvironment.cpp907 PointerValue &Environment::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
908 return DACtx->getOrCreateNullPointerValue(PointeeType); in getOrCreateNullPointerValue()
1004 QualType PointeeType = Type->getPointeeType(); in createValueUnlessSelfReferential() local
1006 createLocAndMaybeValue(PointeeType, Visited, Depth, CreatedValuesCount); in createValueUnlessSelfReferential()
/freebsd/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/contrib/llvm-project/clang/include/clang/AST/
H A DType.h3164 QualType PointeeType;
3168 PointeeType(Pointee) {}
3171 QualType getPointeeType() const { return PointeeType; }
3375 QualType PointeeType;
3379 PointeeType(Pointee) {}
3383 QualType getPointeeType() const { return PointeeType; }
3403 QualType PointeeType;
3409 PointeeType(Referencee) {
3418 QualType getPointeeTypeAsWritten() const { return PointeeType; }
3424 T = T->PointeeType->castAs<ReferenceType>();
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.h129 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
H A DDataflowEnvironment.h432 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h50 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
1067 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
1070 assert(PointeeType && Ptr && "can't get GEPCost of nullptr"); in getGEPCost()
1078 auto GTI = gep_type_begin(PointeeType, Operands); in getGEPCost()
H A DTargetTransformInfo.h302 getGEPCost(Type *PointeeType, const Value *Ptr,
1815 virtual InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr,
2206 getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
2209 return Impl.getGEPCost(PointeeType, Ptr, Operands, AccessType, CostKind); in getGEPCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h925 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
938 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
943 assert(PointeeType && "Must specify element type");
944 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
948 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
953 Create(PointeeType, Ptr, IdxList, NameStr, InsertBefore);
961 CreateInBounds(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList,
964 return Create(PointeeType, Ptr, IdxList, GEPNoWrapFlags::inBounds(),
1119 GetElementPtrInst::GetElementPtrInst(Type *PointeeType, Value *Ptr,
1126 SourceElementType(PointeeType),
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h838 QualType RebuildPointerType(QualType PointeeType, SourceLocation Sigil);
844 QualType RebuildBlockPointerType(QualType PointeeType, SourceLocation Sigil);
863 QualType RebuildMemberPointerType(QualType PointeeType, QualType ClassType,
890 QualType RebuildObjCObjectPointerType(QualType PointeeType,
997 QualType RebuildDependentAddressSpaceType(QualType PointeeType,
5303 QualType PointeeType in TransformPointerType() local
5305 if (PointeeType.isNull()) in TransformPointerType()
5309 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
5314 Result = SemaRef.Context.getObjCObjectPointerType(PointeeType); in TransformPointerType()
5322 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.h74 void setPointeeType(uint32_t PointeeType);
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1148 QualType PointeeType = PT->getPointeeType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1149 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp945 QualType PointeeType = Call->getArg(1) in interp__builtin_atomic_lock_free() local
951 if (!PointeeType->isIncompleteType() && in interp__builtin_atomic_lock_free()
952 S.getCtx().getTypeAlignInChars(PointeeType) >= Size) in interp__builtin_atomic_lock_free()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h821 LLVMMetadataRef PointeeType,

12