MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
mlir::python::DefaultingPyMlirContext Class Reference

Used in function arguments when None should resolve to the current context manager set instance. More...

#include "Bindings/Python/IRModule.h"

+ Inheritance diagram for mlir::python::DefaultingPyMlirContext:

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)
 
ReferrentTyget () const
 
ReferrentTyoperator-> ()
 

Static Public Member Functions

static PyMlirContextresolve ()
 

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
 

Detailed Description

Used in function arguments when None should resolve to the current context manager set instance.

Definition at line 291 of file IRModule.h.

Member Function Documentation

◆ Defaulting() [1/2]

Type casters require the type to be default constructible, but using such an instance is illegal.

◆ Defaulting() [2/2]

Definition at line 45 of file PybindUtils.h.

◆ resolve()

PyMlirContext & DefaultingPyMlirContext::resolve ( )
static

Member Data Documentation

◆ kTypeDescription

constexpr const char mlir::python::DefaultingPyMlirContext::kTypeDescription[] = "mlir.ir.Context"
staticconstexpr

Definition at line 295 of file IRModule.h.


The documentation for this class was generated from the following files: