1 //===- AsyncPasses.cpp - Pybind module for the Async 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/Async.h"
11 #include <pybind11/detail/common.h>
12 #include <pybind11/pybind11.h>
14 // -----------------------------------------------------------------------------
15 // Module initialization.
16 // -----------------------------------------------------------------------------
18 PYBIND11_MODULE(_mlirAsyncPasses
, m
) {
19 m
.doc() = "MLIR Async Dialect Passes";
21 // Register all Async passes on load.
22 mlirRegisterAsyncPasses();