• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- TosaOps.h - TOSA dialect operation definitions ----------*- 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 TOSA Dialect in MLIR.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef DIALECT_TOSA_IR_TOSA_OPS_H
14 #define DIALECT_TOSA_IR_TOSA_OPS_H
15 
16 #include "mlir/Dialect/Quant/QuantOps.h"
17 #include "mlir/Dialect/Traits.h"
18 #include "mlir/Interfaces/LoopLikeInterface.h"
19 #include "mlir/Interfaces/SideEffectInterfaces.h"
20 
21 //===----------------------------------------------------------------------===//
22 // TOSA dialect and structs includes.
23 //===----------------------------------------------------------------------===//
24 #include "mlir/Dialect/Tosa/IR/TosaOpsDialect.h.inc"
25 #include "mlir/Dialect/Tosa/IR/TosaStructs.h.inc"
26 
27 namespace mlir {
28 namespace tosa {
29 
30 #include "mlir/Dialect/Tosa/IR/TosaInterfaces.h.inc"
31 
32 } // end namespace tosa
33 } // end namespace mlir
34 
35 #define GET_OP_CLASSES
36 #include "mlir/Dialect/Tosa/IR/TosaOps.h.inc"
37 
38 #endif // TOSA_OPS_H
39