MLIR 23.0.0git
mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectsOpInterface Class Reference

Wrapper around the MemoryEffectsOpInterface. More...

Inheritance diagram for mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectsOpInterface:

Static Public Member Functions

static void attach (nb::object &target, const std::string &opName, DefaultingPyMlirContext ctx)
 Attach a new MemoryEffectsOpInterface FallbackModel to the named operation.
static void bindDerived (ClassTy &cls)
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< PyMemoryEffectsOpInterface >
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 = "MemoryEffectsOpInterface"
static constexpr GetTypeIDFunctionTy getInterfaceID

Additional Inherited Members

Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< PyMemoryEffectsOpInterface >
 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< PyMemoryEffectsOpInterface >
using ClassTy
using GetTypeIDFunctionTy

Detailed Description

Wrapper around the MemoryEffectsOpInterface.

Definition at line 341 of file IRInterfaces.cpp.

Member Function Documentation

◆ attach()

◆ bindDerived()

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

Member Data Documentation

◆ getInterfaceID

GetTypeIDFunctionTy mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectsOpInterface::getInterfaceID
staticconstexpr
Initial value:
=
MLIR_CAPI_EXPORTED MlirTypeID mlirMemoryEffectsOpInterfaceTypeID(void)
Returns the interface TypeID of the MemoryEffectsOpInterface.

Definition at line 348 of file IRInterfaces.cpp.

◆ pyClassName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectsOpInterface::pyClassName = "MemoryEffectsOpInterface"
staticconstexpr

Definition at line 347 of file IRInterfaces.cpp.


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