MLIR  16.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 
20 
21 //===----------------------------------------------------------------------===//
22 // TOSA dialect and structs includes.
23 //===----------------------------------------------------------------------===//
24 
25 #include "mlir/Dialect/Tosa/IR/TosaOpsDialect.h.inc"
26 
27 namespace mlir {
28 class PatternRewriter;
29 
30 namespace tosa {
31 
32 #include "mlir/Dialect/Tosa/IR/TosaInterfaces.h.inc"
33 
34 } // namespace tosa
35 } // namespace mlir
36 
37 #define GET_ATTRDEF_CLASSES
38 #include "mlir/Dialect/Tosa/IR/TosaAttributes.h.inc"
39 
40 #define GET_OP_CLASSES
41 #include "mlir/Dialect/Tosa/IR/TosaOps.h.inc"
42 
43 #endif // MLIR_DIALECT_TOSA_IR_TOSAOPS_H
Include the generated interface declarations.
A special type of RewriterBase that coordinates the application of a rewrite pattern on the current I...
Definition: PatternMatch.h:600