1 //===- Dialects.h - Declaration for dialect submodule factories -----------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef MLIR_BINDINGS_PYTHON_DIALECTS_H 10 #define MLIR_BINDINGS_PYTHON_DIALECTS_H 11 12 #include <pybind11/pybind11.h> 13 14 namespace mlir { 15 namespace python { 16 17 void populateDialectLinalgSubmodule(pybind11::module m); 18 void populateDialectSparseTensorSubmodule(pybind11::module m, 19 const pybind11::module &irModule); 20 21 } // namespace python 22 } // namespace mlir 23 24 #endif // MLIR_BINDINGS_PYTHON_DIALECTS_H 25