MLIR
20.0.0git
|
Used in function arguments when None should resolve to the current context manager set instance. More...
#include "Bindings/Python/IRModule.h"
Public Member Functions | |
Defaulting ()=default | |
Type casters require the type to be default constructible, but using such an instance is illegal. More... | |
Defaulting (ReferrentTy &referrent) | |
Public Member Functions inherited from mlir::python::Defaulting< DefaultingPyMlirContext, PyMlirContext > | |
Defaulting ()=default | |
Type casters require the type to be default constructible, but using such an instance is illegal. More... | |
Defaulting (ReferrentTy &referrent) | |
ReferrentTy * | get () const |
ReferrentTy * | operator-> () |
Static Public Member Functions | |
static PyMlirContext & | resolve () |
Static Public Attributes | |
static constexpr const char | kTypeDescription [] = "mlir.ir.Context" |
Additional Inherited Members | |
Public Types inherited from mlir::python::Defaulting< DefaultingPyMlirContext, PyMlirContext > | |
using | ReferrentTy = PyMlirContext |
Used in function arguments when None should resolve to the current context manager set instance.
Definition at line 291 of file IRModule.h.
|
default |
Type casters require the type to be default constructible, but using such an instance is illegal.
|
inline |
Definition at line 45 of file PybindUtils.h.
|
static |
Definition at line 795 of file IRCore.cpp.
References mlir::python::PyThreadContextEntry::getDefaultContext().
Referenced by mlir::python::PyInferShapedTypeOpInterface::inferReturnTypeComponents(), mlir::python::PyInferTypeOpInterface::inferReturnTypes(), and mlir::python::PyConcreteOpInterface< ConcreteIface >::PyConcreteOpInterface().
|
staticconstexpr |
Definition at line 295 of file IRModule.h.