MLIR
17.0.0git
|
Base class for all objects that directly or indirectly depend on an MlirContext. More...
#include "Bindings/Python/IRModule.h"
Public Member Functions | |
BaseContextObject (PyMlirContextRef ref) | |
PyMlirContextRef & | getContext () |
Accesses the context reference. More... | |
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 279 of file IRModule.h.
|
inline |
Definition at line 281 of file IRModule.h.
|
inline |
Accesses the context reference.
Definition at line 287 of file IRModule.h.
Referenced by mlir::python::PyInsertionPoint::atBlockBegin(), mlir::python::PyInsertionPoint::atBlockTerminator(), mlir::python::PyOperation::clone(), mlir::python::PyOperation::erase(), mlir::python::PyDialects::getDialectForKey(), mlir::python::PyOperation::getParentOperation(), mlir::python::PySymbolTable::getSymbolName(), mlir::python::PySymbolTable::getVisibility(), mlir::python::PySymbolTable::insert(), mlir::python::PyThreadContextEntry::pushInsertionPoint(), mlir::python::PyThreadContextEntry::pushLocation(), mlir::python::PySymbolTable::setSymbolName(), mlir::python::PySymbolTable::setVisibility(), mlir::python::PySymbolTable::walkSymbolTables(), mlir::python::PyModule::~PyModule(), and mlir::python::PyOperation::~PyOperation().