| /llvm-project-15.0.7/mlir/test/Dialect/PDL/ |
| H A D | invalid.mlir | 12 rewrite %op with "rewriter" 23 rewrite %op { 49 rewrite %op { 61 rewrite %op { 113 rewrite %op { 134 rewrite %op { 150 rewrite %op { 183 rewrite with "foo" 215 rewrite { 227 rewrite %root { [all …]
|
| H A D | ops.mlir | 16 rewrite %root with "rewriter" 24 rewrite %root with "rewriter"(%input : !pdl.value) 54 rewrite %root1 with "rewriter"(%root2 : !pdl.operation) 65 rewrite %root { 80 rewrite %root { 92 rewrite %root { 108 rewrite %root { 121 rewrite %root { 130 rewrite %root { 139 rewrite %root { [all …]
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | stmt.pdll | 9 // CHECK: rewrite %[[OP]] 17 // CHECK: rewrite %[[OP]] 19 Pattern EraseStmtNested => rewrite root: Op with { erase root; }; 30 // CHECK: rewrite %[[OP]] 39 // CHECK: rewrite %[[OP]] 43 rewrite root with { replace root with operands; }; 54 // CHECK: rewrite %[[OP]] 57 rewrite root: Op with { 58 rewrite root with { erase root; };
|
| /llvm-project-15.0.7/mlir/test/python/dialects/ |
| H A D | pdl_ops.py | 133 rewrite = RewriteOp(root) 134 with InsertionPoint(rewrite.add_body()): 156 rewrite = RewriteOp(root) 157 with InsertionPoint(rewrite.add_body()): 176 rewrite = RewriteOp(root) 177 with InsertionPoint(rewrite.add_body()): 198 rewrite = RewriteOp(root) 199 with InsertionPoint(rewrite.add_body()): 215 rewrite = RewriteOp(root) 233 rewrite = RewriteOp(root) [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/PDLToPDLInterp/ |
| H A D | pdl-to-pdl-interp-rewriter.mlir | 27 rewrite %root { 44 rewrite %root { 64 rewrite %root { 87 rewrite %root { 106 rewrite %root { 122 rewrite %root { 143 rewrite %root { 163 rewrite %root { 184 rewrite %root { 204 rewrite %root { [all …]
|
| H A D | pdl-to-pdl-interp-matcher.mlir | 31 rewrite %root with "rewriter" 55 rewrite %root with "rewriter" 76 rewrite %root with "rewriter" 100 rewrite %root with "rewriter" 131 rewrite %root with "rewriter" 153 rewrite %root with "rewriter" 177 rewrite %root with "rewriter" 207 rewrite %root with "rewriter" 228 rewrite %root with "rewriter" 261 rewrite %root with "rewriter" [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/PDL/IR/ |
| H A D | PDLOps.td | 59 let summary = "Apply a native rewrite method inside of pdl.rewrite region"; 75 // The native rewrite as defined in C++: 390 let summary = "Define a rewrite pattern"; 396 by a terminating `pdl.rewrite`. 407 pdl.rewrite %root { 433 /// Returns the rewrite operation of this pattern. 559 def PDL_RewriteOp : PDL_Op<"rewrite", [ 569 rewrite function, or via the region body. The rewrite region, if specified, 584 // Specify an external rewrite function: 588 pdl.rewrite %root { [all …]
|
| H A D | PDLDialect.td | 25 PDL presents a high level abstraction for the rewrite pattern infrastructure 35 a `pdl.rewrite` that either dispatches to an external rewriter or contains 36 a region for the rewrite specified via `pdl`. The types of values in `pdl` 52 pdl.rewrite %root {
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | rewrite-legacy-objc.m | 1 // RUN: %clang --target=x86_64-apple-macosx10.7.0 -rewrite-legacy-objc %s -o - -### 2>&1 | \ 4 // TEST0: "-rewrite-objc" 7 // TEST0: rewrite-legacy-objc.m" 8 // RUN: %clang --target=i386-apple-macosx10.9.0 -rewrite-legacy-objc %s -o - -### 2>&1 | \ 10 // RUN: %clang --target=i386-apple-macosx10.6.0 -rewrite-legacy-objc %s -o - -### 2>&1 | \
|
| /llvm-project-15.0.7/mlir/test/Dialect/Transform/ |
| H A D | test-interpreter.mlir | 85 pdl.rewrite %0 with "transform.dialect" 90 pdl.rewrite %0 with "transform.dialect" 120 pdl.rewrite %0 with "transform.dialect" 145 pdl.rewrite %2 with "transform.dialect" 183 pdl.rewrite %2 with "transform.dialect" 216 pdl.rewrite %2 with "transform.dialect" 259 pdl.rewrite %2 with "transform.dialect" 295 pdl.rewrite %2 with "transform.dialect" 367 pdl.rewrite %2 with "transform.dialect" 395 pdl.rewrite %2 with "transform.dialect" [all …]
|
| H A D | expensive-checks.mlir | 15 rewrite %2 with "transform.dialect" 43 rewrite %2 with "transform.dialect" 49 rewrite %2 with "transform.dialect"
|
| /llvm-project-15.0.7/llvm/test/SymbolRewriter/ |
| H A D | rewrite.ll | 1 ; RUN: opt -mtriple i686-win32 -rewrite-symbols -rewrite-map-file %p/rewrite.map \ 3 ; RUN: opt -mtriple i686-win32 -passes='rewrite-symbols' -rewrite-map-file %p/rewrite.map \
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | pattern-failure.pdll | 22 // CHECK: expected Pattern body to terminate with an operation rewrite statement 29 // CHECK: Pattern body was terminated by an operation rewrite statement, but found trailing stateme… 37 …tern lambda body to contain a single operation rewrite statement, such as `erase`, `replace`, or `…
|
| H A D | stmt-failure.pdll | 340 // `rewrite` 345 rewrite attr<""> with { op<toy.reshape>; }; 351 // CHECK: expected `with` before rewrite body 352 rewrite op<>; 358 // CHECK: expected `{` to start rewrite body 359 rewrite op<> with; 366 rewrite root: Op with { 375 rewrite root: Op with {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | 2009-11-15-ProcImpDefsBug.ll | 18 i32 0, label %rewrite 32 br i1 undef, label %bb78.preheader, label %rewrite 70 rewrite: ; preds = %bb60, %bb51 73 bb94: ; preds = %rewrite 76 bb119.preheader: ; preds = %rewrite
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | PDLL.md | 306 [`operation rewrite statement`](#operation-rewrite-statements), and denotes the 369 [operation rewrite statement](#operation-rewrite-statements): 678 rewrite root: Op with { 696 rewrite root: Op with { 1273 `rewrite` section of the pattern. The `rewrite` section is denoted by the last 1275 [operation rewrite statement](#operation-rewrite-statements). There are two main 1327 ##### `rewrite` statement 1333 rewrite root with { 1396 In addition to explicitly specifying the results of the rewrite via the rewrite 1434 [operation rewrite statement](#operation-rewrite-statements): [all …]
|
| /llvm-project-15.0.7/mlir/docs/Tutorials/ |
| H A D | QuickstartRewrites.md | 1 # Quickstart tutorial to adding MLIR graph rewrite 4 by defining an operation, showing multiple ways to define the rewrite using 5 patterns, as well as defining the rewrite using a graph walker (note: using 6 patterns and the rewrite engine is preferred, showing the walker is for 90 There are multiple forms of graph rewrite that can be performed in MLIR. One of 219 /// Multi-step rewrite using "match" and "rewrite". This allows for separating 229 void rewrite(Operation *op, PatternRewriter &rewriter) const override { 237 /// rewrite immediately upon a successful match. 252 In the C++ rewrite the static benefit of the rewrite pattern is specified at 257 the `match` function in a multi-step rewrite may populate and return a [all …]
|
| /llvm-project-15.0.7/flang/test/Fir/ |
| H A D | target-rewrite-boxchar.fir | 1 // RUN: fir-opt --target-rewrite="target=i386-unknown-linux-gnu" %s | FileCheck %s --check-prefix=I… 2 // RUN: fir-opt --target-rewrite="target=x86_64-unknown-linux-gnu" %s | FileCheck %s --check-prefix… 3 // RUN: fir-opt --target-rewrite="target=aarch64-unknown-linux-gnu" %s | FileCheck %s --check-prefi… 4 // RUN: fir-opt --target-rewrite="target=powerpc64le-unknown-linux-gnu" %s | FileCheck %s --check-p… 6 // Test that we rewrite the signatures and bodies of functions that take boxchar 27 // Test that we rewrite the signatures and bodies of functions that return a 57 // Test that we rewrite the signatures of functions with a sret parameter and 67 // Test that we rewrite calls to functions that take boxchar arguments. 97 // Test that we rewrite the fir.address_of operator
|
| /llvm-project-15.0.7/clang/test/Frontend/Inputs/ |
| H A D | rewrite-includes9.h | 1 #if __has_include_next(<rewrite-includes9.h>) 2 #include_next <rewrite-includes9.h>
|
| H A D | rewrite-includes8.h | 1 #if __has_include_next(<rewrite-includes8.h>) 2 #elif __has_include(<rewrite-includes8.hfail>)
|
| /llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/ |
| H A D | Pattern.h | 143 void rewrite(Operation *op, ArrayRef<Value> operands, in rewrite() function 145 rewrite(cast<SourceOp>(op), OpAdaptor(operands, op->getAttrDictionary()), in rewrite() 164 virtual void rewrite(SourceOp op, OpAdaptor adaptor, in rewrite() function 173 rewrite(op, adaptor, rewriter); in matchAndRewrite()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RefactoringTest.cpp | 1365 rewrite()); in TEST_F() 1381 rewrite()); in TEST_F() 1416 rewrite()); in TEST_F() 1428 rewrite()); in TEST_F() 1440 rewrite()); in TEST_F() 1463 rewrite()); in TEST_F() 1475 rewrite()); in TEST_F() 1485 rewrite()); in TEST_F() 1496 rewrite()); in TEST_F() 1519 rewrite()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | rewrite-includes-conditions.c | 23 #if __has_include(<rewrite-includes3.h>) 29 #if HAS_INCLUDE(<rewrite-includes1.h>)
|
| /llvm-project-15.0.7/openmp/docs/remarks/ |
| H A D | OMP102.rst | 3 Parallel region is not called from a unique kernel. Will not attempt to rewrite the state machine. … 8 kernel and rewrite the state machine.
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | objc-ivar-receiver-1.m | 1 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o - 2 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o - | grep 'newInv->_conta…
|