//===- PassDetail.h - MLIR Pass 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 MLIR_PASS_PASSDETAIL_H_ #define MLIR_PASS_PASSDETAIL_H_ #include "mlir/IR/Action.h" #include "mlir/Pass/Pass.h" #include "mlir/Pass/PassManager.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/FormatVariadic.h" namespace mlir { namespace detail { //===----------------------------------------------------------------------===// // OpToOpPassAdaptor //===----------------------------------------------------------------------===// /// An adaptor pass used to run operation passes over nested operations. class OpToOpPassAdaptor : public PassWrapper<OpToOpPassAdaptor, OperationPass<>> { … }; //===----------------------------------------------------------------------===// // PassCrashReproducerGenerator //===----------------------------------------------------------------------===// class PassCrashReproducerGenerator { … }; } // namespace detail } // namespace mlir #endif // MLIR_PASS_PASSDETAIL_H_