OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Matchers
(Results
1 - 8
of
8
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchFinder.cpp
402
//
matchers
.
406
MatchASTVisitor(const MatchFinder::MatchersByType *
Matchers
,
408
:
Matchers
(
Matchers
), Options(Options), ActiveASTContext(nullptr) {}
419
for (MatchCallback *MC :
Matchers
->AllCallbacks) {
429
for (MatchCallback *MC :
Matchers
->AllCallbacks) {
675
// Matches all registered
matchers
on the given node and calls the
805
/// Runs all the \p
Matchers
on \p Node.
809
void matchWithoutFilter(const T &Node, const MC &
Matchers
) {
812
for (const auto &MP :
Matchers
) {
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
VariantValue.cpp
75
// Abort if any of the inner
matchers
can't be converted to
123
:
Matchers
(std::move(MatchersIn)) {}
128
if (
Matchers
.size() != 1)
130
return
Matchers
[0];
135
for (size_t i = 0, e =
Matchers
.size(); i != e; ++i) {
138
Inner +=
Matchers
[i].getSupportedKind().asStringRef();
148
for (size_t i = 0, e =
Matchers
.size(); i != e; ++i) {
150
if (Ops.canConstructFrom(
Matchers
[i], IsExactMatch)) {
157
Found = &
Matchers
[i];
170
for (const DynTypedMatcher &Matcher :
Matchers
) {
[
all
...]
Marshallers.h
322
/// Returns whether the matcher is variadic. Variadic
matchers
can take any
342
/// Such
matchers
are excluded from code completion results.
422
/// Helper methods to extract and merge all possible typed
matchers
450
std::vector<DynTypedMatcher>
Matchers
;
451
mergePolyMatchers(PolyMatcher,
Matchers
, typename T::ReturnTypes());
452
VariantMatcher Out = VariantMatcher::PolymorphicMatcher(std::move(
Matchers
));
/src/external/apache2/llvm/dist/llvm/utils/TableGen/
GlobalISelEmitter.cpp
653
//===-
Matchers
-----------------------------------------------------------===//
681
/// Conditions that form a common prefix of all the
matchers
contained.
684
/// All the nested
matchers
, sharing a common prefix.
685
std::vector<Matcher *>
Matchers
;
687
/// An owning collection for any auxiliary
matchers
created while optimizing
688
/// nested
matchers
contained.
692
/// Add a matcher to the collection of nested
matchers
if it meets the
717
///
matchers
, so moving them out after finalize() is not supported.
722
/// Could be used to move out the
matchers
added previously, unless finalize()
723
/// has been already called. If any of the
matchers
are moved out, the grou
725
iterator_range<std::vector<Matcher *>::iterator>
matchers
() {
function in class:__anon5802::final
777
iterator_range<std::vector<Matcher *>::iterator>
matchers
() {
function in class:__anon5802::SwitchMatcher
[
all
...]
GICombinerEmitter.cpp
396
// between matching operand names between different
matchers
.
451
// implementing macros or choices between two
matchers
.
491
DagInit *
Matchers
= TheDef.getValueAsDag("Match");
493
if (
Matchers
->getOperatorAsDef(TheDef.getLoc())->getName() != "match") {
498
if (
Matchers
->getNumArgs() == 0) {
503
// The match section consists of a list of
matchers
and predicates. Parse each
505
for (unsigned I = 0; I <
Matchers
->getNumArgs(); ++I) {
506
if (parseInstructionMatcher(Target,
Matchers
->getArgName(I),
507
*
Matchers
->getArg(I), NamedEdgeDefs,
511
if (parseWipMatchOpcodeMatcher(Target,
Matchers
->getArgName(I)
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
RewriteRule.cpp
207
/// (only top-level) dynamic
matchers
.
344
// `TagBase` and the id paired with the case. All of the returned
matchers
have
351
std::vector<DynTypedMatcher>
Matchers
;
352
Matchers
.reserve(Cases.size());
355
// HACK: Many
matchers
are not bindable, so ensure that tryBind will work.
359
Matchers
.push_back(!M.getTraversalKind()
363
return
Matchers
;
378
// Map the cases into buckets of
matchers
-- one for each "root" AST kind,
395
// it is the default interpretation of
matchers
.
396
std::vector<DynTypedMatcher>
Matchers
;
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h
13
/// Used by the registry to construct
matchers
in a generic way.
94
/// The purpose of this object is to abstract simple and polymorphic
matchers
96
/// Polymorphic
matchers
might be implemented as a list of all the possible
150
/// Clones the provided
matchers
.
154
PolymorphicMatcher(std::vector<DynTypedMatcher>
Matchers
);
268
VariantValue(const VariantMatcher &
Matchers
);
/src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchFinder.h
9
// Provides a way to construct an ASTConsumer that runs given
matchers
54
/// After creation, you can add multiple
matchers
to the MatchFinder via
57
/// Once all
matchers
are added, newASTConsumer() returns an ASTConsumer
62
/// traversal on the AST, and applying the
matchers
in the order in which they
65
/// See ASTMatchers.h for more information about how to create
matchers
.
108
/// An id used to group the
matchers
.
227
MatchersByType
Matchers
;
240
/// Multiple results occur when using
matchers
like \c forEachDescendant,
Completed in 26 milliseconds
Indexes created Sun Jun 21 00:25:28 UTC 2026