1 //===- PassDetail.h - Transforms Pass class details -------------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef TRANSFORMS_PASSDETAIL_H_ 10 #define TRANSFORMS_PASSDETAIL_H_ 11 12 #include "mlir/Pass/Pass.h" 13 14 namespace mlir { 15 // Forward declaration from Dialect.h 16 template <typename ConcreteDialect> 17 void registerDialect(DialectRegistry ®istry); 18 19 namespace linalg { 20 class LinalgDialect; 21 } // end namespace linalg 22 23 #define GEN_PASS_CLASSES 24 #include "mlir/Transforms/Passes.h.inc" 25 26 } // end namespace mlir 27 28 #endif // TRANSFORMS_PASSDETAIL_H_ 29