Searched refs:Matches (Results 26 - 50 of 50) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp13 // calling the Matches(...) method of each matcher we are running on each
93 MaxDepth(MaxDepth), Traversal(Traversal), Bind(Bind), Matches(false) {}
131 return Matches;
269 Matches = false;
313 Matches = true;
322 Matches = true;
348 bool Matches; member in class:clang::ast_matchers::internal::__anon287::MatchChildASTVisitor
442 // Matches children or descendants of 'Node' with 'BaseMatcher'.
479 // Matches children or descendants of 'Node' with 'BaseMatcher'.
535 // Matches al
[all...]
H A DASTMatchersInternal.cpp42 Matches) {
44 for (const std::string &S : Matches)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp1881 SmallVector<StringRef, 3> Matches; local
1882 if (!DefaultAliasRegex.match(Name, &Matches))
1887 assert(Matches.size() == 3 && "Must capture two matched strings!");
1889 OptimizationLevel L = StringSwitch<OptimizationLevel>(Matches[2])
1898 if (PGOOpt && Matches[1] != "thinlto" &&
1916 if (Matches[1] == "default") {
1918 } else if (Matches[1] == "thinlto-pre-link") {
1920 } else if (Matches[1] == "thinlto") {
1922 } else if (Matches[1] == "lto-pre-link") {
1925 assert(Matches[
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DPrintfFormatString.cpp133 SmallVector<StringRef, 2> Matches; local
135 if (R.match(Str, &Matches)) {
136 MatchedStr = Matches[1];
137 I += Matches[0].size();
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DProcessInfo.h240 bool Matches(const ProcessInstanceInfo &proc_info) const;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp2005 SmallVector<StringRef, 4> Matches;
2039 if (IncludeRegex.match(Line, &Matches)) {
2040 StringRef IncludeName = Matches[2];
2173 SmallVector<StringRef, 4> Matches;
2190 if (ImportRegex.match(Line, &Matches)) {
2196 StringRef Static = Matches[1];
2197 StringRef Identifier = Matches[2];
2350 llvm::SmallVector<StringRef, 4> Matches;
2353 bool Matched = IncludeRegex.match(IncludeDirective, &Matches);
2357 auto IncludeName = Matches[
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DYAMLTraits.cpp649 bool Output::bitSetMatch(const char *Str, bool Matches) { argument
650 if (Matches) {
H A DFileCheck.cpp1060 SmallVector<StringRef, 2> Matches; local
1064 if (!PrefixRE.match(Buffer, &Matches))
1068 StringRef Prefix = Matches[0];
1069 Matches.clear();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DProcessInfo.cpp291 bool ProcessInstanceInfoMatch::Matches( function in class:ProcessInstanceInfoMatch
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp3756 std::vector<StringMatcher::StringPair> *Matches = nullptr;
3760 Matches = &CXX11;
3764 Matches = &C2x;
3768 Matches = &GNU;
3770 Matches = &Declspec;
3772 Matches = &Microsoft;
3774 Matches = &Keywords;
3776 Matches = &Pragma;
3778 assert(Matches && "Unsupported spelling variety found");
3786 Matches
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp2488 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches;
2554 Matches.push_back(std::make_pair(D.getPair(), Fn));
2558 EraseUnwantedCUDAMatches(dyn_cast<FunctionDecl>(CurContext), Matches);
2573 Matches.push_back(std::make_pair(Selected.Found, Selected.FD));
2578 Matches.push_back(std::make_pair(Fn.Found, Fn.FD));
2586 if (Matches.size() == 1) {
2587 OperatorDelete = Matches[0].second;
2626 Matches[0].first);
2627 } else if (!Matches.empty()) {
2634 for (auto &Match : Matches)
[all...]
H A DSemaOverload.cpp11616 SmallVector<std::pair<DeclAccessPair, FunctionDecl*>, 4> Matches;
11656 Matches.push_back(std::make_pair(dap, Fn));
11667 if (Matches.size() > 1 && !eliminiateSuboptimalOverloadCandidates()) {
11675 if (S.getLangOpts().CUDA && Matches.size() > 1)
11704 auto Best = Matches.begin();
11705 for (auto I = Matches.begin()+1, E = Matches.end(); I != E; ++I)
11715 // Note: We explicitly leave Matches unmodified if there isn't a clear best
11717 if (!llvm::all_of(Matches, IsBestOrInferiorToBest))
11719 Matches[
[all...]
H A DSemaTemplate.cpp2734 bool Matches(unsigned ParmDepth, SourceLocation Loc = SourceLocation()) { function in struct:__anon43::DependencyChecker
2762 return !Matches(TL.getTypePtr()->getDepth(), TL.getNameLoc());
2767 return IgnoreNonTypeDependent || !Matches(T->getDepth());
2773 if (Matches(PD->getDepth()))
2781 if (Matches(PD->getDepth(), E->getExprLoc()))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp64 /// Matches nodes one-by-one based on their similarity.
579 std::vector<std::pair<NodeId, NodeId>> Matches; local
621 Matches.emplace_back(Id1, Id2);
632 return Matches;
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp2579 std::vector<StringMatcher::StringPair> Matches;
2582 Matches.emplace_back(CI.ValueName, "return " + CI.Name + ";");
2587 StringMatcher("Name", Matches, OS).Emit();
2598 std::vector<StringMatcher::StringPair> Matches;
2604 Matches.emplace_back(Reg.TheDef->getValueAsString("AsmName"),
2612 StringMatcher("Name", Matches, OS).Emit(0, IgnoreDuplicates);
2623 std::vector<StringMatcher::StringPair> Matches;
2636 Matches.emplace_back(AltName,
2645 StringMatcher("Name", Matches, OS).Emit(0, IgnoreDuplicates);
H A DCodeGenDAGPatterns.cpp1401 Size += 5; // Matches a ConstantSDNode (+3) and a specific value (+2).
1405 Size += 4; // Matches a build_vector(+3) and a predicate (+1).
4653 BitVector &Matches = MatchedPredicates[i]; local
4655 Matches.set(i);
4660 Matches[p] = (Predicates == PatternsToMatch[p].getPredicates());
4663 for (int p = Matches.find_first(); p != -1; p = Matches.find_next(p))
4666 MatchedPredicates[p] = Matches;
4677 BitVector &Matches = MatchedPredicates[i]; local
4686 if (!Matches[
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1401 llvm::SmallVector<llvm::StringRef, 2> Matches; local
1402 if (!R.match(Str, &Matches))
1406 if (!to_integer(Matches[1], Parsed->Min))
1409 if (!Matches[3].empty()) {
1411 if (!to_integer(Matches[3], *Parsed->Max))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h671 bool Matches(PyObject *exc) const;
H A DPythonDataObjects.cpp1016 bool PythonException::Matches(PyObject *exc) const { function in class:PythonException
H A DScriptInterpreterPython.cpp1124 if (E.Matches(PyExc_SyntaxError)) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h147 /// Matches any node.
163 /// Matches the top declaration context.
177 /// Matches typedef declarations.
189 /// Matches typedef name declarations.
201 /// Matches type alias declarations.
213 /// Matches type alias template declarations.
223 /// Matches AST nodes that were expanded within the main-file.
244 /// Matches AST nodes that were expanded within system-header-files.
268 /// Matches AST nodes that were expanded within files whose name is
302 /// Matches declaration
4170 BoundNodesTreeBuilder Matches; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1094 auto Matches = local
1098 for (BoundNodes &Match : Matches) {
H A DBugReporterVisitors.cpp447 auto Matches = match(ParentM, *Parent->getBody(), Parent->getASTContext()); local
448 for (BoundNodes &Match : Matches) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h11432 /// Finds a function in \p Matches with highest calling priority
11437 SmallVectorImpl<std::pair<DeclAccessPair, FunctionDecl *>> &Matches);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp12326 int Matches = 0;
12365 Matches++;
12376 if (Offset != 0 && Matches < 2)
[all...]

Completed in 565 milliseconds

12