|
MLIR 23.0.0git
|
#include <cstddef>#include <cstdint>#include <memory>#include <stdexcept>#include <string>#include <string_view>#include <utility>#include <vector>#include "mlir-c/AffineExpr.h"#include "mlir-c/AffineMap.h"#include "mlir/Bindings/Python/IRCore.h"#include "mlir/Bindings/Python/NanobindUtils.h"#include "mlir-c/Bindings/Python/Interop.h"#include "mlir-c/IntegerSet.h"#include "mlir/Bindings/Python/Nanobind.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 |
Functions | |
| template<typename PyType, typename CType> | |
| static void | pyListToVector (const nb::list &list, std::vector< CType > &result, std::string_view action) |
| Attempts to populate result with the content of list casted to the appropriate type (Python and C types are provided as template arguments). | |
| template<typename PermutationTy> | |
| static bool | isPermutation (const std::vector< PermutationTy > &permutation) |
| void | mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAffine (nb::module_ &m) |
Variables | |
| static const char | kDumpDocstring [] |
|
static |
Definition at line 59 of file IRAffine.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAffine().
|
static |
Attempts to populate result with the content of list casted to the appropriate type (Python and C types are provided as template arguments).
Throws errors in case of failure, using "action" to describe what the caller was attempting to do.
Definition at line 40 of file IRAffine.cpp.
References nanobind::detail::join(), and result.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAffine().
|
static |
Definition at line 32 of file IRAffine.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAffine(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore().