| //===- PassDetail.h - Transforms Pass class details -------------*- C++ -*-===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef TRANSFORMS_PASSDETAIL_H_ |
| #define TRANSFORMS_PASSDETAIL_H_ |
| |
| #include "mlir/Pass/Pass.h" |
| |
| namespace mlir { |
| // Forward declaration from Dialect.h |
| template <typename ConcreteDialect> |
| void registerDialect(DialectRegistry ®istry); |
| |
| namespace linalg { |
| class LinalgDialect; |
| } // end namespace linalg |
| |
| namespace memref { |
| class MemRefDialect; |
| } // end namespace memref |
| |
| #define GEN_PASS_CLASSES |
| #include "mlir/Transforms/Passes.h.inc" |
| |
| } // end namespace mlir |
| |
| #endif // TRANSFORMS_PASSDETAIL_H_ |