• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- Passes.h - TOSA optimization pass declarations ----------*- 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 optimization passes for the TOSA Dialect in MLIR.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_DIALECT_TOSA_TRANSFORMS_PASSES_H
14 #define MLIR_DIALECT_TOSA_TRANSFORMS_PASSES_H
15 
16 #include "mlir/Pass/Pass.h"
17 
18 namespace mlir {
19 namespace tosa {
20 
21 std::unique_ptr<Pass> createTosaMakeBroadcastablePass();
22 std::unique_ptr<Pass> createTosaTestQuantUtilAPIPass();
23 
24 #define GEN_PASS_REGISTRATION
25 #include "mlir/Dialect/Tosa/Transforms/Passes.h.inc"
26 
27 } // namespace tosa
28 } // namespace mlir
29 
30 #endif // MLIR_DIALECT_TOSA_TRANSFORMS_PASSES_H
31