MLIR
22.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 321 of file IRModule.h.
|
inline |
Definition at line 323 of file IRModule.h.
|
inline |
Accesses the context reference.
Definition at line 329 of file IRModule.h.
Referenced by mlir::python::PyInsertionPoint::atBlockBegin(), mlir::python::PyInsertionPoint::atBlockTerminator(), PyOpResultList::bindDerived(), mlir::python::PyOpView::buildGeneric(), mlir::python::PyMlirContext::clearOperationAndInside(), mlir::python::PyOperation::clone(), mlir::python::PySymbolTable::dunderGetItem(), mlir::python::PyOperation::erase(), mlir::python::PyDialects::getDialectForKey(), mlir::python::PyOperation::getParentOperation(), mlir::python::PyThreadContextEntry::pushInsertionPoint(), mlir::python::PyThreadContextEntry::pushLocation(), mlir::python::PySymbolTable::setSymbolName(), mlir::python::PySymbolTable::setVisibility(), mlir::python::PyOperationBase::verify(), mlir::python::PySymbolTable::walkSymbolTables(), mlir::python::PyModule::~PyModule(), and mlir::python::PyOperation::~PyOperation().