xref: /aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Transforms/PassDetail.h (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1 /* Copyright 2021 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 #ifndef MLIR_HLO_TRANSFORMS_PASSDETAIL_H
17 #define MLIR_HLO_TRANSFORMS_PASSDETAIL_H
18 
19 #include "mlir/Dialect/Affine/IR/AffineOps.h"
20 #include "mlir/IR/BuiltinOps.h"
21 #include "mlir/IR/DialectRegistry.h"
22 #include "mlir/Pass/Pass.h"
23 
24 namespace mlir {
25 
26 namespace func {
27 class FuncDialect;
28 class FuncOp;
29 }  // end namespace func
30 
31 namespace arith {
32 class ArithmeticDialect;
33 }  // end namespace arith
34 
35 namespace memref {
36 class MemRefDialect;
37 }  // end namespace memref
38 
39 #define GEN_PASS_CLASSES
40 #include "mlir-hlo/Transforms/passes.h.inc"
41 
42 }  // end namespace mlir
43 
44 #endif  // MLIR_HLO_TRANSFORMS_PASSDETAIL_H
45