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 284 of file IRModule.h.
|
inline |
Definition at line 286 of file IRModule.h.
|
inline |
Accesses the context reference.
Definition at line 292 of file IRModule.h.
Referenced by mlir::python::PyInsertionPoint::after(), mlir::python::PyInsertionPoint::atBlockBegin(), mlir::python::PyInsertionPoint::atBlockTerminator(), mlir::python::PyConcreteAttribute< DerivedTy, BaseTy >::bind(), PyOpResultList::bindDerived(), mlir::python::PyStringAttribute::bindDerived(), mlir::python::PyOpView::buildGeneric(), mlir::python::PyOperation::clone(), mlir::python::PySymbolTable::dunderGetItem(), 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::PyOperationBase::verify(), mlir::python::PySymbolTable::walkSymbolTables(), and mlir::python::PyModule::~PyModule().