MLIR 23.0.0git
mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::transform::PyPatternDescriptorOpInterface Class Reference
Inheritance diagram for mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::transform::PyPatternDescriptorOpInterface:

Static Public Member Functions

static void attach (nb::object &target, const std::string &opName, DefaultingPyMlirContext ctx)
 Attach a new PatternDescriptorOpInterface FallbackModel to the named operation.
static void bindDerived (ClassTy &cls)
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< PyPatternDescriptorOpInterface >
static void bind (nanobind::module_ &m)
 Creates the Python bindings for this class in the given module.
static void bindDerived (ClassTy &cls)
 Hook for derived classes to add class-specific bindings.

Static Public Attributes

static constexpr const char * pyClassName = "PatternDescriptorOpInterface"
static constexpr GetTypeIDFunctionTy getInterfaceID

Additional Inherited Members

Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< PyPatternDescriptorOpInterface >
 PyConcreteOpInterface (nanobind::object object, DefaultingPyMlirContext context)
 Constructs an interface instance from an object that is either an operation or a subclass of OpView.
bool isStatic ()
 Returns true if this object was constructed from a subclass of OpView rather than from an operation instance.
nanobind::typed< nanobind::object, PyOperationgetOperationObject ()
 Returns the operation instance from which this object was constructed.
nanobind::typed< nanobind::object, PyOpViewgetOpView ()
 Returns the opview of the operation instance from which this object was constructed.
const std::string & getOpName ()
 Returns the canonical name of the operation this interface is constructed from.
Protected Types inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< PyPatternDescriptorOpInterface >
using ClassTy
using GetTypeIDFunctionTy

Detailed Description

Definition at line 256 of file DialectTransform.cpp.

Member Function Documentation

◆ attach()

◆ bindDerived()

void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::transform::PyPatternDescriptorOpInterface::bindDerived ( ClassTy & cls)
inlinestatic

Member Data Documentation

◆ getInterfaceID

GetTypeIDFunctionTy mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::transform::PyPatternDescriptorOpInterface::getInterfaceID
staticconstexpr
Initial value:
=
MLIR_CAPI_EXPORTED MlirTypeID mlirPatternDescriptorOpInterfaceTypeID(void)
Returns the interface TypeID of the PatternDescriptorOpInterface.

Definition at line 263 of file DialectTransform.cpp.

◆ pyClassName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::transform::PyPatternDescriptorOpInterface::pyClassName = "PatternDescriptorOpInterface"
staticconstexpr

Definition at line 262 of file DialectTransform.cpp.


The documentation for this class was generated from the following file: