MLIR  17.0.0git
TosaOps.h
Go to the documentation of this file.
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 MLIR_DIALECT_TOSA_IR_TOSAOPS_H
14 #define MLIR_DIALECT_TOSA_IR_TOSAOPS_H
15 
16 #include "mlir/Dialect/Traits.h"
21 
22 //===----------------------------------------------------------------------===//
23 // TOSA dialect and structs includes.
24 //===----------------------------------------------------------------------===//
25 
26 #include "mlir/Dialect/Tosa/IR/TosaOpsDialect.h.inc"
27 
28 namespace mlir {
29 class PatternRewriter;
30 
31 namespace tosa {
32 
33 #include "mlir/Dialect/Tosa/IR/TosaInterfaces.h.inc"
34 
35 } // namespace tosa
36 } // namespace mlir
37 
38 #define GET_ATTRDEF_CLASSES
39 #include "mlir/Dialect/Tosa/IR/TosaAttributes.h.inc"
40 
41 #define GET_OP_CLASSES
42 #include "mlir/Dialect/Tosa/IR/TosaOps.h.inc"
43 
44 #endif // MLIR_DIALECT_TOSA_IR_TOSAOPS_H
Include the generated interface declarations.