Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp190 QualType PointeeType = CastedType->getPointeeType(); in checkASTCodeBody() local
191 if (PointeeType->isVoidType()) in checkASTCodeBody()
206 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
211 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
231 OS << " is converted to a pointer of type '" << PointeeType in checkASTCodeBody()
H A DMallocChecker.cpp1559 QualType Result = T, PointeeType = T->getPointeeType(); in getDeepPointeeType() local
1560 while (!PointeeType.isNull()) { in getDeepPointeeType()
1561 Result = PointeeType; in getDeepPointeeType()
1562 PointeeType = PointeeType->getPointeeType(); in getDeepPointeeType()
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp613 return DACtx->getOrCreateNullPointerValue(PointeeType); in getOrCreateNullPointerValue()
705 QualType PointeeType = Type->castAs<ReferenceType>()->getPointeeType(); in createValueUnlessSelfReferential() local
706 auto &PointeeLoc = createStorageLocation(PointeeType); in createValueUnlessSelfReferential()
708 if (Visited.insert(PointeeType.getCanonicalType()).second) { in createValueUnlessSelfReferential()
710 PointeeType, Visited, Depth, CreatedValuesCount); in createValueUnlessSelfReferential()
711 Visited.erase(PointeeType.getCanonicalType()); in createValueUnlessSelfReferential()
722 QualType PointeeType = Type->castAs<PointerType>()->getPointeeType(); in createValueUnlessSelfReferential() local
723 auto &PointeeLoc = createStorageLocation(PointeeType); in createValueUnlessSelfReferential()
725 if (Visited.insert(PointeeType.getCanonicalType()).second) { in createValueUnlessSelfReferential()
727 PointeeType, Visited, Depth, CreatedValuesCount); in createValueUnlessSelfReferential()
[all …]
H A DDataflowAnalysisContext.cpp80 DataflowAnalysisContext::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
82 PointeeType.isNull() ? PointeeType : PointeeType.getCanonicalType(); in getOrCreateNullPointerValue()
/openbsd/gnu/llvm/clang/lib/AST/
H A DMicrosoftMangle.cpp2063 if (is64Bit && (PointeeType.isNull() || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
2070 (!PointeeType.isNull() && PointeeType.getLocalQualifiers().hasUnaligned())) in manglePointerExtQualifiers()
2953 QualType PointeeType = T->getPointeeType(); in mangleType() local
2963 mangleType(PointeeType, Range, QMM_Drop); in mangleType()
2990 QualType PointeeType = T->getPointeeType(); in mangleType() local
2998 mangleType(PointeeType, Range); in mangleType()
3000 mangleAddressSpaceType(PointeeType, PointeeType.getQualifiers(), Range); in mangleType()
3005 QualType PointeeType = T->getPointeeType(); in mangleType() local
3017 mangleType(PointeeType, Range); in mangleType()
3029 mangleType(PointeeType, Range); in mangleType()
[all …]
H A DType.cpp265 QualType PointeeType, in DependentAddressSpaceType() argument
271 PointeeType->getDependence() | in DependentAddressSpaceType()
274 Context(Context), AddrSpaceExpr(AddrSpaceExpr), PointeeType(PointeeType), in DependentAddressSpaceType()
279 QualType PointeeType, in Profile() argument
281 ID.AddPointer(PointeeType.getAsOpaquePtr()); in Profile()
1769 QualType PointeeType; in getPointeeCXXRecordDecl() local
1771 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl()
1773 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl()
1777 if (const auto *RT = PointeeType->getAs<RecordType>()) in getPointeeCXXRecordDecl()
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DSmallSet.h253 template <typename PointeeType, unsigned N>
254 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTypes.cpp657 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
659 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
665 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
666 if (PointeeType->isVoidTy()) in ConvertType()
667 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
669 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
769 llvm::Type *PointeeType = CGM.getLangOpts().OpenCL in ConvertType() local
779 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
H A DMicrosoftCXXABI.cpp3940 QualType PointeeType = T->getPointeeType(); in decomposeTypeForEH() local
3941 if (!PointeeType.isNull()) { in decomposeTypeForEH()
3942 IsConst = PointeeType.isConstQualified(); in decomposeTypeForEH()
3943 IsVolatile = PointeeType.isVolatileQualified(); in decomposeTypeForEH()
3944 IsUnaligned = PointeeType.getQualifiers().hasUnaligned(); in decomposeTypeForEH()
3950 T = Context.getMemberPointerType(PointeeType.getUnqualifiedType(), in decomposeTypeForEH()
3956 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()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DType.h2777 QualType PointeeType;
2781 PointeeType(Pointee) {}
2858 QualType PointeeType;
2862 PointeeType(Pointee) {}
2886 QualType PointeeType;
2892 PointeeType(Referencee) {
2908 return T->PointeeType;
2968 QualType PointeeType;
3286 QualType PointeeType;
6284 QualType PointeeType;
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h950 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
953 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
971 assert(PointeeType && "Must specify element type");
973 ->isOpaqueOrPointeeTypeMatches(PointeeType));
983 assert(PointeeType && "Must specify element type");
985 ->isOpaqueOrPointeeTypeMatches(PointeeType));
1007 Create(PointeeType, Ptr, IdxList, NameStr, InsertAtEnd);
1166 SourceElementType(PointeeType),
1167 ResultElementType(getIndexedType(PointeeType, IdxList)) {
1180 SourceElementType(PointeeType),
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h49 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
960 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
963 assert(PointeeType && Ptr && "can't get GEPCost of nullptr"); in getGEPCost()
965 ->isOpaqueOrPointeeTypeMatches(PointeeType) && in getGEPCost()
974 auto GTI = gep_type_begin(PointeeType, Operands); in getGEPCost()
H A DTargetTransformInfo.h250 getGEPCost(Type *PointeeType, const Value *Ptr,
1572 virtual InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr,
1926 getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
1929 return Impl.getGEPCost(PointeeType, Ptr, Operands, CostKind); in getGEPCost()
/openbsd/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h292 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
H A DDataflowAnalysisContext.h160 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
/openbsd/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h5111 QualType PointeeType in TransformPointerType() local
5113 if (PointeeType.isNull()) in TransformPointerType()
5117 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
5130 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
5149 QualType PointeeType in TransformBlockPointerType() local
5151 if (PointeeType.isNull()) in TransformBlockPointerType()
5180 if (PointeeType.isNull()) in TransformReferenceType()
5228 if (PointeeType.isNull()) in TransformMemberPointerType()
5252 PointeeType != T->getPointeeType() || in TransformMemberPointerType()
7376 if (PointeeType.isNull()) in TransformObjCObjectPointerType()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBTFDebug.h74 void setPointeeType(uint32_t PointeeType);
H A DBTFDebug.cpp104 void BTFTypeDerived::setPointeeType(uint32_t PointeeType) { in setPointeeType() argument
105 BTFType.Type = PointeeType; in setPointeeType()
/openbsd/gnu/llvm/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c596 value Builder, LLVMMetadataRef PointeeType, LLVMMetadataRef ClassType, in llvm_dibuild_create_member_pointer_type_native() argument
600 DIBuilder_val(Builder), PointeeType, ClassType, in llvm_dibuild_create_member_pointer_type_native()
/openbsd/gnu/llvm/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1147 QualType PointeeType = PT->getPointeeType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1148 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp212 TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
215 return TTIImpl->getGEPCost(PointeeType, Ptr, Operands, CostKind); in getGEPCost()
/openbsd/gnu/llvm/llvm/include/llvm-c/
H A DDebugInfo.h807 LLVMMetadataRef PointeeType,

12