PassPrinters.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //===- PassPrinters.h - Utilities to print analysis info for passes -------===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. ///
  10. /// \file
  11. /// \brief Utilities to print analysis info for various kinds of passes.
  12. ///
  13. //===----------------------------------------------------------------------===//
  14. #ifndef LLVM_TOOLS_OPT_PASSPRINTERS_H
  15. #define LLVM_TOOLS_OPT_PASSPRINTERS_H
  16. namespace llvm {
  17. class BasicBlockPass;
  18. class CallGraphSCCPass;
  19. class FunctionPass;
  20. class ModulePass;
  21. class LoopPass;
  22. class PassInfo;
  23. class RegionPass;
  24. class raw_ostream;
  25. FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
  26. bool Quiet);
  27. CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
  28. raw_ostream &out, bool Quiet);
  29. ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
  30. bool Quiet);
  31. LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
  32. bool Quiet);
  33. RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
  34. bool Quiet);
  35. BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
  36. raw_ostream &out, bool Quiet);
  37. }
  38. #endif // LLVM_TOOLS_OPT_PASSPRINTERS_H