2020-08-28 06:09:10 +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
|
2021-09-30 00:03:40 +08:00
|
|
|
// Also available under a BSD-style license. See LICENSE.
|
2020-08-28 06:09:10 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2021-09-24 11:59:12 +08:00
|
|
|
#include "torch-mlir/Conversion/Passes.h"
|
2020-08-28 06:09:10 +08:00
|
|
|
|
2021-09-24 11:59:12 +08:00
|
|
|
#include "torch-mlir/Conversion/TorchToLinalg/TorchToLinalg.h"
|
|
|
|
#include "torch-mlir/Conversion/TorchToSCF/TorchToSCF.h"
|
|
|
|
#include "torch-mlir/Conversion/TorchToStd/TorchToStd.h"
|
2021-10-08 10:07:03 +08:00
|
|
|
#include "torch-mlir/Conversion/TorchToTosa/TorchToTosa.h"
|
2020-08-28 06:09:10 +08:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Pass registration
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
#define GEN_PASS_REGISTRATION
|
2021-09-24 11:59:12 +08:00
|
|
|
#include "torch-mlir/Conversion/Passes.h.inc"
|
2020-08-28 06:09:10 +08:00
|
|
|
} // end namespace
|
|
|
|
|
2021-09-24 11:59:12 +08:00
|
|
|
void mlir::torch::registerConversionPasses() { ::registerPasses(); }
|