MLIR 22.0.0git
mlir::python::BaseContextObject Class Reference

Base class for all objects that directly or indirectly depend on an MlirContext. More...

#include "Bindings/Python/IRModule.h"

Inheritance diagram for mlir::python::BaseContextObject:

Public Member Functions

 BaseContextObject (PyMlirContextRef ref)
PyMlirContextRefgetContext ()
 Accesses the context reference.

Detailed Description

Base class for all objects that directly or indirectly depend on an MlirContext.

The lifetime of the context will extend at least to the lifetime of these instances. Immutable objects that depend on a context extend this directly.

Definition at line 284 of file IRModule.h.

Constructor & Destructor Documentation

◆ BaseContextObject()

Member Function Documentation

◆ getContext()


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