|
MLIR 22.0.0git
|
Used in function arguments when None should resolve to the current context manager set instance. More...
#include "mlir/Bindings/Python/IRCore.h"
Public Member Functions | |
| operator MlirLocation () const | |
| Defaulting ()=default | |
| Type casters require the type to be default constructible, but using such an instance is illegal. | |
| Defaulting (ReferrentTy &referrent) | |
| Public Member Functions inherited from mlir::python::Defaulting< DefaultingPyLocation, PyLocation > | |
| Defaulting ()=default | |
| Type casters require the type to be default constructible, but using such an instance is illegal. | |
| ReferrentTy * | get () const |
| ReferrentTy * | operator-> () |
Static Public Member Functions | |
| static PyLocation & | resolve () |
Static Public Attributes | |
| static constexpr const char | kTypeDescription [] = "Location" |
Additional Inherited Members | |
| Public Types inherited from mlir::python::Defaulting< DefaultingPyLocation, PyLocation > | |
| using | ReferrentTy |
Used in function arguments when None should resolve to the current context manager set instance.
|
default |
Type casters require the type to be default constructible, but using such an instance is illegal.
|
inline |
Definition at line 59 of file NanobindUtils.h.
|
inline |
Definition at line 532 of file IRCore.h.
References mlir::python::Defaulting< DefaultingPyLocation, PyLocation >::get().
|
static |
Definition at line 862 of file IRCore.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyThreadContextEntry::popLocation().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::createBlock(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInferShapedTypeOpInterface::inferReturnTypeComponents(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInferTypeOpInterface::inferReturnTypes().
|
staticconstexpr |