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_LHLO_TRANSFORMS_PASSDETAIL_H 17 #define MLIR_HLO_DIALECT_LHLO_TRANSFORMS_PASSDETAIL_H 18 19 #include "mlir/Pass/Pass.h" 20 21 namespace mlir { 22 namespace func { 23 class FuncOp; 24 } // namespace func 25 namespace scf { 26 class SCFDialect; 27 } // namespace scf 28 namespace memref { 29 class MemRefDialect; 30 } // namespace memref 31 32 namespace lmhlo { 33 34 #define GEN_PASS_CLASSES 35 #include "mlir-hlo/Dialect/lhlo/transforms/lmhlo_passes.h.inc" 36 37 } // end namespace lmhlo 38 39 } // end namespace mlir 40 41 #endif // MLIR_HLO_DIALECT_LHLO_TRANSFORMS_PASSDETAIL_H 42