Home
last modified time | relevance | path

Searched refs:contextRef (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRModule.h273 assert(this->contextRef && in BaseContextObject()
278 PyMlirContextRef &getContext() { return contextRef; } in getContext()
281 PyMlirContextRef contextRef;
374 PyDialects(PyMlirContextRef contextRef) in PyDialects() argument
375 : BaseContextObject(std::move(contextRef)) {} in PyDialects()
422 PyLocation(PyMlirContextRef contextRef, MlirLocation loc) in PyLocation() argument
494 PyModule(PyMlirContextRef contextRef, MlirModule module);
747 PyType(PyMlirContextRef contextRef, MlirType type) in PyType() argument
781 PyConcreteType(PyMlirContextRef contextRef, MlirType t) in PyConcreteType() argument
782 : BaseTy(std::move(contextRef), t) {} in PyConcreteType()
[all …]
H A DIRCore.cpp863 PyModule::PyModule(PyMlirContextRef contextRef, MlirModule module) in PyModule() argument
864 : BaseContextObject(std::move(contextRef)), module(module) {} in PyModule()
877 PyMlirContextRef contextRef = PyMlirContext::forContext(context); in forModule() local
880 auto &liveModules = contextRef->liveModules; in forModule()
935 auto &liveOperations = contextRef->liveOperations; in createInstance()
938 new PyOperation(std::move(contextRef), operation); in createInstance()
952 PyOperationRef PyOperation::forOperation(PyMlirContextRef contextRef, in forOperation() argument
955 auto &liveOperations = contextRef->liveOperations; in forOperation()
959 return createInstance(std::move(contextRef), operation, in forOperation()
971 auto &liveOperations = contextRef->liveOperations; in createDetached()
[all …]
H A DIRTypes.cpp595 auto contextRef = self.getContext(); in bindDerived() local
599 types.append(PyType(contextRef, mlirFunctionTypeGetInput(t, i))); in bindDerived()
607 auto contextRef = self.getContext(); in bindDerived() local
612 PyType(contextRef, mlirFunctionTypeGetResult(self, i))); in bindDerived()
H A DIRAffine.cpp87 PyConcreteAffineExpr(PyMlirContextRef contextRef, MlirAffineExpr affineExpr) in PyConcreteAffineExpr() argument
88 : BaseTy(std::move(contextRef), affineExpr) {} in PyConcreteAffineExpr()