Searched refs:Matchers (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp356 MatchASTVisitor(const MatchFinder::MatchersByType *Matchers, argument
358 : Matchers(Matchers), Options(Options), ActiveASTContext(nullptr) {}
369 for (MatchCallback *MC : Matchers->AllCallbacks) {
379 for (MatchCallback *MC : Matchers->AllCallbacks) {
597 /// Runs all the \p Matchers on \p Node.
601 void matchWithoutFilter(const T &Node, const MC &Matchers) { argument
604 for (const auto &MP : Matchers) {
626 auto &Matchers = this->Matchers local
642 auto &Matchers = this->Matchers->DeclOrStmt; local
856 const MatchFinder::MatchersByType *Matchers; member in class:clang::ast_matchers::internal::__anon287::MatchASTVisitor
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp112 std::vector<DynTypedMatcher> Matchers; local
113 Matchers.reserve(Cases.size());
120 Matchers.push_back(*std::move(M));
122 return Matchers;
150 std::vector<DynTypedMatcher> Matchers; local
157 Matchers.push_back(*M.tryBind(RewriteRule::RootID));
159 return Matchers;
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp117 : Matchers(std::move(MatchersIn)) {}
122 if (Matchers.size() != 1)
124 return Matchers[0];
129 for (size_t i = 0, e = Matchers.size(); i != e; ++i) {
132 Inner += Matchers[i].getSupportedKind().asStringRef();
142 for (size_t i = 0, e = Matchers.size(); i != e; ++i) {
144 if (Ops.canConstructFrom(Matchers[i], IsExactMatch)) {
151 Found = &Matchers[i];
165 for (const DynTypedMatcher &Matcher : Matchers) {
177 const std::vector<DynTypedMatcher> Matchers; member in class:clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload
226 PolymorphicMatcher(std::vector<DynTypedMatcher> Matchers) argument
[all...]
H A DMarshallers.h332 std::vector<DynTypedMatcher> Matchers; local
333 mergePolyMatchers(PolyMatcher, Matchers, typename T::ReturnTypes());
334 VariantMatcher Out = VariantMatcher::PolymorphicMatcher(std::move(Matchers));
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp647 //===- Matchers -----------------------------------------------------------===//
679 std::vector<Matcher *> Matchers; member in class:__anon2930::final
720 return make_range(Matchers.begin(), Matchers.end());
722 size_t size() const { return Matchers.size(); }
723 bool empty() const { return Matchers.empty(); }
751 std::vector<Matcher *> Matchers; member in class:__anon2930::SwitchMatcher
772 return make_range(Matchers.begin(), Matchers.end());
774 size_t size() const { return Matchers
[all...]
H A DGICombinerEmitter.cpp495 DagInit *Matchers = TheDef.getValueAsDag("Match"); local
497 if (Matchers->getOperatorAsDef(TheDef.getLoc())->getName() != "match") {
502 if (Matchers->getNumArgs() == 0) {
509 for (unsigned I = 0; I < Matchers->getNumArgs(); ++I) {
510 if (parseInstructionMatcher(Target, Matchers->getArgName(I),
511 *Matchers->getArg(I), NamedEdgeDefs,
515 if (parseWipMatchOpcodeMatcher(Target, Matchers->getArgName(I),
516 *Matchers->getArg(I)))
521 if (const CodeInit *CodeI = dyn_cast<CodeInit>(Matchers->getArg(I))) {
532 PrintNote("Pattern was `" + Matchers
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h145 PolymorphicMatcher(std::vector<DynTypedMatcher> Matchers);
263 VariantValue(const VariantMatcher &Matchers);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h218 MatchersByType Matchers; member in class:clang::ast_matchers::MatchFinder

Completed in 94 milliseconds