| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/ |
| H A D | constraints.compile.pass.cpp | 30 template <class View, class Pattern> 39 using Pattern = ForwardView; typedef 43 static_assert( std::ranges::view<Pattern>); 54 using Pattern = ForwardTinyView; typedef 88 using Pattern = ForwardTinyView; typedef 103 using Pattern = ForwardView; typedef 118 using Pattern = InputView; typedef 139 using Pattern = IntForwardView; typedef 154 using Pattern = ForwardView; typedef 177 using Pattern = AlmostTinyRange; typedef [all …]
|
| H A D | ctor.view.pass.cpp | 67 using Pattern = ViewWithCounting; in test() typedef 73 Pattern pattern(pattern_copied, pattern_moved); in test() 75 std::ranges::lazy_split_view<View, Pattern> v(view, pattern); in test() 85 std::ranges::lazy_split_view<View, Pattern> v( in test() 86 View(view_copied, view_moved), Pattern(pattern_copied, pattern_moved)); in test()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | stmt-failure.pdll | 8 Pattern { 19 Pattern { 26 Pattern { 37 Pattern { 44 Pattern { 51 Pattern { 58 Pattern { 65 Pattern { 72 Pattern { 79 Pattern { [all …]
|
| H A D | pattern-failure.pdll | 4 Pattern } 10 Pattern Foo { erase root: Op; } 16 Pattern { 23 Pattern { 30 Pattern { 38 Pattern => op<>; 45 Pattern { 56 Pattern with {} 61 Pattern with unknown {} 66 Pattern with benefit) {} [all …]
|
| H A D | expr-failure.pdll | 7 Pattern { 14 Pattern { 25 Pattern { 32 Pattern { 39 Pattern { 52 Pattern { 59 Pattern { 69 Pattern { 78 Pattern { 89 Pattern { [all …]
|
| H A D | expr.pdll | 9 Pattern { 28 Pattern { 46 Pattern { 64 Pattern { 83 Pattern { 106 Pattern { 133 Pattern { 147 Pattern { 156 Pattern { 169 Pattern { [all …]
|
| H A D | stmt.pdll | 11 Pattern { 25 Pattern { 44 Pattern { 62 Pattern { 79 Pattern { 97 Pattern { 115 Pattern { 134 Pattern { 152 Pattern { 168 Pattern { [all …]
|
| H A D | pattern.pdll | 7 Pattern { 15 Pattern NamedPattern { 23 Pattern NamedPattern with benefit(10), recursion { 33 Pattern NamedPattern => erase _: Op;
|
| /llvm-project-15.0.7/mlir/test/IR/ |
| H A D | test-matchers.mlir | 15 // CHECK: Pattern add(*) matched 3 times 16 // CHECK: Pattern mul(*) matched 4 times 17 // CHECK: Pattern add(add(*), *) matched 0 times 18 // CHECK: Pattern add(*, add(*)) matched 0 times 19 // CHECK: Pattern mul(add(*), *) matched 0 times 20 // CHECK: Pattern mul(*, add(*)) matched 2 times 21 // CHECK: Pattern mul(mul(*), *) matched 3 times 25 // CHECK: Pattern add(a, b) matched 1 times 26 // CHECK: Pattern add(a, c) matched 1 times 27 // CHECK: Pattern add(b, a) matched 0 times [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DiagnosticHandler.cpp | 25 std::shared_ptr<Regex> Pattern; member 30 Pattern = std::make_shared<Regex>(Val); in operator =() 32 if (!Pattern->isValid(RegexError)) in operator =() 72 return (PassRemarksAnalysisOptLoc.Pattern && in isAnalysisRemarkEnabled() 73 PassRemarksAnalysisOptLoc.Pattern->match(PassName)); in isAnalysisRemarkEnabled() 76 return (PassRemarksMissedOptLoc.Pattern && in isMissedOptRemarkEnabled() 77 PassRemarksMissedOptLoc.Pattern->match(PassName)); in isMissedOptRemarkEnabled() 80 return (PassRemarksPassedOptLoc.Pattern && in isPassedOptRemarkEnabled() 81 PassRemarksPassedOptLoc.Pattern->match(PassName)); in isPassedOptRemarkEnabled() 85 return (PassRemarksPassedOptLoc.Pattern || PassRemarksMissedOptLoc.Pattern || in isAnyRemarkEnabled() [all …]
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/SparseTensor/ |
| H A D | MergerTest.cpp | 84 struct Pattern { struct 91 std::shared_ptr<Pattern> e0; argument 92 std::shared_ptr<Pattern> e1; argument 98 Pattern(Kind kind, const std::shared_ptr<Pattern> &e0, in Pattern() argument 116 LLVM_ATTRIBUTE_UNUSED static std::shared_ptr<Pattern> OP##Pattern( \ 466 expectLatPoint(s, lat(0), DISJ##Pattern(CONJ##Pattern(p0, p1), p2), \ 474 expectLatPoint(s, lat(0), DISJ##Pattern(CONJ##Pattern(p0, p1), p2), \ 507 expectLatPoint(s, lat(0), DISJ2##Pattern(DISJ1##Pattern(p0, p1), p2), \ 521 expectLatPoint(s, lat(0), DISJ2##Pattern(DISJ1##Pattern(p0, p1), p2), \ 553 expectLatPoint(s, lat(0), CONJ2##Pattern(CONJ1##Pattern(p0, p1), p2), \ [all …]
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ |
| H A D | CommonConfig.cpp | 15 NameOrPattern::create(StringRef Pattern, MatchStyle MS, in create() argument 19 return NameOrPattern(Pattern); in create() 23 if (Pattern[0] == '!') { in create() 25 Pattern = Pattern.drop_front(); in create() 27 Expected<GlobPattern> GlobOrErr = GlobPattern::create(Pattern); in create() 34 return create(Pattern, MatchStyle::Literal, ErrorCallback); in create() 43 ("^" + Pattern.ltrim('^').rtrim('$') + "$").toStringRef(Data))); in create()
|
| /llvm-project-15.0.7/clang/test/CodeCompletion/ |
| H A D | objc-expr.m | 8 // CHECK-AT: COMPLETION: Pattern : [#NSString *#]"<#string#>" 9 // CHECK-AT: COMPLETION: Pattern : [#id#](<#expression#>) 10 // CHECK-AT: COMPLETION: Pattern : [#NSArray *#][<#objects, ...#>] 11 // CHECK-AT: COMPLETION: Pattern : [#char[]#]encode(<#type-name#>) 12 // CHECK-AT: COMPLETION: Pattern : [#Protocol *#]protocol(<#protocol-name#>) 13 // CHECK-AT: COMPLETION: Pattern : [#SEL#]selector(<#selector#>) 14 // CHECK-AT: COMPLETION: Pattern : [#NSDictionary *#]{<#key#>: <#object, ...#>} 17 // CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>)
|
| /llvm-project-15.0.7/mlir/lib/Rewrite/ |
| H A D | PatternApplicator.cpp | 35 static void logImpossibleToMatch(const Pattern &pattern) { in logImpossibleToMatch() 81 llvm::SmallDenseMap<const Pattern *, PatternBenefit> benefits; in applyCostModel() 82 auto cmp = [&benefits](const Pattern *lhs, const Pattern *rhs) { in applyCostModel() 97 for (const Pattern *pat : list) in applyCostModel() 114 function_ref<void(const Pattern &)> walk) { in walkAllPatterns() 118 for (const Pattern &it : frozenPatternList.getMatchAnyOpNativePatterns()) in walkAllPatterns() 121 for (const Pattern &it : bytecode->getPatterns()) in walkAllPatterns() 128 function_ref<bool(const Pattern &)> canApply, in matchAndRewrite() 129 function_ref<void(const Pattern &)> onFailure, in matchAndRewrite() 130 function_ref<LogicalResult(const Pattern &)> onSuccess) { in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Rewrite/ |
| H A D | PatternApplicator.h | 34 using CostModel = function_ref<PatternBenefit(const Pattern &)>; 50 function_ref<bool(const Pattern &)> canApply = {}, 51 function_ref<void(const Pattern &)> onFailure = {}, 52 function_ref<LogicalResult(const Pattern &)> onSuccess = {}); 60 applyCostModel([](const Pattern &pattern) { return pattern.getBenefit(); }); in applyDefaultCostModel() 64 void walkAllPatterns(function_ref<void(const Pattern &)> walk);
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | Strings.cpp | 21 SingleStringMatcher::SingleStringMatcher(StringRef Pattern) { in SingleStringMatcher() argument 22 if (Pattern.size() > 2 && Pattern.startswith("\"") && in SingleStringMatcher() 23 Pattern.endswith("\"")) { in SingleStringMatcher() 25 ExactPattern = Pattern.substr(1, Pattern.size() - 2); in SingleStringMatcher() 27 Expected<GlobPattern> Glob = GlobPattern::create(Pattern); in SingleStringMatcher()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | crash-lambda-12645424.cpp | 26 template< class Pattern> struct F { 27 typedef Pattern filtered_pattern; 31 template<class, class Pattern> struct get_case { 32 F<Pattern> type; 35 template<class Pattern> struct rvalue_builder { 36 …template<typename Expr> typename get_case<Expr, Pattern>::type operator>>(Expr ); // expected-note…
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DAGISelMatcherGen.cpp | 55 const PatternToMatch &Pattern; member in __anone4d064020111::MatcherGen 167 InferPossibleTypes(Pattern.getForceMode()); in MatcherGen() 211 if (N == Pattern.getSrcPattern()) { in EmitLeafMatchCode() 285 if (N == Pattern.getSrcPattern()) { in EmitLeafMatchCode() 297 if (N == Pattern.getSrcPattern()) { in EmitLeafMatchCode() 354 if (N == Pattern.getSrcPattern()) in EmitOperatorMatchCode() 445 N != Pattern.getSrcPattern()) { in EmitOperatorMatchCode() 580 Pattern.getForceMode()); in EmitMatcherCode() 584 if (!Pattern.getPredicateCheck().empty()) in EmitMatcherCode() 1058 if (!Pattern.getDstRegs().empty()) { in EmitResultCode() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/ |
| H A D | types.compile.pass.cpp | 27 template <class Range, class Pattern> 28 using OuterIter = std::ranges::iterator_t<std::ranges::lazy_split_view<Range, Pattern>>; 29 template <class Range, class Pattern> 30 using InnerIter = std::ranges::iterator_t<decltype(*OuterIter<Range, Pattern>())>; 43 template <class Range, class Pattern> 44 concept NoIteratorCategory = !requires { typename InnerIter<Range, Pattern>::iterator_category; };
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | PatternMatch.cpp | 35 Pattern::Pattern(StringRef rootName, PatternBenefit benefit, in Pattern() function in Pattern 37 : Pattern(OperationName(rootName, context).getAsOpaquePointer(), in Pattern() 43 Pattern::Pattern(MatchAnyOpTypeTag tag, PatternBenefit benefit, in Pattern() function in Pattern 45 : Pattern(nullptr, RootKind::Any, generatedNames, benefit, context) {} in Pattern() 50 Pattern::Pattern(MatchInterfaceOpTypeTag tag, TypeID interfaceID, in Pattern() function in Pattern 53 : Pattern(interfaceID.getAsOpaquePointer(), RootKind::InterfaceID, in Pattern() 59 Pattern::Pattern(MatchTraitOpTypeTag tag, TypeID traitID, in Pattern() function in Pattern 62 : Pattern(traitID.getAsOpaquePointer(), RootKind::TraitID, generatedNames, in Pattern() 68 Pattern::Pattern(const void *rootValue, RootKind rootKind, in Pattern() function in Pattern
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/ |
| H A D | custom-fill.yaml | 35 Pattern: "AABB" 42 Pattern: "CCDD" 48 Pattern: "EE" 110 Pattern: "" 119 Pattern: "" 151 Pattern: "AA" 156 Pattern: "BB" 170 Pattern: "00" 213 Pattern: "" 246 Pattern: "" [all …]
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | decl.pdll | 8 Pattern => erase _: Op; 13 Pattern NamedPattern => erase _: Op; 18 Pattern NamedPattern with benefit(10), recursion => erase _: Op; 32 Pattern VarWithInit { 46 Pattern VarWithRangeConstraints { 61 Pattern VarWithConstraints { 73 Pattern VarWithNoNameOpConstraint => erase _: Op; 79 Pattern VarWithNamedOpConstraint => erase _: Op<test.op>; 97 Pattern VarWithUserConstraint => erase _: [TestArgResCsts, OpCst];
|
| H A D | expr.pdll | 10 Pattern AttrExpr => erase op<> { attr = attr<"10"> }; 25 Pattern TestCallWithArgsAndReturn => replace root: Op with TestRewrite(op<test.op>); 35 Pattern TestExternalCall => replace root: Op with TestRewrite(root); 50 Pattern OpAllResultMemberAccess { 63 Pattern UnregisteredOpResultIndexing { 82 Pattern OpResultMemberAccess { 94 Pattern TupleMemberAccessNumber { 108 Pattern TupleMemberAccessName { 124 Pattern TypeExpr => erase op<> -> (type<"i32">);
|
| H A D | stmt.pdll | 11 Pattern EraseStmt => erase op<>; 19 Pattern EraseStmtNested => rewrite root: Op with { erase root; }; 32 Pattern ReplaceStmt => replace op<>(operands: ValueRange) with operands; 41 Pattern ReplaceStmtNested { 56 Pattern RewriteStmtNested {
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/ |
| H A D | types.compile.pass.cpp | 22 template <class Range, class Pattern> 23 using OuterIter = decltype(std::declval<std::ranges::lazy_split_view<Range, Pattern>>().begin()); 29 template <class Range, class Pattern> 30 concept NoIteratorCategory = !requires { typename OuterIter<Range, Pattern>::iterator_category; };
|