//===------------------------------------------------------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// #ifndef NPCOMP_DIALECT_ATEN_TRANSFORMS_PASSES_H #define NPCOMP_DIALECT_ATEN_TRANSFORMS_PASSES_H #include "mlir/Pass/Pass.h" #include namespace mlir { namespace NPCOMP { namespace aten { std::unique_ptr> createRecognizeKernelsPass(); std::unique_ptr> createATenOpReportPass(); // Return the report in the given output string. std::unique_ptr> createATenOpReportPass(std::string &output); std::unique_ptr> createATenLayerNamePass(); std::unique_ptr> createATenLoweringPass(); std::unique_ptr> createReturnEliminationPass(); } // namespace aten /// Registers all ATen transformation passes. void registerATenPasses(); } // namespace NPCOMP } // namespace mlir #endif // NPCOMP_DIALECT_ATEN_TRANSFORMS_PASSES_H