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 | |
operator MlirLocation () const | |
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< DefaultingPyLocation, PyLocation > | |
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 PyLocation & | resolve () |
Static Public Attributes | |
static constexpr const char | kTypeDescription [] = "mlir.ir.Location" |
Additional Inherited Members | |
Public Types inherited from mlir::python::Defaulting< DefaultingPyLocation, PyLocation > | |
using | ReferrentTy = PyLocation |
Used in function arguments when None should resolve to the current context manager set instance.
Definition at line 517 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.
|
inline |
Definition at line 524 of file IRModule.h.
References mlir::python::Defaulting< DefaultingPyLocation, PyLocation >::get().
|
static |
Definition at line 1071 of file IRCore.cpp.
References mlir::python::PyThreadContextEntry::getDefaultLocation().
Referenced by mlir::python::PyInferShapedTypeOpInterface::inferReturnTypeComponents(), and mlir::python::PyInferTypeOpInterface::inferReturnTypes().
|
staticconstexpr |
Definition at line 521 of file IRModule.h.