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 
17 #include "mlir/Dialect/Traits.h"
23 
24 //===----------------------------------------------------------------------===//
25 // TOSA dialect and structs includes.
26 //===----------------------------------------------------------------------===//
27 
28 #include "mlir/Dialect/Tosa/IR/TosaOpsDialect.h.inc"
29 
30 namespace mlir {
31 class PatternRewriter;
32 
33 namespace tosa {
34 
35 #include "mlir/Dialect/Tosa/IR/TosaInterfaces.h.inc"
36 
37 } // namespace tosa
38 } // namespace mlir
39 
40 #define GET_ATTRDEF_CLASSES
41 #include "mlir/Dialect/Tosa/IR/TosaAttributes.h.inc"
42 
43 #define GET_OP_CLASSES
44 #include "mlir/Dialect/Tosa/IR/TosaOps.h.inc"
45 
46 #endif // MLIR_DIALECT_TOSA_IR_TOSAOPS_H
This header declares functions that assit transformations in the MemRef dialect.