//===- Pass.h - TableGen pass definitions -----------------------*- 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_TABLEGEN_PASS_H_ #define MLIR_TABLEGEN_PASS_H_ #include "mlir/Support/LLVM.h" #include <vector> namespace llvm { class Record; } // namespace llvm namespace mlir { namespace tblgen { //===----------------------------------------------------------------------===// // PassOption //===----------------------------------------------------------------------===// class PassOption { … }; //===----------------------------------------------------------------------===// // PassStatistic //===----------------------------------------------------------------------===// class PassStatistic { … }; //===----------------------------------------------------------------------===// // Pass //===----------------------------------------------------------------------===// /// Wrapper class providing helper methods for Passes defined in TableGen. class Pass { … }; } // namespace tblgen } // namespace mlir #endif // MLIR_TABLEGEN_PASS_H_