|
MLIR 24.0.0git
|
A memory effect instance. More...
#include "mlir/Bindings/Python/IRInterfaces.h"
Public Member Functions | |
| PyMemoryEffectInstance (MlirMemoryEffectInstance instance) | |
| PyMemoryEffectInstance (const PyMemoryEffect &effect, const nanobind::object &target, const nanobind::object ¶meters, int stage, bool effectOnFullRegion, const PySideEffectResource &resource) | |
| PyMemoryEffectInstance (const PyMemoryEffectInstance &)=delete | |
| PyMemoryEffectInstance (PyMemoryEffectInstance &&other) noexcept | |
| ~PyMemoryEffectInstance () | |
| MlirMemoryEffectInstance | get () const |
| PyMemoryEffect | getEffect () const |
| PySideEffectResource | getResource () const |
| int | getStage () const |
| bool | getEffectOnFullRegion () const |
| nanobind::object | getParameters () const |
| nanobind::object | getValue () const |
| nanobind::object | getSymbolRef () const |
A memory effect instance.
Definition at line 162 of file IRInterfaces.h.
|
inlineexplicit |
Definition at line 164 of file IRInterfaces.h.
Referenced by PyMemoryEffectInstance(), PyMemoryEffectInstance(), and PyMemoryEffectInstance().
| mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::PyMemoryEffectInstance | ( | const PyMemoryEffect & | effect, |
| const nanobind::object & | target, | ||
| const nanobind::object & | parameters, | ||
| int | stage, | ||
| bool | effectOnFullRegion, | ||
| const PySideEffectResource & | resource ) |
Definition at line 174 of file IRInterfaces.cpp.
References PyMemoryEffectInstance(), and target.
|
delete |
References PyMemoryEffectInstance().
|
inlinenoexcept |
Definition at line 172 of file IRInterfaces.h.
References PyMemoryEffectInstance().
|
inline |
Definition at line 176 of file IRInterfaces.h.
References mlirMemoryEffectInstanceDestroy().
|
inline |
Definition at line 181 of file IRInterfaces.h.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectsOpInterface::attach().
| PyMemoryEffect mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::getEffect | ( | ) | const |
Definition at line 181 of file IRInterfaces.cpp.
References mlirMemoryEffectInstanceGetEffect().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces().
| bool mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::getEffectOnFullRegion | ( | ) | const |
Definition at line 193 of file IRInterfaces.cpp.
References mlirMemoryEffectInstanceGetEffectOnFullRegion().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces().
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::getParameters | ( | ) | const |
Definition at line 197 of file IRInterfaces.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::forContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute::maybeDownCast(), mlirAttributeGetContext(), and mlirMemoryEffectInstanceGetParameters().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces().
| PySideEffectResource mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::getResource | ( | ) | const |
Definition at line 185 of file IRInterfaces.cpp.
References mlirMemoryEffectInstanceGetResource().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces().
| int mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::getStage | ( | ) | const |
Definition at line 189 of file IRInterfaces.cpp.
References mlirMemoryEffectInstanceGetStage().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces().
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::getSymbolRef | ( | ) | const |
Definition at line 220 of file IRInterfaces.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::forContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute::maybeDownCast(), mlirAttributeGetContext(), and mlirMemoryEffectInstanceGetSymbolRef().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces().
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemoryEffectInstance::getValue | ( | ) | const |
Definition at line 206 of file IRInterfaces.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::forContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::forOperation(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyValue::maybeDownCast(), mlirBlockArgumentGetOwner(), mlirBlockGetParentOperation(), mlirMemoryEffectInstanceGetValue(), mlirOperationGetContext(), mlirOpResultGetOwner(), and mlirValueIsAOpResult().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces().