1 /* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
2 
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6 
7     http://www.apache.org/licenses/LICENSE-2.0
8 
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14 ==============================================================================*/
15 
16 // This file defines the operations used in the GML ST dialect.
17 
18 #ifndef MLIR_HLO_DIALECT_GML_ST_IR_GML_ST_OPS_H
19 #define MLIR_HLO_DIALECT_GML_ST_IR_GML_ST_OPS_H
20 
21 #include "mlir-hlo/Dialect/gml_st/transforms/compose_set_interface.h"
22 #include "mlir-hlo/Dialect/gml_st/transforms/fusion_interface.h"
23 #include "mlir/IR/Dialect.h"
24 #include "mlir/IR/MLIRContext.h"
25 #include "mlir/IR/OpDefinition.h"
26 #include "mlir/Interfaces/ControlFlowInterfaces.h"
27 #include "mlir/Interfaces/InferTypeOpInterface.h"
28 #include "mlir/Interfaces/LoopLikeInterface.h"
29 #include "mlir/Interfaces/SideEffectInterfaces.h"
30 #include "mlir/Interfaces/ViewLikeInterface.h"
31 
32 // Generated dialect declarations.
33 #include "mlir-hlo/Dialect/gml_st/IR/gml_st_dialect.h.inc"
34 
35 // Generated custom type declarations.
36 #define GET_TYPEDEF_CLASSES
37 #include "mlir-hlo/Dialect/gml_st/IR/gml_st_types.h.inc"
38 
39 // Generated operation classes.
40 #define GET_OP_CLASSES
41 #include "mlir-hlo/Dialect/gml_st/IR/gml_st_ops.h.inc"
42 
43 #endif  // MLIR_HLO_DIALECT_GML_ST_IR_GML_ST_OPS_H
44