| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 424 MatchASTVisitor(const MatchFinder::MatchersByType *Matchers, in MatchASTVisitor() argument 426 : Matchers(Matchers), Options(Options), ActiveASTContext(nullptr) {} in MatchASTVisitor() 437 for (MatchCallback *MC : Matchers->AllCallbacks) { in onStartOfTranslationUnit() 447 for (MatchCallback *MC : Matchers->AllCallbacks) { in onEndOfTranslationUnit() 1025 void matchWithoutFilter(const T &Node, const MC &Matchers) { in matchWithoutFilter() argument 1028 for (const auto &MP : Matchers) { in matchWithoutFilter() 1051 auto &Matchers = this->Matchers->DeclOrStmt; in matchWithFilter() local 1053 auto &MP = Matchers[I]; in matchWithFilter() 1075 auto &Matchers = this->Matchers->DeclOrStmt; in getFilterForKind() local 1076 assert((Matchers.size() < USHRT_MAX) && "Too many matchers."); in getFilterForKind() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | VariantValue.cpp | 123 : Matchers(std::move(MatchersIn)) {} in PolymorphicPayload() 128 if (Matchers.size() != 1) in getSingleMatcher() 130 return Matchers[0]; in getSingleMatcher() 135 for (size_t i = 0, e = Matchers.size(); i != e; ++i) { in getTypeAsString() 138 Inner += Matchers[i].getSupportedKind().asStringRef(); in getTypeAsString() 148 for (size_t i = 0, e = Matchers.size(); i != e; ++i) { in getTypedMatcher() 150 if (Ops.canConstructFrom(Matchers[i], IsExactMatch)) { in getTypedMatcher() 157 Found = &Matchers[i]; in getTypedMatcher() 170 for (const DynTypedMatcher &Matcher : Matchers) { in isConvertibleTo() 183 const std::vector<DynTypedMatcher> Matchers; member in clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload [all …]
|
| H A D | Marshallers.h | 450 std::vector<DynTypedMatcher> Matchers; 451 mergePolyMatchers(PolyMatcher, Matchers, typename T::ReturnTypes()); 452 VariantMatcher Out = VariantMatcher::PolymorphicMatcher(std::move(Matchers));
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | GlobalISelMatchTable.cpp | 472 const Matcher &Representative = **Matchers.begin(); in candidateConditionMatches() 487 Matchers.push_back(&Candidate); in addMatcher() 496 Matcher &FirstRule = **Matchers.begin(); in finalize() 499 for (const auto &Rule : Matchers) in finalize() 503 for (unsigned I = 1, E = Matchers.size(); I < E; ++I) in finalize() 504 if (!Matchers[I]->getFirstCondition().isIdentical(FirstCondition)) in finalize() 508 for (unsigned I = 1, E = Matchers.size(); I < E; ++I) in finalize() 509 Matchers[I]->popFirstCondition(); in finalize() 523 Table, *static_cast<RuleMatcher *>(*Matchers.begin())); in emit() 525 for (const auto &M : Matchers) in emit() [all …]
|
| H A D | GlobalISelMatchTable.h | 323 std::vector<Matcher *> Matchers; variable 364 return make_range(Matchers.begin(), Matchers.end()); in matchers() 366 size_t size() const { return Matchers.size(); } in size() 367 bool empty() const { return Matchers.empty(); } in empty() 409 std::vector<Matcher *> Matchers; variable 430 return make_range(Matchers.begin(), Matchers.end()); in matchers() 432 size_t size() const { return Matchers.size(); } in size() 433 bool empty() const { return Matchers.empty(); } in empty() 471 MatchersTy Matchers; variable 694 InstructionMatcher &insnmatchers_front() const { return *Matchers.front(); } in insnmatchers_front() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | GICombinerEmitter.cpp | |
| H A D | GlobalISelCombinerEmitter.cpp | 733 ArrayRef<CXXPattern *> Matchers); 1909 ArrayRef<CXXPattern *> Matchers) { in emitCXXMatchApply() argument 1919 if (!Matchers.empty()) { in emitCXXMatchApply() 1921 for (auto *M : Matchers) { in emitCXXMatchApply()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RewriteRule.cpp | 381 std::vector<DynTypedMatcher> Matchers; in taggedMatchers() local 382 Matchers.reserve(Cases.size()); in taggedMatchers() 389 Matchers.push_back(!M.getTraversalKind() in taggedMatchers() 393 return Matchers; in taggedMatchers() 429 std::vector<DynTypedMatcher> Matchers; in buildMatchers() local 436 Matchers.push_back(M.tryBind(RootID)->withTraversalKind(TK_AsIs)); in buildMatchers() 438 return Matchers; in buildMatchers()
|
| /freebsd/contrib/googletest/docs/reference/ |
| H A D | matchers.md | 1 # Matchers Reference 67 ## Floating-Point Matchers {#FpMatchers} 91 ## String Matchers 114 ## Container Matchers 147 int len)` -- see [Multi-argument Matchers](#MultiArgMatchers)). 164 ## Member Matchers 206 ## Pointer Matchers 215 ## Multi-argument Matchers {#MultiArgMatchers} 238 ## Composite Matchers 251 ## Adapters for Matchers [all …]
|
| H A D | mocking.md | 73 See the [Matchers Reference](matchers.md) for a list of all built-in matchers. 116 matcher above. See [Multi-argument Matchers](matchers.md#MultiArgMatchers). 335 See the [Matchers Reference](matchers.md) for a list of all built-in matchers. 375 matcher above. See [Multi-argument Matchers](matchers.md#MultiArgMatchers).
|
| H A D | assertions.md | 105 Matchers enable assertions of this form to read like English and generate 116 [Matchers Reference](matchers.md). It is also possible to write your own 117 matchers—see [Writing New Matchers Quickly](../gmock_cook_book.md#NewMatchers).
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 154 PolymorphicMatcher(std::vector<DynTypedMatcher> Matchers); 268 VariantValue(const VariantMatcher &Matchers);
|
| /freebsd/contrib/googletest/docs/ |
| H A D | gmock_cheat_sheet.md | 171 ## Matchers {#MatcherList} 173 See the [Matchers Reference](reference/matchers.md).
|
| H A D | gmock_cook_book.md | 846 ## Using Matchers 860 ### Using Simple Matchers argument 880 ### Combining Matchers {#CombiningMatchers} argument 901 Matchers are function objects, and parametrized matchers can be composed just 917 ### Casting Matchers {#SafeMatcherCast} argument 1095 [Multi-argument Matchers](reference/matchers.md#MultiArgMatchers) for the 1103 ### Using Matchers as Predicates argument 1141 ### Using Matchers in googletest Assertions argument 1146 ### Using Predicates as Matchers argument 1149 values—see the [Matchers Reference](reference/matchers.md) for more information. [all …]
|
| H A D | gmock_for_dummies.md | 346 ### Matchers: What Arguments Do We Expect?
|
| H A D | advanced.md | 170 ### Asserting Using gMock Matchers
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 230 MatchersByType Matchers;
|
| /freebsd/contrib/bsnmp/tests/ |
| H A D | catch.hpp | 3190 namespace Matchers { namespace 3339 using namespace Matchers; 3340 using Matchers::Impl::MatcherBase; 3348 namespace Matchers { namespace 3375 namespace Matchers { namespace 3439 namespace Matchers { namespace 3486 namespace Matchers { namespace 3555 namespace Matchers { namespace 3746 using StringMatcher = Matchers::Impl::MatcherBase<std::string>; 4883 namespace Matchers { namespace [all …]
|
| /freebsd/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers-misc_test.cc | 1563 TEST(AllOfArrayTest, Matchers) { in TEST() argument 1616 TEST(AnyOfArrayTest, Matchers) { in TEST() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.td | 866 // Matchers for signed, unsigned mul.wide ISD nodes.
|