MLIR  20.0.0git
TosaToMLProgram.h
Go to the documentation of this file.
1 //===-- TosaToMLProgram.h - TOSA to MLProgram dialect lowerings-*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file declares the passes for the TOSA to MLProgram Dialect conversion.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_CONVERSION_TOSATOMLPROGRAM_TOSATOMLPROGRAM_H
14 #define MLIR_CONVERSION_TOSATOMLPROGRAM_TOSATOMLPROGRAM_H
15 
16 #include "mlir/Pass/Pass.h"
18 
19 namespace mlir {
20 
21 #define GEN_PASS_DECL_TOSATOMLPROGRAM
22 
23 namespace tosa {
24 
26 
27 } // namespace tosa
28 } // namespace mlir
29 
30 #endif // MLIR_CONVERSION_TOSATOMLPROGRAM_TOSATOMLPROGRAM_H
void populateTosaToMLProgramConversionPatterns(RewritePatternSet *patterns)
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns