//===- llvm/PassInfo.h - Pass Info class ------------------------*- 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 // //===----------------------------------------------------------------------===// // // This file defines and implements the PassInfo class. // //===----------------------------------------------------------------------===// #ifndef LLVM_PASSINFO_H #define LLVM_PASSINFO_H #include "llvm/ADT/StringRef.h" #include <cassert> #include <vector> namespace llvm { class Pass; //===--------------------------------------------------------------------------- /// PassInfo class - An instance of this class exists for every pass known by /// the system, and can be obtained from a live Pass by calling its /// getPassInfo() method. These objects are set up by the RegisterPass<> /// template. /// class PassInfo { … }; } // end namespace llvm #endif // LLVM_PASSINFO_H