|
MLIR 22.0.0git
|
#include <cstddef>#include <cstdint>#include <stdexcept>#include <string>#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"#include "mlir/Support/LLVM.h"#include "llvm/ADT/Hashing.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/Twine.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, llvm::SmallVectorImpl< CType > &result, StringRef 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 69 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 47 of file IRAffine.cpp.
References result.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAffine().
|
static |
Definition at line 39 of file IRAffine.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAffine(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore().