Home
last modified time | relevance | path

Searched refs:OpView (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_pdl_ops_ext.py61 args: Sequence[Union[OpView, Operation, Value]] = [], argument
76 args: Sequence[Union[OpView, Operation, Value]] = [], argument
89 type: Optional[Union[OpView, Operation, Value]] = None, argument
115 type: Optional[Union[OpView, Operation, Value]] = None, argument
128 types: Optional[Union[OpView, Operation, Value]] = None, argument
142 args: Sequence[Union[OpView, Operation, Value]] = [], argument
144 types: Sequence[Union[OpView, Operation, Value]] = [], argument
186 op: Union[OpView, Operation, Value], argument
202 parent: Union[OpView, Operation, Value], argument
218 parent: Union[OpView, Operation, Value], argument
[all …]
H A D_ods_common.py127 arg: _Union[_cext.ir.OpView, _cext.ir.Operation, _cext.ir.Value, _cext.ir.OpResultList] argument
135 if isinstance(arg, _cext.ir.OpView):
147 arg: _Union[_cext.ir.OpView, _cext.ir.Operation, argument
148 _Sequence[_Union[_cext.ir.OpView, _cext.ir.Operation, _cext.ir.Value]]] argument
156 if isinstance(arg, _cext.ir.OpView):
H A D_memref_ops_ext.py18 memref: Union[Operation, OpView, Value], argument
19 indices: Optional[Union[Operation, OpView,
H A D_bufferization_ops_ext.py37 OpView.__init__(self, op)
H A D_linalg_ops_ext.py58 OpView.__init__(self, op)
H A D_scf_ops_ext.py20 iter_args: Optional[Union[Operation, OpView, argument
H A D_func_ops_ext.py202 elif isinstance(return_values, OpView):
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/Analysis/
H A DDependenceAnalysis.h53 using OpView = PointerUnion<OpOperand *, Value>; member
57 OpView dependentOpView;
61 OpView indexingOpView;
67 static Operation *getOwner(OpView opView) { in getOwner()
73 static Value getValue(OpView opView) { in getValue()
80 static Optional<AffineMap> getIndexingMap(OpView opView) { in getIndexingMap()
91 static Optional<unsigned> getOperandNumber(OpView opView) { in getOperandNumber()
98 static Optional<unsigned> getResultNumber(OpView opView) { in getResultNumber()
258 LinalgDependenceGraphElem::OpView indexingOpView,
259 LinalgDependenceGraphElem::OpView dependentOpView);
/llvm-project-15.0.7/mlir/test/python/dialects/
H A Dods_helpers.py21 class TestFixedRegionsOp(OpView):
25 class TestVariadicRegionsOp(OpView):
81 class TestOp(OpView):
106 class TestOp(OpView):
184 class TestOp(OpView):
/llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/lang/
H A Ddsl.py20 StructuredOpOuts = Union[ir.Operation, ir.OpView, ir.OpResultList,
21 Sequence[Union[ir.Value, ir.Operation, ir.OpView]]]
45 if isinstance(outs, (ir.Operation, ir.OpView)):
60 def __call__(self, *ins: Union[ir.Operation, ir.OpView, ir.Value], argument
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dop-python-bindings.td19 // CHECK: class AttrSizedOperandsOp(_ods_ir.OpView):
63 // CHECK: class AttrSizedResultsOp(_ods_ir.OpView):
108 // CHECK: class AttributedOp(_ods_ir.OpView):
183 // CHECK: class DefaultValuedAttrsOp(_ods_ir.OpView):
226 // CHECK: class EmptyOp(_ods_ir.OpView):
269 // CHECK: class MissingNamesOp(_ods_ir.OpView):
362 // CHECK: class OneVariadicResultOp(_ods_ir.OpView):
392 // CHECK: class PythonKeywordOp(_ods_ir.OpView):
477 // CHECK: class SimpleOp(_ods_ir.OpView):
537 // CHECK: class VariadicRegionOp(_ods_ir.OpView):
[all …]
/llvm-project-15.0.7/mlir/docs/Bindings/
H A DPython.md377 - a specific subclass of `OpView` that provides more semantically-loaded
384 default, the `OpView` version is produced when navigating the IR tree.
548 - a subclass of `OpView` and a context; in this case, only the *static*
571 # or an OpView.
666 # The result will be downcasted to the concrete `OpView` subclass if
933 * An `{OpName}` class for each operation (extending `mlir.ir.OpView`).
939 Each concrete `OpView` subclass further defines several public-intended
952 on `OpView`):
1023 class FuncOp(_ods_ir.OpView):
1045 `OpView`).
[all …]
/llvm-project-15.0.7/mlir/python/mlir/_mlir_libs/_mlir/
H A Dir.pyi77 "OpView",
102 def detach_from_parent(self) -> OpView: ...
404 def owner(self) -> OpView: ...
658 def opview(self) -> OpView: ...
878 class OpView(_OperationBase):
916 def opview(self) -> OpView: ...
922 def __next__(self) -> OpView: ...
925 def __getitem__(self, arg0: int) -> OpView: ...
949 def owner(self) -> OpView: ...
1011 def __getitem__(self, arg0: str) -> OpView: ...
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Analysis/
H A DDependenceAnalysis.cpp118 DependenceType dt, LinalgDependenceGraphElem::OpView indexingOpView, in addDependenceElem()
119 LinalgDependenceGraphElem::OpView dependentOpView) { in addDependenceElem()