MLIR
20.0.0git
|
#include <optional>
#include <utility>
#include <vector>
#include "Globals.h"
#include "NanobindUtils.h"
#include "mlir-c/AffineExpr.h"
#include "mlir-c/AffineMap.h"
#include "mlir-c/Diagnostics.h"
#include "mlir-c/IR.h"
#include "mlir-c/IntegerSet.h"
#include "mlir-c/Transforms.h"
#include "mlir/Bindings/Python/NanobindAdaptors.h"
#include "mlir/Bindings/Python/Nanobind.h"
#include "llvm/ADT/DenseMap.h"
Go to the source code of this file.
Classes | |
class | mlir::python::PyObjectRef< T > |
Template for a reference to a concrete type which captures a python reference to its underlying python object. More... | |
class | mlir::python::PyThreadContextEntry |
Tracks an entry in the thread context stack. More... | |
class | mlir::python::PyMlirContext |
class | mlir::python::DefaultingPyMlirContext |
Used in function arguments when None should resolve to the current context manager set instance. More... | |
class | mlir::python::BaseContextObject |
Base class for all objects that directly or indirectly depend on an MlirContext. More... | |
class | mlir::python::PyLocation |
Wrapper around an MlirLocation. More... | |
class | mlir::python::PyDiagnostic |
Python class mirroring the C MlirDiagnostic struct. More... | |
struct | mlir::python::PyDiagnostic::DiagnosticInfo |
Materialized diagnostic information. More... | |
class | mlir::python::PyDiagnosticHandler |
Represents a diagnostic handler attached to the context. More... | |
struct | mlir::python::PyMlirContext::ErrorCapture |
RAII object that captures any error diagnostics emitted to the provided context. More... | |
class | mlir::python::PyDialectDescriptor |
Wrapper around an MlirDialect. More... | |
class | mlir::python::PyDialects |
User-level object for accessing dialects with dotted syntax such as: ctx.dialect.std. More... | |
class | mlir::python::PyDialect |
User-level dialect object. More... | |
class | mlir::python::PyDialectRegistry |
Wrapper around an MlirDialectRegistry. More... | |
class | mlir::python::DefaultingPyLocation |
Used in function arguments when None should resolve to the current context manager set instance. More... | |
class | mlir::python::PyModule |
class | mlir::python::PyOperationBase |
Base class for PyOperation and PyOpView which exposes the primary, user visible methods for manipulating it. More... | |
class | mlir::python::PyOperation |
class | mlir::python::PyOpView |
A PyOpView is equivalent to the C++ "Op" wrappers: these are the basis for providing more instance-specific accessors and serve as the base class for custom ODS-style operation classes. More... | |
class | mlir::python::PyRegion |
Wrapper around an MlirRegion. More... | |
class | mlir::python::PyAsmState |
Wrapper around an MlirAsmState. More... | |
class | mlir::python::PyBlock |
Wrapper around an MlirBlock. More... | |
class | mlir::python::PyInsertionPoint |
An insertion point maintains a pointer to a Block and a reference operation. More... | |
class | mlir::python::PyType |
Wrapper around the generic MlirType. More... | |
class | mlir::python::PyTypeID |
A TypeID provides an efficient and unique identifier for a specific C++ type. More... | |
class | mlir::python::PyConcreteType< DerivedTy, BaseTy > |
CRTP base classes for Python types that subclass Type and should be castable from it (i.e. More... | |
class | mlir::python::PyAttribute |
Wrapper around the generic MlirAttribute. More... | |
class | mlir::python::PyNamedAttribute |
Represents a Python MlirNamedAttr, carrying an optional owned name. More... | |
class | mlir::python::PyConcreteAttribute< DerivedTy, BaseTy > |
CRTP base classes for Python attributes that subclass Attribute and should be castable from it (i.e. More... | |
class | mlir::python::PyValue |
Wrapper around the generic MlirValue. More... | |
class | mlir::python::PyAffineExpr |
Wrapper around MlirAffineExpr. Affine expressions are owned by the context. More... | |
class | mlir::python::PyAffineMap |
class | mlir::python::PyIntegerSet |
class | mlir::python::PySymbolTable |
Bindings for MLIR symbol tables. More... | |
struct | mlir::python::MLIRError |
Custom exception that allows access to error diagnostic information. More... | |
struct | nanobind::detail::type_caster< mlir::python::DefaultingPyMlirContext > |
struct | nanobind::detail::type_caster< mlir::python::DefaultingPyLocation > |
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::python | |
nanobind | |
nanobind::detail | |
Typedefs | |
using | mlir::python::PyMlirContextRef = PyObjectRef< PyMlirContext > |
Wrapper around MlirContext. More... | |
using | mlir::python::PyModuleRef = PyObjectRef< PyModule > |
using | mlir::python::PyOperationRef = PyObjectRef< PyOperation > |
Functions | |
void | mlir::python::populateIRAffine (nanobind::module_ &m) |
void | mlir::python::populateIRAttributes (nanobind::module_ &m) |
void | mlir::python::populateIRCore (nanobind::module_ &m) |
void | mlir::python::populateIRInterfaces (nanobind::module_ &m) |
void | mlir::python::populateIRTypes (nanobind::module_ &m) |