| /freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DAGISelMatcher.h | 21 class Matcher; variable 32 void OptimizeMatcher(std::unique_ptr<Matcher> &Matcher, 34 void EmitMatcherTable(Matcher *Matcher, const CodeGenDAGPatterns &CGP, 40 class Matcher { 43 std::unique_ptr<Matcher> Next; 97 Matcher(KindTy K) : Kind(K) {} in Matcher() function 99 virtual ~Matcher() {} in ~Matcher() 154 Matcher *unlinkNode(Matcher *Other); 190 SmallVector<Matcher*, 4> Children; 207 Matcher *takeChild(unsigned i) { in takeChild() [all …]
|
| H A D | DAGISelMatcherEmitter.cpp | 265 case Matcher::Scope: { in SizeMatcher() 290 Matcher *Child; in SizeMatcher() 379 case Matcher::Scope: { in EmitMatcher() 422 case Matcher::RecordNode: in EmitMatcher() 431 case Matcher::RecordChild: in EmitMatcher() 449 case Matcher::MoveChild: { in EmitMatcher() 460 case Matcher::MoveParent: in EmitMatcher() 464 case Matcher::CheckSame: in EmitMatcher() 529 const Matcher *Child; in EmitMatcher() 576 case Matcher::CheckType: in EmitMatcher() [all …]
|
| H A D | DAGISelMatcherOpt.cpp | 27 Matcher *N = MatcherPtr.get(); in ContractNodes() 43 Matcher *New = nullptr; in ContractNodes() 152 Matcher *CheckType = MatcherPtr.release(); in ContractNodes() 154 Matcher *Tail = CheckOpcode->takeNext(); in ContractNodes() 167 static Matcher *FindNodeWithKind(Matcher *M, Matcher::KindTy Kind) { in FindNodeWithKind() 193 Matcher *N = RebindableMatcherPtr->get(); in FactorNodes() 205 SmallVector<Matcher*, 32> OptionsToMatch; in FactorNodes() 240 SmallVector<Matcher*, 8> EqualMatchers; in FactorNodes() 316 Matcher *Shared = Optn; in FactorNodes() 412 Matcher* M = FindNodeWithKind(NewOptionsToMatch[i], Matcher::CheckType); in FactorNodes() [all …]
|
| H A D | DAGISelMatcher.cpp | 16 void Matcher::anchor() { } in anchor() 18 void Matcher::dump() const { in dump() 22 void Matcher::print(raw_ostream &OS, unsigned indent) const { in print() 28 void Matcher::printOne(raw_ostream &OS) const { in printOne() 35 Matcher *Matcher::unlinkNode(Matcher *Other) { in unlinkNode() 40 Matcher *Cur = this; in unlinkNode() 53 bool Matcher::canMoveBefore(const Matcher *Other) const { in canMoveBefore() 66 bool Matcher::canMoveBeforeNode(const Matcher *Other) const { in canMoveBeforeNode() 81 for (Matcher *C : Children) in ~ScopeMatcher() 97 : Matcher(CheckPredicate), Pred(pred.getOrigPatFragRecord()), in CheckPredicateMatcher() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Testing/Support/ |
| H A D | Error.h | 35 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono() argument 36 : Matcher(Matcher) {} in ValueMatchesMono() 66 testing::Matcher<T> Matcher; 72 explicit ValueMatchesPoly(const M &Matcher) : Matcher(Matcher) {} in ValueMatchesPoly() argument 81 M Matcher; 88 : Matcher(std::move(Matcher)) {} in ErrorMatchesMono() 106 if (!Matcher) in MatchAndExplain() 129 Optional<testing::Matcher<InfoT &>> Matcher; 136 testing::Matcher<std::vector<std::string>> Matcher) in ErrorMessageMatches() argument 137 : Matcher(std::move(Matcher)) {} in ErrorMessageMatches() [all …]
|
| /freebsd-13.1/contrib/googletest/googlemock/include/gmock/internal/ |
| H A D | gmock-generated-internal-utils.h | 94 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4> > 100 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 108 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 116 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 117 Matcher<A5>, Matcher<A6>, Matcher<A7> > 124 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 125 Matcher<A5>, Matcher<A6>, Matcher<A7>, Matcher<A8> > 132 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 133 Matcher<A5>, Matcher<A6>, Matcher<A7>, Matcher<A8>, 142 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, [all …]
|
| /freebsd-13.1/contrib/googletest/googlemock/src/ |
| H A D | gmock-matchers.cc | 53 Matcher<const std::string&>::Matcher(const ::string& s) { in Matcher() function in testing::Matcher::string 60 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string 71 Matcher<std::string>::Matcher(const ::string& s) { in Matcher() function in testing::Matcher::string 83 Matcher<const ::string&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string 96 Matcher<::string>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string 101 Matcher<::string>::Matcher(const ::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 110 Matcher<const absl::string_view&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string_view 122 Matcher<const absl::string_view&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view 128 Matcher<const absl::string_view&>::Matcher(absl::string_view s) { in Matcher() function in testing::Matcher::string_view 144 Matcher<absl::string_view>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view [all …]
|
| /freebsd-13.1/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers_test.cc | 309 Matcher<double> m; in TEST() 738 Matcher<int> m3 = in TEST() 2461 Matcher<int> m; in TEST() 2496 Matcher<int> m; in TEST() 2563 Matcher<int> m; in TEST() 2593 Matcher<int> m; in TEST() 2639 Matcher<int> m; in TEST() 2706 Matcher<int> m; in TEST() 2799 Matcher<int> m; in TEST() 2827 Matcher<int> m; in TEST() [all …]
|
| H A D | gmock-generated-internal-utils_test.cc | 42 using ::testing::Matcher; 55 CompileAssertTypesEqual<tuple<Matcher<int> >, in TEST() 60 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, in TEST() 66 tuple<Matcher<int>, Matcher<char>, Matcher<bool>, Matcher<double>, in TEST() 67 Matcher<char*> >, in TEST() 87 CompileAssertTypesEqual<tuple<Matcher<bool> >, F::ArgumentMatcherTuple>(); in TEST() 100 tuple<Matcher<bool>, Matcher<const long&> >, // NOLINT in TEST() 118 tuple<Matcher<bool>, Matcher<int>, Matcher<char*>, Matcher<int&>, in TEST() 119 Matcher<const long&> >, // NOLINT in TEST()
|
| H A D | gmock-generated-matchers_test.cc | 81 using testing::Matcher; 252 Matcher<tuple<char, int> > LessThan() { in LessThan() 292 Matcher<int> GreaterThan(int n) { in GreaterThan() 343 Matcher<const vector<int>& > m = in TEST() 463 Matcher<vector<std::string> > m = in TEST() 739 const Matcher<int> m = IsEven(); in TEST() 783 const Matcher<int> m1 = IsEven2(); in TEST() 794 const Matcher<int> m1 = IsEven2(); in TEST() 1053 Matcher<std::string> no_promo = in TEST() 1055 Matcher<const std::string&> promo = in TEST() [all …]
|
| H A D | gmock_link_test.h | 158 using testing::Matcher; 628 Matcher<const FieldHelper&> m = Field(&FieldHelper::field_, Eq(0)); in TEST() 631 Matcher<const FieldHelper*> m2 = Field(&FieldHelper::field_, Eq(0)); in TEST() 639 Matcher<const FieldHelper&> m = Property(&FieldHelper::field, Eq(0)); in TEST() 642 Matcher<const FieldHelper*> m2 = Property(&FieldHelper::field, Eq(0)); in TEST() 656 Matcher<int*> m = Pointee(Eq(1)); in TEST() 662 Matcher<const char*> m = Truly(&InvokeHelper::StaticBoolFromString); in TEST() 668 Matcher<int> m = AllOf(_, Eq(1)); in TEST() 674 Matcher<int> m = AnyOf(_, Eq(1)); in TEST() 680 Matcher<int> m = Not(_); in TEST() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 96 class matcher_##DefineMatcher##Matcher \ 99 explicit matcher_##DefineMatcher##Matcher() = default; \ 106 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { \ 108 new internal::matcher_##DefineMatcher##Matcher()); \ 110 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 134 class matcher_##DefineMatcher##OverloadId##Matcher \ 137 explicit matcher_##DefineMatcher##OverloadId##Matcher( \ 149 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher( \ 152 new internal::matcher_##DefineMatcher##OverloadId##Matcher(Param)); \ 154 typedef ::clang::ast_matchers::internal::Matcher<Type> ( \ [all …]
|
| H A D | ASTMatchers.h | 142 using StatementMatcher = internal::Matcher<Stmt>; 143 using TypeMatcher = internal::Matcher<QualType>; 2988 return internal::Matcher<NamedDecl>( in hasName() 3180 internal::Matcher<NamedDecl>, Base) { in AST_POLYMORPHIC_MATCHER_P() 3253 internal::Matcher<NamedDecl>, Base, 0) { 3305 internal::Matcher<NamedDecl>, Base, 0) { 3476 internal::Matcher<T> findAll(const internal::Matcher<T> &Matcher) { in findAll() argument 3477 return eachOf(Matcher, forEachDescendant(Matcher)); in findAll() 3949 internal::Matcher<TypeLoc>, Inner) { in AST_POLYMORPHIC_MATCHER_P() 5153 internal::Matcher<Expr>, InnerMatcher) { in AST_POLYMORPHIC_MATCHER_P() [all …]
|
| H A D | ASTMatchersInternal.h | 406 template <typename> class Matcher; 574 class Matcher { 584 Matcher(const Matcher<From> &Other, 596 Matcher(const Matcher<TypeT> &Other, 1231 explicit BindableMatcher(const Matcher<T> &M) : Matcher<T>(M) {} 1486 Matcher<T> InnerMatcher; 1605 return Matcher<T>( 1661 return Matcher<T>(*this); 1920 return Matcher<OuterT>( 1937 template <typename Matcher, Matcher (*Func)()> class MemoizedMatcher { [all …]
|
| H A D | ASTMatchFinder.h | 251 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context); 261 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context); 303 Finder.addMatcher(Matcher, &Callback); in match() 310 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match() argument 311 return match(Matcher, DynTypedNode::create(Node), Context); in match() 316 match(MatcherT Matcher, ASTContext &Context) { in match() argument 319 Finder.addMatcher(Matcher, &Callback); in match() 329 Finder.addDynamicMatcher(Matcher, &Callback); in matchDynamic() 338 return matchDynamic(Matcher, DynTypedNode::create(Node), Context); in matchDynamic() 342 matchDynamic(internal::DynTypedMatcher Matcher, ASTContext &Context) { in matchDynamic() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | VariantValue.cpp | 61 return Matcher.canConvertTo(NodeKind); in canConstructFrom() 65 const DynTypedMatcher &Matcher) const { in convertMatcher() 66 return Matcher.dynCastTo(NodeKind); in convertMatcher() 92 SinglePayload(const DynTypedMatcher &Matcher) : Matcher(Matcher) {} in SinglePayload() argument 95 return Matcher; in getSingleMatcher() 106 if (Ops.canConstructFrom(Matcher, Ignore)) in getTypedMatcher() 107 return Matcher; in getTypedMatcher() 117 const DynTypedMatcher Matcher; member in clang::ast_matchers::dynamic::VariantMatcher::SinglePayload 279 setMatcher(Matcher); in VariantValue() 319 delete Value.Matcher; in reset() [all …]
|
| /freebsd-13.1/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 395 Matcher() {} in Matcher() function 418 Matcher() {} in Matcher() function 447 Matcher() {} in Matcher() function 468 Matcher() {} in Matcher() function 496 Matcher() {} in Matcher() function 522 Matcher() {} in Matcher() function 722 static Matcher<T> Cast(const Matcher<U>& source_matcher) { in Cast() 773 static Matcher<T> Cast(const Matcher<T>& matcher) { return matcher; } in Cast() 814 static inline Matcher<T> Cast(const Matcher<U>& matcher) { in Cast() 844 Matcher<T> A(); [all …]
|
| H A D | gmock-generated-function-mockers.h | 156 const Matcher<A3>& m3, const Matcher<A4>& m4) { in With() 180 const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5) { in With() 204 const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, in With() 230 const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, in With() 231 const Matcher<A6>& m6, const Matcher<A7>& m7) { in With() 256 const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, in With() 257 const Matcher<A6>& m6, const Matcher<A7>& m7, const Matcher<A8>& m8) { in With() 284 const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, in With() 285 const Matcher<A6>& m6, const Matcher<A7>& m7, const Matcher<A8>& m8, in With() 314 const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, in With() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSDictionary.h | 43 class Matcher { 45 virtual ~Matcher() = default; 48 typedef std::unique_ptr<Matcher> UP; 50 class Prefix : public Matcher { 59 class Full : public Matcher { 68 typedef Matcher::UP MatcherUP;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 100 : Matcher(Matcher), Finder(Finder), Builder(Builder), CurrentDepth(0), in MatchChildASTVisitor() 390 const DynTypedMatcher *const Matcher; member in clang::ast_matchers::internal::__anonb98ef6e90111::MatchChildASTVisitor 587 Key.MatcherID = Matcher.getID(); in memoizedMatchesRecursively() 645 const DynTypedMatcher &Matcher, in matchesChildOf() argument 671 return matchesParentOf(Node, Matcher, Builder); in matchesAncestorOf() 954 Keys.back().MatcherID = Matcher.getID(); in matchesAnyAncestorOf() 978 if (Matcher.matches(Node, this, &BuilderCopy)) { in matchesAnyAncestorOf() 1050 const Matcher<NamedDecl> &Matcher, in typeHasMatchingAlias() argument 1059 if (Matcher.matches(*Alias, this, &Result)) { in typeHasMatchingAlias() 1069 const Matcher<NamedDecl> &Matcher, in objcClassHasMatchingCompatibilityAlias() argument [all …]
|
| H A D | GtestMatchers.cpp | 132 StatementMatcher Matcher) { in gtestThatInternal() argument 143 hasArgument(0, ignoringImplicit(Matcher))))))); in gtestThatInternal() 202 StatementMatcher Matcher) { in gtestAssertThat() argument 203 return gtestThatInternal(MacroType::Assert, Actual, Matcher); in gtestAssertThat() 207 StatementMatcher Matcher) { in gtestExpectThat() argument 208 return gtestThatInternal(MacroType::Expect, Actual, Matcher); in gtestExpectThat()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 82 static internal::Matcher<Stmt> simpleCondition(StringRef BindName, in simpleCondition() 96 static internal::Matcher<Stmt> 97 changeIntBoundNode(internal::Matcher<Decl> VarNodeMatcher) { in changeIntBoundNode() 107 static internal::Matcher<Stmt> 108 callByRef(internal::Matcher<Decl> VarNodeMatcher) { in callByRef() 114 static internal::Matcher<Stmt> 115 assignedToRef(internal::Matcher<Decl> VarNodeMatcher) { in assignedToRef() 123 static internal::Matcher<Stmt> 124 getAddrTo(internal::Matcher<Decl> VarNodeMatcher) { in getAddrTo() 130 static internal::Matcher<Stmt> hasSuspiciousStmt(StringRef NodeName) { in hasSuspiciousStmt() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | CommonConfig.h | 136 Error addMatcher(Expected<NameOrPattern> Matcher) { in addMatcher() argument 137 if (!Matcher) in addMatcher() 138 return Matcher.takeError(); in addMatcher() 139 if (Matcher->isPositiveMatch()) { in addMatcher() 140 if (Optional<StringRef> MaybeName = Matcher->getName()) in addMatcher() 143 PosPatterns.push_back(std::move(*Matcher)); in addMatcher() 145 NegMatchers.push_back(std::move(*Matcher)); in addMatcher()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 111 bool canConstructFrom(const DynTypedMatcher &Matcher, 116 DynTypedMatcher convertMatcher(const DynTypedMatcher &Matcher) const; 148 static VariantMatcher SingleMatcher(const DynTypedMatcher &Matcher); 211 ast_matchers::internal::Matcher<T> getTypedMatcher() const { in getTypedMatcher() 304 void setMatcher(const VariantMatcher &Matcher); 347 VariantMatcher *Matcher; member
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SpecialCaseList.h | 121 class Matcher { 134 using SectionEntries = StringMap<StringMap<Matcher>>; 137 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; in Section() 139 std::unique_ptr<Matcher> SectionMatcher;
|