Index
dialect_interfaces
DialectInterface
Bases: ABC
A base class for dialects' interfaces. They usually define functionality which is dialect specific to some transformation.
For example DialectInlinerInterface defines which dialect operations can be inlined and how. Dialects will implement this interface and the inlining transformation will query them through the base interface.
The design logic tries to follow MLIR's dialect interfaces closely https://mlir.llvm.org/docs/Interfaces/#dialect-interfaces
Source code in xdsl/dialect_interfaces/__init__.py
4 5 6 7 8 9 10 11 12 13 14 | |