Home
last modified time | relevance | path

Searched refs:OperationOp (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/mlir/test/python/dialects/
H A Dpdl_ops.py53 root = OperationOp(args=[input])
79 root1 = OperationOp(args=[val1])
108 root1 = OperationOp(args=[val1])
132 root = OperationOp(types=[ty1, ty2])
155 root = OperationOp(types=[ty1, ty2])
175 root = OperationOp(types=[types])
197 root = OperationOp(args=[operands])
214 root = OperationOp()
232 root = OperationOp()
250 root = OperationOp()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/PDL/IR/
H A DPDL.cpp76 .Case<OperationOp>([&visited](auto operation) { in visit()
168 static void printOperationOpAttributes(OpAsmPrinter &p, OperationOp op, in printOperationOpAttributes()
181 static LogicalResult verifyResultTypesAreInferrable(OperationOp op, in verifyResultTypesAreInferrable()
246 isa<OperandOp, OperandsOp, OperationOp>(user); in verifyResultTypesAreInferrable()
265 LogicalResult OperationOp::verify() { in verify()
290 bool OperationOp::hasTypeInference() { in hasTypeInference()
298 bool OperationOp::mightHaveTypeInference() { in mightHaveTypeInference()
335 if (body.front().getOps<OperationOp>().empty()) in verifyRegions()
348 if (!isa<OperandOp, OperandsOp, ResultOp, ResultsOp, OperationOp>(op)) in verifyRegions()
/llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/
H A DPDLToPDLInterp.cpp83 void generateRewriter(pdl::OperationOp operationOp,
106 pdl::OperationOp op, function_ref<Value(Value)> mapRewriteValue,
573 for (auto op : pattern.getRewriter().body().getOps<pdl::OperationOp>()) in generate()
581 if (pdl::OperationOp rootOp = root.getDefiningOp<pdl::OperationOp>()) in generate()
653 pdl::OperationOp, pdl::ReplaceOp, pdl::ResultOp, pdl::ResultsOp, in generateRewriter()
701 pdl::OperationOp operationOp, DenseMap<Value, Value> &rewriteValues, in generateRewriter()
770 auto opOp = replaceOp.operation().getDefiningOp<pdl::OperationOp>(); in generateRewriter()
830 pdl::OperationOp op, function_ref<Value(Value)> mapRewriteValue, in generateOperationResultTypeRewriter()
H A DPredicateTree.cpp115 pdl::OperationOp op = cast<pdl::OperationOp>(val.getDefiningOp()); in getTreePredicates()
229 if (isa<pdl::AttributeOp, pdl::OperandOp, pdl::OperandsOp, pdl::OperationOp, in getTreePredicates()
372 for (auto operationOp : pattern.body().getOps<pdl::OperationOp>()) { in detectRoots()
386 for (Value operationOp : pattern.body().getOps<pdl::OperationOp>()) in detectRoots()
453 .Case<pdl::OperationOp>([&](auto operationOp) { in buildCostGraph()
509 static bool useOperandGroup(pdl::OperationOp op, unsigned index) { in useOperandGroup()
525 .Case<pdl::OperationOp>([&](auto operationOp) { in visitUpward()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp348 return builder.create<pdl::OperationOp>(loc, opType.getName(), operands, in genNonInitializerVar()
516 return builder.create<pdl::OperationOp>(loc, opName, operands, attrNames, in genExprImpl()
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_pdl_ops_ext.py137 class OperationOp: class
/llvm-project-15.0.7/mlir/test/Dialect/PDL/
H A Dinvalid.mlir108 // pdl::OperationOp
/llvm-project-15.0.7/mlir/include/mlir/Dialect/PDL/IR/
H A DPDLOps.td243 // pdl::OperationOp