Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/llvm/tools/llvm-pdbutil/
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 …]
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()
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/
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()
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/AST/
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 …]
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()
DDeclCXX.cpp2729 CanQualType PointeeType in isCopyOrMoveConstructor() local
2733 if (PointeeType.getUnqualifiedType() != ClassTy) in isCopyOrMoveConstructor()
2739 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DSmallSet.h253 template <typename PointeeType, unsigned N>
254 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
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()
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()
DCGExpr.cpp2524 QualType PointeeType = RefLVal.getType()->getPointeeType(); in EmitLoadOfReference() local
2526 PointeeType, PointeeBaseInfo, PointeeTBAAInfo, in EmitLoadOfReference()
2528 return Address(Load, ConvertTypeForMem(PointeeType), Align); in EmitLoadOfReference()
5313 auto PointeeType = cast<PointerType>(CalleeType)->getPointeeType(); in EmitCall() local
5325 getContext().getFunctionTypeWithExceptionSpec(PointeeType, EST_None); in EmitCall()
5366 const auto *FnType = cast<FunctionType>(PointeeType); in EmitCall()
/openbsd/src/gnu/llvm/clang/include/clang/AST/
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/
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/
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()
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/
DDataflowEnvironment.h292 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
DDataflowAnalysisContext.h160 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
/openbsd/src/gnu/llvm/clang/lib/Sema/
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 …]
DSemaType.cpp2145 static QualType deduceOpenCLPointeeAddrSpace(Sema &S, QualType PointeeType) { in deduceOpenCLPointeeAddrSpace() argument
2146 if (!PointeeType->isUndeducedAutoType() && !PointeeType->isDependentType() && in deduceOpenCLPointeeAddrSpace()
2147 !PointeeType->isSamplerT() && in deduceOpenCLPointeeAddrSpace()
2148 !PointeeType.hasAddressSpace()) in deduceOpenCLPointeeAddrSpace()
2149 PointeeType = S.getASTContext().getAddrSpaceQualType( in deduceOpenCLPointeeAddrSpace()
2150 PointeeType, S.getASTContext().getDefaultOpenCLPointeeAddrSpace()); in deduceOpenCLPointeeAddrSpace()
2151 return PointeeType; in deduceOpenCLPointeeAddrSpace()
/openbsd/src/gnu/llvm/llvm/lib/Target/BPF/
DBTFDebug.h74 void setPointeeType(uint32_t PointeeType);
DBTFDebug.cpp104 void BTFTypeDerived::setPointeeType(uint32_t PointeeType) { in setPointeeType() argument
105 BTFType.Type = PointeeType; in setPointeeType()
/openbsd/src/gnu/llvm/clang/lib/Edit/
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/
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/
DDebugInfo.h807 LLVMMetadataRef PointeeType,

12