1 //===- LinalgPasses.cpp - Pybind module for the Linalg passes -------------===//
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
7 //===----------------------------------------------------------------------===//
9 #include "mlir-c/Dialect/Linalg.h"
11 #include <pybind11/pybind11.h>
13 // -----------------------------------------------------------------------------
14 // Module initialization.
15 // -----------------------------------------------------------------------------
17 PYBIND11_MODULE(_mlirLinalgPasses
, m
) {
18 m
.doc() = "MLIR Linalg Dialect Passes";
20 // Register all Linalg passes on load.
21 mlirRegisterLinalgPasses();