Home
last modified time | relevance | path

Searched defs:MatchResult (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project/mlir/lib/Rewrite/
H A DByteCode.h134 struct MatchResult { struct
135 MatchResult(Location loc, const PDLByteCodePattern &pattern, in MatchResult() argument
139 MatchResult &operator=(const MatchResult &) = delete; argument
141 MatchResult &operator=(MatchResult &&) = default; argument
144 Location location;
146 SmallVector<const void *> values;
148 SmallVector<TypeRange, 0> typeRangeValues;
149 SmallVector<ValueRange, 0> valueRangeValues;
176 SmallVectorImpl<MatchResult> &matches, argument
243 struct MatchResult { struct
[all …]
/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp403 transferMakeOptionalCall(const CallExpr * E,const MatchFinder::MatchResult &,LatticeTransferState & State) transferMakeOptionalCall() argument
410 transferOptionalHasValueCall(const CXXMemberCallExpr * CallExpr,const MatchFinder::MatchResult &,LatticeTransferState & State) transferOptionalHasValueCall() argument
562 transferNulloptAssignment(const CXXOperatorCallExpr * E,const MatchFinder::MatchResult &,LatticeTransferState & State) transferNulloptAssignment() argument
602 transferSwapCall(const CXXMemberCallExpr * E,const MatchFinder::MatchResult &,LatticeTransferState & State) transferSwapCall() argument
609 transferStdSwapCall(const CallExpr * E,const MatchFinder::MatchResult &,LatticeTransferState & State) transferStdSwapCall() argument
617 transferStdForwardCall(const CallExpr * E,const MatchFinder::MatchResult &,LatticeTransferState & State) transferStdForwardCall() argument
648 transferOptionalAndOptionalCmp(const clang::CXXOperatorCallExpr * CmpExpr,const MatchFinder::MatchResult &,LatticeTransferState & State) transferOptionalAndOptionalCmp() argument
734 __anon8677bf870502(const CXXConstructExpr *E, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
753 __anon8677bf870602(const CXXConstructExpr *E, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
761 __anon8677bf870702(const CXXMemberCallExpr *E, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
769 __anon8677bf870802(const CallExpr *E, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
790 __anon8677bf870902(const CallExpr *E, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
801 __anon8677bf870a02(const CXXMemberCallExpr *E, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
802 __anon8677bf870b02(const CXXMemberCallExpr *E, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
835 __anon8677bf870c02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
841 __anon8677bf870d02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
849 __anon8677bf870e02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
857 __anon8677bf870f02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument
904 __anon8677bf871002(const CXXMemberCallExpr *E, const MatchFinder::MatchResult &, const Environment &Env) buildDiagnoseMatchSwitch() argument
905 __anon8677bf871102(const CallExpr *E, const MatchFinder::MatchResult &, const Environment &Env) buildDiagnoseMatchSwitch() argument
[all...]
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DMatchSwitchTest.cpp60 const MatchFinder::MatchResult &, in TEST()
61 llvm::StringRef &State) { State = FooStr; }) in TEST()
111 const MatchFinder::MatchResult &, in TEST()
112 llvm::StringRef &State) { State = JStr; }) in TEST()
150 const int &State) -> std::vector<int> { in TEST()
H A DCFGMatchSwitchTest.cpp41 [](const CXXCtorInitializer *, const MatchFinder::MatchResult &, in buildCFGMatchSwitch()
42 CFGElementMatches &Counter) { Counter.InitializerMatches++; }) in buildCFGMatchSwitch()
H A DTestingSupport.h275 SmallVector<ast_matchers::BoundNodes, 1> MatchResult = ast_matchers::match( local
/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h689 struct MatchResult { struct
692 MatchResult(size_t MatchPos, size_t MatchLen, Error E) in MatchResult() argument
694 MatchResult(Match M, Error E) : TheMatch(M), TheError(std::move(E)) {} in MatchResult() argument
695 MatchResult(Error E) : TheError(std::move(E)) {} in MatchResult() argument
H A DFileCheck.cpp1979 printMatch(bool ExpectedMatch,const SourceMgr & SM,StringRef Prefix,SMLoc Loc,const Pattern & Pat,int MatchedCount,StringRef Buffer,Pattern::MatchResult MatchResult,const FileCheckRequest & Req,std::vector<FileCheckDiag> * Diags) printMatch() argument
2132 reportMatchResult(bool ExpectedMatch,const SourceMgr & SM,StringRef Prefix,SMLoc Loc,const Pattern & Pat,int MatchedCount,StringRef Buffer,Pattern::MatchResult MatchResult,const FileCheckRequest & Req,std::vector<FileCheckDiag> * Diags) reportMatchResult() argument
2193 Pattern::MatchResult MatchResult = Pat.match(MatchBuffer, SM); Check() local
2316 Pattern::MatchResult MatchResult = NotInfo->DagNotPat.match(Buffer, SM); CheckNot() local
2373 Pattern::MatchResult MatchResult = Pat.match(MatchBuffer, SM); CheckDag() local
[all...]
/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h75 struct MatchResult { struct
97 virtual void run(const MatchResult &Result) = 0; argument
/llvm-project/flang/include/flang/Optimizer/Dialect/Support/
H A DKindMapping.h53 using MatchResult = mlir::ParseResult; variable
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DMagicNumbersCheck.h44 bool isBitFieldWidth(const clang::ast_matchers::MatchFinder::MatchResult &, in isBitFieldWidth()
H A DConstReturnTypeCheck.cpp73 const MatchFinder::MatchResult &MatchResult) { in checkDef()
/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp30 using MatchResult = MatchFinder::MatchResult; typedef
271 CharSourceRange getStatementsRange(const MatchResult &, in getStatementsRange()
332 CharSourceRange getElementsRange(const MatchResult &, in getElementsRange()
H A DRewriteRule.cpp30 using MatchResult = MatchFinder::MatchResult; typedef
147 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &, in eval()
/llvm-project/clang-tools-extra/clang-tidy/google/
H A DIntegerTypesCheck.cpp24 const MatchFinder::MatchResult &MatchResult, in getTokenAtLoc()
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DModernizeModuleTest.cpp249 TEST_P(MatcherTest, MatchResult) { in TEST_P() argument
/llvm-project/libc/test/UnitTest/
H A DLibcTest.cpp284 testMatch(bool MatchResult,MatcherBase & Matcher,const char * LHSStr,const char * RHSStr,internal::Location Loc) testMatch() argument
/llvm-project/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp975 ParseStatus MatchResult = MatchOperandParserImpl(Operands, Name); ParseInstruction() local
1033 unsigned MatchResult = MatchAndEmitInstruction() local
/llvm-project/flang/lib/Optimizer/Dialect/Support/
H A DKindMapping.cpp25 using MatchResult = fir::KindMapping::MatchResult; typedef
/llvm-project/libcxx/test/support/
H A Dcheck_assertion.h44 using MatchResult = std::pair<bool, std::string>; variable
/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp261 switch (MatchResult) { in MatchAndEmitInstruction() local
/llvm-project/clang/unittests/Tooling/
H A DSourceCodeBuildersTest.cpp24 using MatchResult = MatchFinder::MatchResult; typedef
H A DTransformerTest.cpp1063 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &, in TEST_F()
1738 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &, in TEST_F()
H A DRangeSelectorTest.cpp32 using MatchResult = MatchFinder::MatchResult; typedef
/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp328 unsigned MatchResult = MatchAndEmitInstruction() local
/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp1012 unsigned MatchResult = MatchInstructionImpl( MatchAndEmitInstruction() local

12