|
MLIR 22.0.0git
|
Python wrapper for MlirOpResult. More...
#include "mlir/Bindings/Python/IRCore.h"
Public Member Functions | |
| PyConcreteValue ()=default | |
| PyConcreteValue (PyOperationRef operationRef, MlirValue value) | |
| PyConcreteValue (PyValue &orig) | |
| Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteValue< PyOpResult > | |
| PyConcreteValue ()=default | |
| Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyValue | |
| virtual | ~PyValue ()=default |
| PyValue (PyOperationRef parentOperation, MlirValue value) | |
| operator MlirValue () const | |
| MlirValue | get () |
| PyOperationRef & | getParentOperation () |
| void | checkValid () |
| nanobind::object | getCapsule () |
| Gets a capsule wrapping the void* within the MlirValue. | |
| nanobind::typed< nanobind::object, PyValue > | maybeDownCast () |
Static Public Member Functions | |
| static void | bindDerived (ClassTy &c) |
| Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteValue< PyOpResult > | |
| static MlirValue | castFrom (PyValue &orig) |
| Attempts to cast the original value to the derived type and throws on type mismatches. | |
| static void | bind (nanobind::module_ &m) |
| Binds the Python module objects to functions of this class. | |
| static void | bindDerived (ClassTy &m) |
| Implemented by derived classes to add methods to the Python subclass. | |
| Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyValue | |
| static PyValue | createFromCapsule (nanobind::object capsule) |
| Creates a PyValue from the MlirValue wrapped by a capsule. | |
Static Public Attributes | |
| static constexpr IsAFunctionTy | isaFunction = mlirValueIsAOpResult |
| static constexpr const char * | pyClassName = "OpResult" |
| Static Public Attributes inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteValue< PyOpResult > | |
| static constexpr GetTypeIDFunctionTy | getTypeIdFunction |
Additional Inherited Members | |
| Public Types inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteValue< PyOpResult > | |
| using | ClassTy |
| using | IsAFunctionTy |
| using | GetTypeIDFunctionTy |
| using | Base |
Definition at line 1387 of file IRCore.cpp.
|
default |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |