|
MLIR 22.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 | |
| 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.
Definition at line 498 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 58 of file NanobindUtils.h.
|
inline |
Definition at line 505 of file IRModule.h.
References mlir::python::Defaulting< DefaultingPyLocation, PyLocation >::get().
|
static |
Definition at line 950 of file IRCore.cpp.
References mlir::python::PyThreadContextEntry::getDefaultLocation().
Referenced by createBlock(), mlir::python::PyInferShapedTypeOpInterface::inferReturnTypeComponents(), and mlir::python::PyInferTypeOpInterface::inferReturnTypes().
|
staticconstexpr |
Definition at line 502 of file IRModule.h.