MLIR  19.0.0git
Public Member Functions | List of all members
mlir::python::PyDialects Class Reference

User-level object for accessing dialects with dotted syntax such as: ctx.dialect.std. More...

#include "Bindings/Python/IRModule.h"

+ Inheritance diagram for mlir::python::PyDialects:

Public Member Functions

 PyDialects (PyMlirContextRef contextRef)
 
MlirDialect getDialectForKey (const std::string &key, bool attrError)
 
- Public Member Functions inherited from mlir::python::BaseContextObject
 BaseContextObject (PyMlirContextRef ref)
 
PyMlirContextRefgetContext ()
 Accesses the context reference. More...
 

Detailed Description

User-level object for accessing dialects with dotted syntax such as: ctx.dialect.std.

Definition at line 459 of file IRModule.h.

Constructor & Destructor Documentation

◆ PyDialects()

mlir::python::PyDialects::PyDialects ( PyMlirContextRef  contextRef)
inline

Definition at line 461 of file IRModule.h.

Member Function Documentation

◆ getDialectForKey()

MlirDialect PyDialects::getDialectForKey ( const std::string &  key,
bool  attrError 
)

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