2020-08-13 10:28:04 +08:00
|
|
|
//===- ATenToStd.h ----------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// This file is licensed 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
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef NPCOMP_DIALECT_ATEN_TO_STD_H
|
|
|
|
#define NPCOMP_DIALECT_ATEN_TO_STD_H
|
|
|
|
|
|
|
|
#include "mlir/Transforms/DialectConversion.h"
|
|
|
|
|
|
|
|
namespace mlir {
|
|
|
|
namespace NPCOMP {
|
|
|
|
namespace aten {
|
|
|
|
|
|
|
|
class ATenDialect;
|
|
|
|
|
|
|
|
} // namespace aten
|
|
|
|
} // namespace NPCOMP
|
|
|
|
} // namespace mlir
|
|
|
|
|
|
|
|
namespace mlir {
|
|
|
|
|
2021-03-24 05:16:23 +08:00
|
|
|
void populateATenToStdPatterns(RewritePatternSet &patterns);
|
2020-08-13 10:28:04 +08:00
|
|
|
|
|
|
|
} // namespace mlir
|
|
|
|
|
|
|
|
#endif // NPCOMP_DIALECT_ATEN_TO_STD_H
|