| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Pointer.h | 39 Block *Pointee; member 120 Pointer(Block *Pointee, unsigned Base, uint64_t Offset); 140 return P.asBlockPointer().Pointee == asBlockPointer().Pointee && 158 return reinterpret_cast<uint64_t>(asBlockPointer().Pointee) + Offset; in getIntegerRepresentation() 173 return Pointer(asBlockPointer().Pointee, RootPtrMark, in atIndex() 180 return Pointer(asBlockPointer().Pointee, asBlockPointer().Base, in atIndex() 188 return Pointer(asBlockPointer().Pointee, Field, Field); in atField() 196 return Pointer(asBlockPointer().Pointee, O, O); in atFieldSub() 211 return Pointer(asBlockPointer().Pointee, sizeof(InlineDescriptor), in narrow() 216 return Pointer(asBlockPointer().Pointee, Base, PastEndMark); in narrow() [all …]
|
| H A D | Pointer.cpp | 25 Pointer::Pointer(Block *Pointee) in Pointer() argument 26 : Pointer(Pointee, Pointee->getDescriptor()->getMetadataSize(), in Pointer() 27 Pointee->getDescriptor()->getMetadataSize()) {} in Pointer() 29 Pointer::Pointer(Block *Pointee, uint64_t BaseAndOffset) in Pointer() argument 30 : Pointer(Pointee, BaseAndOffset, BaseAndOffset) {} in Pointer() 36 if (isBlockPointer() && PointeeStorage.BS.Pointee) in Pointer() 37 PointeeStorage.BS.Pointee->addPointer(this); in Pointer() 40 Pointer::Pointer(Block *Pointee, unsigned Base, uint64_t Offset) in Pointer() argument 44 PointeeStorage.BS = {Pointee, Base}; in Pointer() 46 if (Pointee) in Pointer() [all …]
|
| H A D | InterpBlock.cpp | 58 P->PointeeStorage.BS.Pointee = nullptr; in removePointer() 90 Old->PointeeStorage.BS.Pointee = nullptr; in replacePointer() 91 New->PointeeStorage.BS.Pointee = this; in replacePointer() 124 P->PointeeStorage.BS.Pointee = &B; in DeadBlock()
|
| H A D | EvaluationResult.cpp | 201 const Pointer &Pointee = Ptr.deref<Pointer>(); in collectBlocks() local 202 if (isUsefulPtr(Pointee) && !Blocks.contains(Pointee.block())) in collectBlocks() 203 collectBlocks(Pointee, Blocks); in collectBlocks()
|
| H A D | DynamicAllocator.cpp | 31 B->Pointers->PointeeStorage.BS.Pointee = nullptr; in cleanup()
|
| H A D | InterpState.cpp | 56 P->PointeeStorage.BS.Pointee = nullptr; in cleanup()
|
| /freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangleNodes.cpp | 481 if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 485 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre() 488 Pointee->outputPre(OB, Flags); in outputPre() 495 if (Pointee->kind() == NodeKind::ArrayType) { in outputPre() 497 } else if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 500 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre() 530 if (Pointee->kind() == NodeKind::ArrayType || in outputPost() 531 Pointee->kind() == NodeKind::FunctionSignature) in outputPost() 534 Pointee->outputPost(OB, Flags); in outputPost()
|
| H A D | MicrosoftDemangle.cpp | 923 PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals); in demangleVariableEncoding() 2096 Pointer->Pointee = demangleFunctionType(MangledName, false); in demanglePointerType() 2105 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Mangle); in demanglePointerType() 2124 Pointer->Pointee = demangleFunctionType(MangledName, true); in demangleMemberPointerType() 2132 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Drop); in demangleMemberPointerType() 2133 if (Pointer->Pointee) in demangleMemberPointerType() 2134 Pointer->Pointee->Quals = PointeeQuals; in demangleMemberPointerType()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaWasm.cpp | 85 QualType Pointee = Context.getFunctionType(Context.VoidTy, {}, {}); in BuiltinWasmRefNullFunc() local 86 QualType Type = Context.getPointerType(Pointee); in BuiltinWasmRefNullFunc() 87 Pointee = Context.getAddrSpaceQualType(Pointee, LangAS::wasm_funcref); in BuiltinWasmRefNullFunc() 89 Context.getPointerType(Pointee)); in BuiltinWasmRefNullFunc()
|
| H A D | HeuristicResolver.cpp | 218 if (QualType Pointee = getPointeeType(T.Type); !Pointee.isNull()) { in simplifyType() local 220 return {Pointee}; in simplifyType()
|
| H A D | SemaAPINotes.cpp | 47 QualType Pointee = Type->getPointeeType(); in isIndirectPointerType() local 48 if (Pointee.isNull()) in isIndirectPointerType() 51 return Pointee->isAnyPointerType() || Pointee->isObjCObjectPointerType() || in isIndirectPointerType() 52 Pointee->isMemberPointerType(); in isIndirectPointerType()
|
| H A D | SemaSwift.cpp | 122 QualType Pointee = PT->getPointeeType(); in isErrorParameter() local 125 if (const auto *OPT = Pointee->getAs<ObjCObjectPointerType>()) in isErrorParameter() 131 if (const auto *PT = Pointee->getAs<PointerType>()) in isErrorParameter()
|
| H A D | SemaExprCXX.cpp | 4022 QualType Pointee = Type->castAs<PointerType>()->getPointeeType(); in ActOnCXXDelete() local 4023 QualType PointeeElem = Context.getBaseElementType(Pointee); in ActOnCXXDelete() 4025 if (Pointee.getAddressSpace() != LangAS::Default && in ActOnCXXDelete() 4029 << Pointee.getUnqualifiedType() in ActOnCXXDelete() 4030 << Pointee.getQualifiers().getAddressSpaceAttributePrintValue(); in ActOnCXXDelete() 4033 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete() 4040 << (LangOpts.CPlusPlus26 ? Pointee : Type) in ActOnCXXDelete() 4042 } else if (Pointee->isFunctionType() || Pointee->isVoidType() || in ActOnCXXDelete() 4043 Pointee->isSizelessType()) { in ActOnCXXDelete() 4046 } else if (!Pointee->isDependentType()) { in ActOnCXXDelete() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefMemberChecker.cpp | 274 const PointeeType *Pointee, in reportBug() argument 278 assert(Pointee); in reportBug() 302 printQuotedQualifiedName(Os, Pointee); in reportBug() 312 enum class PrintDeclKind { Pointee, Pointer }; enumerator 318 return PrintDeclKind::Pointee; in printPointer()
|
| H A D | PtrTypesSemantics.cpp | 302 auto Pointee = Type->getPointeeType(); in isUnretained() local 303 auto *PointeeType = Pointee.getTypePtrOrNull(); in isUnretained()
|
| /freebsd/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers-containers_test.cc | 75 EXPECT_CALL(helper, Call(Contains(Pointee(2)))); in TEST() 176 const Matcher<int*> m = Pointee(Ge(0)); in TEST() 186 const Matcher<const double*> m = Pointee(Ge(0)); in TEST() 196 const Matcher<int* const&> m = Pointee(Ge(0)); in TEST() 206 const Matcher<double*&> m = Pointee(Ge(0)); in TEST() 218 const Matcher<std::unique_ptr<int>> m = Pointee(Ge(0)); in TEST() 225 const Matcher<std::unique_ptr<const int>> m = Pointee(Ge(0)); in TEST() 299 const Matcher<ConstPropagatingPtr<int>> m = Pointee(Lt(5)); in TEST() 311 const Matcher<const char*> m = Pointee(_); in TEST() 317 const Matcher<int*> m = Pointee(5); in TEST() [all …]
|
| H A D | gmock-matchers-arithmetic_test.cc | 1629 EXPECT_THAT(p, Pointee(Eq(3))); in TEST() 1630 EXPECT_THAT(p, Not(Pointee(Eq(2)))); in TEST() 1685 EXPECT_THAT(p, AllOf(Pointee(Eq(3)), Pointee(Gt(0)), Pointee(Lt(5)))); in TEST() 1686 EXPECT_THAT(p, Not(AllOf(Pointee(Eq(3)), Pointee(Gt(0)), Pointee(Lt(3))))); in TEST() 1691 EXPECT_THAT(p, AnyOf(Pointee(Eq(5)), Pointee(Lt(0)), Pointee(Lt(5)))); in TEST() 1692 EXPECT_THAT(p, Not(AnyOf(Pointee(Eq(5)), Pointee(Lt(0)), Pointee(Gt(5))))); in TEST()
|
| H A D | gmock_link_test.h | 164 using testing::Pointee; 659 Matcher<int*> m = Pointee(Eq(1)); in TEST()
|
| H A D | gmock-matchers-comparisons_test.cc | 2251 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(4)))); in TEST() 2253 Not(WhenDynamicCastTo<Derived*>(Pointee(FieldIIs(5))))); in TEST() 2262 EXPECT_THAT(&base, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST() 2265 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<OtherDerived*>(Pointee(_)))); in TEST() 2268 EXPECT_THAT(as_base_ptr, Not(WhenDynamicCastTo<Derived*>(Pointee(_)))); in TEST() 2310 Matcher<Base*> matcher = WhenDynamicCastTo<Derived*>(Pointee(_)); in TEST() 2319 Matcher<Base*> matcher = WhenDynamicCastTo<Derived*>(Pointee(_)); in TEST()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 191 const Type *Pointee; member in __anon819a2c470111::PointerType 195 PointerType(const Type *Pointee, bool Const) in PointerType() argument 196 : Type(TypeKind::Pointer), Pointee(Pointee), Const(Const) {} in PointerType() 198 bool requiresFloat() const override { return Pointee->requiresFloat(); } in requiresFloat() 199 bool requiresMVE() const override { return Pointee->requiresMVE(); } in requiresMVE() 201 std::string Name = Pointee->cName(); in cName() 206 assert(!isa<PointerType>(Pointee) && "Pointer to pointer not supported"); in cName() 213 const Type *getPointeeType() const { return Pointee; } in getPointeeType() 1127 const Type *Pointee = getType(D->getArg(0), Param); in getType() local 1128 return getPointerType(Pointee, Op->getValueAsBit("const")); in getType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 3261 PointerType(QualType Pointee, QualType CanonicalPtr) 3262 : Type(Pointer, CanonicalPtr, Pointee->getDependence()), 3263 PointeeType(Pointee) {} 3275 static void Profile(llvm::FoldingSetNodeID &ID, QualType Pointee) { 3276 ID.AddPointer(Pointee.getAsOpaquePtr()); 3474 BlockPointerType(QualType Pointee, QualType CanonicalCls) 3475 : Type(BlockPointer, CanonicalCls, Pointee->getDependence()), 3476 PointeeType(Pointee) {} 3489 static void Profile(llvm::FoldingSetNodeID &ID, QualType Pointee) { 3490 ID.AddPointer(Pointee.getAsOpaquePtr()); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | RecordName.cpp | 171 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() local 173 Name = formatv("{0} {1}::*", Pointee, Class); in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 640 const Node *Pointee; variable 645 Pointee(Pointee_) {} in PointerType() 647 const Node *getPointee() const { return Pointee; } in getPointee() 649 template<typename Fn> void match(Fn F) const { F(Pointee); } in match() 652 return Pointee->hasRHSComponent(OB); in hasRHSComponentSlow() 657 if (Pointee->getKind() != KObjCProtoName || in printLeft() 658 !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { in printLeft() 659 OB.printLeft(*Pointee); in printLeft() 660 if (Pointee->hasArray(OB)) in printLeft() 662 if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) in printLeft() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCallAndReturn.cpp | 722 QualType Pointee = ParamTy->getPointeeType(); in evalCall() local 723 if (Pointee.isConstQualified() || Pointee->isVoidType()) in evalCall() 726 Escaped.emplace_back(loc::MemRegionVal(MR), State->getSVal(MR, Pointee)); in evalCall()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 559 SymbolRef Pointee = PointeeVal.getAsLocSymbol(); in updateOutParameters() local 560 if (!Pointee) in updateOutParameters() 567 return setRefBinding(St, Pointee, in updateOutParameters() 571 return setRefBinding(St, Pointee, in updateOutParameters()
|