1 /* Copyright 2020 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_DIALECT_MHLO_TRANSFORMS_PASSDETAIL_H 17 #define MLIR_HLO_DIALECT_MHLO_TRANSFORMS_PASSDETAIL_H 18 19 #include "mlir/IR/BuiltinOps.h" 20 #include "mlir/IR/DialectRegistry.h" 21 #include "mlir/Pass/Pass.h" 22 23 namespace mlir { 24 25 namespace arith { 26 class ArithmeticDialect; 27 } // namespace arith 28 namespace func { 29 class FuncOp; 30 } // namespace func 31 namespace scf { 32 class SCFDialect; 33 } // namespace scf 34 namespace memref { 35 class MemRefDialect; 36 } // namespace memref 37 namespace tensor { 38 class TensorDialect; 39 } // namespace tensor 40 namespace shape { 41 class ShapeDialect; 42 } // namespace shape 43 44 namespace mhlo { 45 class MhloDialect; 46 #define GEN_PASS_CLASSES 47 #include "mlir-hlo/Dialect/mhlo/transforms/mhlo_passes.h.inc" 48 49 } // end namespace mhlo 50 } // end namespace mlir 51 52 #endif // MLIR_HLO_DIALECT_MHLO_TRANSFORMS_PASSDETAIL_H 53