2020-05-07 13:44:12 +08:00
|
|
|
//===- NpcompModule.h - Module registrations ------------------------------===//
|
2020-05-07 09:24:51 +08:00
|
|
|
//
|
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2020-05-07 13:44:12 +08:00
|
|
|
#ifndef NPCOMP_PYTHON_NATIVE_NPCOMP_MODULE_H
|
|
|
|
#define NPCOMP_PYTHON_NATIVE_NPCOMP_MODULE_H
|
2020-05-07 09:24:51 +08:00
|
|
|
|
2020-05-07 13:44:12 +08:00
|
|
|
#include "PybindUtils.h"
|
2020-05-07 09:24:51 +08:00
|
|
|
|
|
|
|
namespace mlir {
|
|
|
|
void defineMlirIrModule(py::module m);
|
2020-06-03 16:29:59 +08:00
|
|
|
void defineMlirPassModule(py::module m);
|
2020-06-09 07:10:51 +08:00
|
|
|
void defineMlirCoreDialects(py::module m);
|
2020-05-07 09:24:51 +08:00
|
|
|
|
|
|
|
namespace npcomp {
|
|
|
|
namespace python {
|
|
|
|
|
|
|
|
void defineNpcompDialect(py::module m);
|
|
|
|
|
|
|
|
} // namespace python
|
|
|
|
} // namespace npcomp
|
|
|
|
} // namespace mlir
|
|
|
|
|
2020-05-07 13:44:12 +08:00
|
|
|
#endif // NPCOMP_PYTHON_NATIVE_NPCOMP_MODULE_H
|