|
MLIR 22.0.0git
|
#include <optional>#include <sstream>#include <utility>#include <vector>#include "Globals.h"#include "NanobindUtils.h"#include "mlir-c/AffineExpr.h"#include "mlir-c/AffineMap.h"#include "mlir-c/BuiltinAttributes.h"#include "mlir-c/Debug.h"#include "mlir-c/Diagnostics.h"#include "mlir-c/IR.h"#include "mlir-c/IntegerSet.h"#include "mlir-c/Support.h"#include "mlir-c/Transforms.h"#include "mlir/Bindings/Python/Nanobind.h"#include "mlir/Bindings/Python/NanobindAdaptors.h"#include "llvm/ADT/DenseMap.h"#include "llvm/Support/FormatVariadic.h"#include "llvm/Support/ThreadPool.h"Go to the source code of this file.
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::python |
| namespace | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN |
| namespace | nanobind |
| namespace | nanobind::detail |
Typedefs | |
| using | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContextRef = PyObjectRef<PyMlirContext> |
| Wrapper around MlirContext. | |
| using | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyModuleRef = PyObjectRef<PyModule> |
| using | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationRef = PyObjectRef<PyOperation> |
Functions | |
| MlirStringRef | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::toMlirStringRef (const std::string &s) |
| MlirStringRef | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::toMlirStringRef (std::string_view s) |
| MlirStringRef | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::toMlirStringRef (const nanobind::bytes &s) |
| MlirBlock MLIR_PYTHON_API_EXPORTED | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::createBlock (const nanobind::sequence &pyArgTypes, const std::optional< nanobind::sequence > &pyArgLocs) |
| Create a block, using the current location context if no locations are specified. | |
| MLIR_PYTHON_API_EXPORTED MlirValue | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::getUniqueResult (MlirOperation operation) |
| MLIR_PYTHON_API_EXPORTED void | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore (nanobind::module_ &m) |
| MLIR_PYTHON_API_EXPORTED void | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateRoot (nanobind::module_ &m) |