Searched refs:inputOp (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinDialect.cpp | 160 auto inputOp = firstInput.getDefiningOp<UnrealizedConversionCastOp>(); in fold() local 161 if (!inputOp || inputOp.getResults() != operands || in fold() 162 inputOp.getOperandTypes() != results.getTypes()) in fold() 166 foldResults.append(inputOp->operand_begin(), inputOp->operand_end()); in fold()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/PDLInterp/IR/ |
| H A D | PDLInterpOps.td | 238 let arguments = (ins PDL_Operation:$inputOp, 295 let arguments = (ins PDL_Operation:$inputOp, 528 let arguments = (ins PDL_Operation:$inputOp); 529 let assemblyFormat = "$inputOp attr-dict"; 754 let results = (outs PDL_Operation:$inputOp); 776 let arguments = (ins PDL_Operation:$inputOp, 811 PDL_Operation:$inputOp, 843 let arguments = (ins PDL_Operation:$inputOp, 878 PDL_Operation:$inputOp, 889 OpBuilder<(ins "Value":$inputOp), [{ [all …]
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | expr.pdll | 43 // CHECK: `-VariableDecl {{.*}} Name<inputOp> Type<Op<my_dialect.bar>> 47 let inputOp = op<my_dialect.bar>; 48 replace op<my_dialect.bar>(inputOp) with CreateNewOp(inputOp);
|
| /llvm-project-15.0.7/mlir/test/python/dialects/ |
| H A D | pdl_ops.py | 270 inputOp = OperationOp(types=[types]) 271 results = ResultsOp(valueRange, inputOp)
|
| /llvm-project-15.0.7/mlir/test/Conversion/PDLToPDLInterp/ |
| H A D | pdl-to-pdl-interp-matcher.mlir | 256 %inputOp = operation -> (%type1, %type2 : !pdl.type, !pdl.type) 257 %result1 = result 0 of %inputOp 258 %result2 = result 1 of %inputOp 278 %inputOp = operation -> (%types : !pdl.range<type>) 279 %results = results of %inputOp
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | PDLL.md | 669 replace op<dialect.inputOp> -> (resultTypes: TypeRange) 713 Pattern => replace op<dialect.inputOp> with op<dialect.outputOp>; 720 replace op<dialect.inputOp> -> (resultTypes: TypeRange) 782 let inputOp = op<my_dialect.input_op>(resultOp.result, resultOp.0); 793 let inputOp = op<my_dialect.input_op>(resultOp); 796 let inputOp = op<my_dialect.input_op>(op<my_dialect.result_op>); 807 let inputOp = op<my_dialect.input_op>(op<my_dialect.unregistered_op>.0); 904 let inputOp: Op; 905 let root = op<my_dialect.foo>(inputOp); 908 let inputOp: Op<my_dialect.foo>; [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/ |
| H A D | Shape.cpp | 50 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 51 auto type = inputOp.getArg().getType().cast<ShapedType>(); in getShapeVec()
|