Home
last modified time | relevance | path

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

12

/openbsd-src/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-src/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-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp612 PointerValue &Environment::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
613 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()
[all …]
H A DDataflowAnalysisContext.cpp80 DataflowAnalysisContext::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
82 PointeeType.isNull() ? PointeeType : PointeeType.getCanonicalType(); in getOrCreateNullPointerValue()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DMicrosoftMangle.cpp412 void manglePointerExtQualifiers(Qualifiers Quals, QualType PointeeType);
2059 QualType PointeeType) { in manglePointerExtQualifiers() argument
2061 bool is64Bit = PointeeType.isNull() ? PointersAre64Bit : in manglePointerExtQualifiers()
2062 is64BitPointer(PointeeType.getQualifiers()); in manglePointerExtQualifiers()
2063 if (is64Bit && (PointeeType.isNull() || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
2070 (!PointeeType.isNull() && PointeeType.getLocalQualifiers().hasUnaligned())) in manglePointerExtQualifiers()
2953 QualType PointeeType = T->getPointeeType(); in mangleType() local
2955 manglePointerExtQualifiers(Quals, PointeeType); in mangleType()
2956 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) { in mangleType()
2961 mangleQualifiers(PointeeType.getQualifiers(), true); 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-src/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-src/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-src/gnu/llvm/clang/include/clang/AST/
H A DType.h2777 QualType PointeeType;
2781 PointeeType(Pointee) {}
2784 QualType getPointeeType() const { return PointeeType; }
2858 QualType PointeeType;
2862 PointeeType(Pointee) {}
2866 QualType getPointeeType() const { return PointeeType; }
2886 QualType PointeeType;
2892 PointeeType(Referencee) {
2901 QualType getPointeeTypeAsWritten() const { return PointeeType; }
2907 T = T->PointeeType->castAs<ReferenceType>();
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h950 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
953 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
966 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
971 assert(PointeeType && "Must specify element type");
973 ->isOpaqueOrPointeeTypeMatches(PointeeType));
974 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
978 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
983 assert(PointeeType && "Must specify element type");
985 ->isOpaqueOrPointeeTypeMatches(PointeeType));
986 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
[all …]
/openbsd-src/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-src/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h292 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
H A DDataflowAnalysisContext.h160 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h796 QualType RebuildPointerType(QualType PointeeType, SourceLocation Sigil);
802 QualType RebuildBlockPointerType(QualType PointeeType, SourceLocation Sigil);
821 QualType RebuildMemberPointerType(QualType PointeeType, QualType ClassType,
848 QualType RebuildObjCObjectPointerType(QualType PointeeType,
961 QualType RebuildDependentAddressSpaceType(QualType PointeeType,
5111 QualType PointeeType in TransformPointerType() local
5113 if (PointeeType.isNull()) in TransformPointerType()
5117 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
5122 Result = SemaRef.Context.getObjCObjectPointerType(PointeeType); in TransformPointerType()
5130 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
[all …]
/openbsd-src/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-src/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-src/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-src/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-src/gnu/llvm/llvm/include/llvm-c/
H A DDebugInfo.h807 LLVMMetadataRef PointeeType,

12