| /llvm-project-15.0.7/mlir/test/Dialect/Transform/ |
| H A D | ops.mlir | 6 ^bb0(%arg0: !pdl.operation): 10 ^bb1(%arg1: !pdl.operation): 17 ^bb0(%arg0: !pdl.operation): 20 ^bb1(%arg1: !pdl.operation): 27 ^bb0(%arg0: !pdl.operation): 30 ^bb1(%arg1: !pdl.operation): 40 ^bb0(%arg0: !pdl.operation): 42 ^bb1(%arg1: !pdl.operation): 44 } : !pdl.operation 46 ^bb2(%arg2: !pdl.operation): [all …]
|
| H A D | ops-invalid.mlir | 11 ^bb0(%arg0: !pdl.operation): 14 ^bb1(%arg1: !pdl.operation): 22 ^bb0(%arg0: !pdl.operation): 31 ^bb0(%arg0: !pdl.operation): 34 } : !pdl.operation 40 ^bb0(%arg0: !pdl.operation): 51 ^bb0(%arg0: !pdl.operation): 66 ^bb0(%arg0: !pdl.operation): 75 ^bb0(%arg0: !pdl.operation): 91 ^bb0(%arg0: !pdl.operation): [all …]
|
| H A D | test-interpreter.mlir | 32 ^bb0(%arg0: !pdl.operation): 34 ^bb0(%arg1: !pdl.operation): 51 ^bb0(%arg0: !pdl.operation): 54 ^bb0(%arg1: !pdl.operation): 63 ^bb0(%arg0: !pdl.operation): 67 yield %1 : !pdl.operation 68 } : !pdl.operation 76 ^bb0(%arg0: !pdl.operation): 116 ^bb0(%arg0: !pdl.operation): 140 ^bb0(%arg0: !pdl.operation): [all …]
|
| H A D | check-use-after-free.mlir | 21 ^bb0(%arg0: !pdl.operation): 50 ^bb0(%arg0: !pdl.operation): 59 ^bb0(%arg0: !pdl.operation): 62 ^bb1(%arg1: !pdl.operation): 64 } : !pdl.operation 66 ^bb2(%arg2: !pdl.operation): 69 ^bb3(%arg3: !pdl.operation): 76 ^bb4(%arg4: !pdl.operation): 81 ^bb3(%arg3: !pdl.operation): 91 ^bb0(%arg0: !pdl.operation): [all …]
|
| H A D | expensive-checks.mlir | 10 ^bb0(%arg0: !pdl.operation): 14 %2 = operation "func.return"(%0 : !pdl.range<value>) -> (%1 : !pdl.range<type>) 19 ^bb1(%arg1: !pdl.operation): 23 …ow {{invalidated the handle to payload operations nested in the payload operation associated with … 38 ^bb0(%arg0: !pdl.operation): 42 %2 = operation "func.func"(%0 : !pdl.range<value>) -> (%1 : !pdl.range<type>) 48 %2 = operation "func.return"(%0 : !pdl.range<value>) -> (%1 : !pdl.range<type>) 53 ^bb1(%arg1: !pdl.operation): 57 …low {{a handle passed as operand #0 and consumed by this operation points to a payload operation m…
|
| /llvm-project-15.0.7/mlir/test/Dialect/PDL/ |
| H A D | ops.mlir | 10 %op0 = operation {"attr" = %attribute} -> (%type : !pdl.type) 23 %root = operation(%input : !pdl.value) 35 %root1 = operation(%val1 : !pdl.value) 39 rewrite with "rewriter"(%root1, %root2 : !pdl.operation, !pdl.operation) 50 %root1 = operation(%val1 : !pdl.value) 54 rewrite %root1 with "rewriter"(%root2 : !pdl.operation) 91 %root = operation -> (%types : !pdl.range<type>) 120 %root = operation (%operands : !pdl.range<value>) 129 %root = operation 138 %root = operation [all …]
|
| H A D | invalid.mlir | 8 %op = operation "foo.op" 22 %op = operation "foo.op" 48 %op = operation "foo.op" 60 %op = operation "foo.op" 73 %op = operation "foo.op" 87 %op = operation "foo.op" 101 %op = operation "foo.op" 112 %op = operation "foo.op" 115 %newOp = operation 234 } : (!pdl.operation, !pdl.operation, !pdl.value) -> () [all …]
|
| /llvm-project-15.0.7/mlir/test/IR/ |
| H A D | visitors.mlir | 44 // CHECK: Visiting region 0 from operation 'func.func' 45 // CHECK: Visiting region 0 from operation 'scf.for' 46 // CHECK: Visiting region 0 from operation 'scf.if' 47 // CHECK: Visiting region 1 from operation 'scf.if' 68 // CHECK: Visiting region 0 from operation 'scf.if' 69 // CHECK: Visiting region 1 from operation 'scf.if' 70 // CHECK: Visiting region 0 from operation 'scf.for' 71 // CHECK: Visiting region 0 from operation 'func.func' 149 // CHECK: Visiting region 0 from operation 'func.func' 150 // CHECK: Visiting region 0 from operation 'regionOp0' [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/PDLToPDLInterp/ |
| H A D | pdl-to-pdl-interp-rewriter.mlir | 12 %root = operation "foo.op"(%input : !pdl.value) 26 %root = operation "foo.op" 43 %root = operation "foo.op" {"attr" = %attr} 63 %root = operation "foo.op"(%operand : !pdl.value) 142 %root = operation "foo.op" 162 %root = operation "foo.op" -> (%type : !pdl.type) 203 %root = operation "foo.op" 205 %newOp = operation "foo.op" 221 %root = operation "foo.op" -> (%type : !pdl.type) 238 %root = operation "foo.op" [all …]
|
| H A D | pdl-to-pdl-interp-matcher.mlir | 5 // CHECK: func @matcher(%{{.*}}: !pdl.operation) 30 %root = operation "foo.op" 142 // operation. 218 // operation. 475 %root = operation(%val : !pdl.value) 507 %op = operation(%val : !pdl.value) 572 rewrite with "rewriter"(%root1, %root2 : !pdl.operation, !pdl.operation) 589 %root = operation 609 %root = operation 650 … rewrite with "rewriter"(%rootA, %rootB, %rootC : !pdl.operation, !pdl.operation, !pdl.operation) [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/ |
| H A D | Ops.td | 30 // * The parent dialect of the operation. 32 // * A list of traits for the operation. 46 // constant operation is marked as 'NoSideEffect' as it is a pure operation 54 to the operation as an attribute. For example: 165 let summary = "generic call operation"; 227 let summary = "print operation"; 244 let summary = "tensor reshape operation"; 273 let summary = "return operation"; 275 The "return" operation represents a return operation within a function. 278 the operation. For example: [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/ |
| H A D | Ops.td | 33 // * The parent dialect of the operation. 35 // * A list of traits for the operation. 49 // constant operation is marked as 'NoSideEffect' as it is a pure operation 125 let summary = "shape cast operation"; 196 let summary = "generic call operation"; 259 let summary = "print operation"; 276 let summary = "tensor reshape operation"; 305 let summary = "return operation"; 307 The "return" operation represents a return operation within a function. 310 the operation. For example: [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/include/toy/ |
| H A D | Ops.td | 33 // * The parent dialect of the operation. 35 // * A list of traits for the operation. 49 // constant operation is marked as 'NoSideEffect' as it is a pure operation 125 let summary = "shape cast operation"; 196 let summary = "generic call operation"; 259 let summary = "print operation"; 277 let summary = "tensor reshape operation"; 306 let summary = "return operation"; 308 The "return" operation represents a return operation within a function. 311 the operation. For example: [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/include/toy/ |
| H A D | Ops.td | 33 // * The parent dialect of the operation. 35 // * A list of traits for the operation. 49 // constant operation is marked as 'NoSideEffect' as it is a pure operation 125 let summary = "shape cast operation"; 196 let summary = "generic call operation"; 259 let summary = "print operation"; 277 let summary = "tensor reshape operation"; 306 let summary = "return operation"; 308 The "return" operation represents a return operation within a function. 311 the operation. For example: [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/ |
| H A D | Ops.td | 31 // * The parent dialect of the operation. 33 // * A list of traits for the operation. 47 // constant operation is marked as 'NoSideEffect' as it is a pure operation 55 to the operation as an attribute. For example: 166 let summary = "generic call operation"; 228 let summary = "print operation"; 245 let summary = "tensor reshape operation"; 271 let summary = "return operation"; 273 The "return" operation represents a return operation within a function. 276 the operation. For example: [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/PDL/IR/ |
| H A D | PDLOps.td | 249 `pdl.operation` operations define operation nodes within a pattern. Within 258 constructed instance of that operation. The results of a `pdl.operation` are 259 a handle to the operation itself. Handles to the results of the operation 287 operation. 316 operation. 453 - The operation will be replaced with the results of this operation. 496 %operation = pdl.operation ... 525 operation. 531 %operation = pdl.operation ... 536 %operation = pdl.operation ... [all …]
|
| /llvm-project-15.0.7/mlir/test/Rewrite/ |
| H A D | pdl-bytecode.mlir | 13 pdl_interp.func @matcher(%root : !pdl.operation) { 14 ….apply_constraint "multi_entity_constraint"(%root, %root : !pdl.operation, !pdl.operation) -> ^pat… 27 pdl_interp.func @success(%root : !pdl.operation) { 44 pdl_interp.func @matcher(%root : !pdl.operation) { 57 pdl_interp.func @success(%root : !pdl.operation) { 80 pdl_interp.func @matcher(%root : !pdl.operation) { 111 pdl_interp.func @matcher(%root : !pdl.operation) { 123 %op = pdl_interp.apply_rewrite "creator"(%root : !pdl.operation) : !pdl.operation 139 pdl_interp.func @matcher(%root : !pdl.operation) { 172 pdl_interp.func @matcher(%root : !pdl.operation) { [all …]
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | expr.pdll | 9 // CHECK: operation({{.*}}) {"attr" = %[[ATTR]]} 19 // CHECK: %[[ROOT:.*]] = operation 21 // CHECK: %[[REPL_OP:.*]] = operation "test.op" 30 // CHECK: %[[ROOT:.*]] = operation 43 // Handle implicit "all" operation results access. 45 // CHECK: %[[OP0:.*]] = operation 47 // CHECK: %[[OP1:.*]] = operation 76 // CHECK: %[[OP0:.*]] = operation 90 // CHECK: %[[FIRST:.*]] = operation "test.first" 91 // CHECK: %[[SECOND:.*]] = operation "test.second" [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/ |
| H A D | Ops.td | 41 // * The parent dialect of the operation. 43 // * A list of traits for the operation. 67 // constant operation is marked as 'NoSideEffect' as it is a pure operation 148 let summary = "shape cast operation"; 219 let summary = "generic call operation"; 283 let summary = "print operation"; 301 let summary = "tensor reshape operation"; 330 let summary = "return operation"; 332 The "return" operation represents a return operation within a function. 335 the operation. For example: [all …]
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | IRCore.cpp | 199 : operation(std::move(operation)) {} in PyRegionIterator() 219 PyOperationRef operation; member in __anon7f4419ab0111::PyRegionIterator 227 PyRegionList(PyOperationRef operation) : operation(std::move(operation)) {} in PyRegionList() argument 257 : operation(std::move(operation)), next(next) {} in PyBlockIterator() 289 : operation(std::move(operation)), region(region) {} in PyBlockList() 917 : BaseContextObject(std::move(contextRef)), operation(operation) {} in PyOperation() 1719 : operation(operation.getOperation().getRef()) { in PySymbolTable() 1993 operation(std::move(operation)), block(block) {} in PyBlockArgumentList() 2041 operation(operation) {} in PyOpOperandList() 2096 operation(operation) {} in PyOpResultList() [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ThreadPlanShouldStopHere.cpp | 40 FrameComparison operation, Status &status) { in InvokeShouldStopHereCallback() argument 44 m_owner, m_flags, operation, status, m_baton); in InvokeShouldStopHereCallback() 59 ThreadPlan *current_plan, Flags &flags, FrameComparison operation, in DefaultShouldStopHereCallback() argument 68 if ((operation == eFrameCompareOlder && flags.Test(eStepOutAvoidNoDebug)) || in DefaultShouldStopHereCallback() 70 (operation == eFrameCompareSameParent && in DefaultShouldStopHereCallback() 95 ThreadPlan *current_plan, Flags &flags, FrameComparison operation, in DefaultStepFromHereCallback() argument 145 lldb_private::Flags &flags, lldb::FrameComparison operation, in QueueStepOutFromHerePlan() argument 150 m_owner, flags, operation, status, m_baton); in QueueStepOutFromHerePlan() 156 lldb::FrameComparison operation, Status &status) { in CheckShouldStopHereAndQueueStepOut() argument 157 if (!InvokeShouldStopHereCallback(operation, status)) in CheckShouldStopHereAndQueueStepOut() [all …]
|
| /llvm-project-15.0.7/mlir/test/mlir-tblgen/ |
| H A D | op-python-bindings.td | 40 // CHECK: self.operation.operands, 48 // CHECK: self.operation.operands, 55 // CHECK: self.operation.operands, 84 // CHECK: self.operation.results, 91 // CHECK: self.operation.results, 98 // CHECK: self.operation.results, 295 // CHECK: return self.operation.results[0] 299 // CHECK: return self.operation.results[2] 328 // CHECK: return None if len(self.operation.operands) < 2 else self.operation.operands[1] 505 // CHECK: return self.operation.results[0] [all …]
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/PDL/CPU/ |
| H A D | multiroot.mlir | 42 %op1 = pdl.operation "tf.Const" -> (%const_type : !pdl.type) 72 %op1 = pdl.operation "tf.Const" -> (%mean_const_type : !pdl.type) 76 %op3 = pdl.operation "tf.PreventGradient" (%val0_1 : !pdl.value) -> (%in_type : !pdl.type) 78 %op4 = pdl.operation "tf.Const" -> (%mul_const_type : !pdl.type) 80 %op5 = pdl.operation "tf.Mul" (%val3, %val4 : !pdl.value, !pdl.value) -> (%in_type : !pdl.type) 134 %op0 = pdl.operation "tf.Const" {"value" = %attr0} -> (%const_type : !pdl.type) 164 %op2 = pdl.operation "tf.Relu" (%val1 : !pdl.value) -> (%out_type : !pdl.type) 172 %op6 = pdl.operation "tf.BiasAddGrad" (%val3 : !pdl.value) -> (%bias_type : !pdl.type) 235 %op1 = pdl.operation "tf.Const" -> (%mean_const_type : !pdl.type) 239 %op3 = pdl.operation "tf.PreventGradient" (%val0_1 : !pdl.value) -> (%in_type : !pdl.type) [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | NamedOpConversions.cpp | 30 matchAndReplaceDepthwiseConv(Operation *operation, Value input, Value kernel, in matchAndReplaceDepthwiseConv() argument 33 Location loc = operation->getLoc(); in matchAndReplaceDepthwiseConv() 34 auto linalgOp = dyn_cast<LinalgOp>(operation); in matchAndReplaceDepthwiseConv() 39 auto result = operation->getResult(0); in matchAndReplaceDepthwiseConv() 71 if (isa<DepthwiseConv2DNhwcHwcmOp>(operation)) { in matchAndReplaceDepthwiseConv() 77 } else if (isa<DepthwiseConv2DNhwcHwcmQOp>(operation)) { in matchAndReplaceDepthwiseConv() 91 operation, resultTy, newConv, collapsedInitDims); in matchAndReplaceDepthwiseConv() 102 Operation *operation = op.getOperation(); in matchAndRewrite() local 110 return matchAndReplaceDepthwiseConv(operation, input, kernel, nullptr, in matchAndRewrite() 122 Operation *operation = op.getOperation(); in matchAndRewrite() local [all …]
|
| /llvm-project-15.0.7/mlir/lib/Analysis/ |
| H A D | Liveness.cpp | 63 for (Operation &operation : *block) in BlockInfoBuilder() 64 for (Value result : operation.getResults()) in BlockInfoBuilder() 125 static void buildBlockMapping(Operation *operation, in buildBlockMapping() argument 129 operation->walk<WalkOrder::PreOrder>([&](Block *block) { in buildBlockMapping() 163 buildBlockMapping(operation, builders); in build() 242 Block *block = operation->getBlock(); in isDeadAfter() 253 return endOperation == operation || endOperation->isBeforeInBlock(operation); in isDeadAfter() 271 for (Operation &operation : *block) { in print() 273 for (Value result : operation.getResults()) in print() 323 for (Operation *operation : liveOperations) { in print() [all …]
|