DomPrinter.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===-- DomPrinter.h - Dom printer external interface ------------*- C++ -*-===//
  7. //
  8. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. // See https://llvm.org/LICENSE.txt for license information.
  10. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. //
  12. //===----------------------------------------------------------------------===//
  13. //
  14. // This file defines external functions that can be called to explicitly
  15. // instantiate the dominance tree printer.
  16. //
  17. //===----------------------------------------------------------------------===//
  18. #ifndef LLVM_ANALYSIS_DOMPRINTER_H
  19. #define LLVM_ANALYSIS_DOMPRINTER_H
  20. namespace llvm {
  21. class FunctionPass;
  22. FunctionPass *createDomPrinterPass();
  23. FunctionPass *createDomOnlyPrinterPass();
  24. FunctionPass *createDomViewerPass();
  25. FunctionPass *createDomOnlyViewerPass();
  26. FunctionPass *createPostDomPrinterPass();
  27. FunctionPass *createPostDomOnlyPrinterPass();
  28. FunctionPass *createPostDomViewerPass();
  29. FunctionPass *createPostDomOnlyViewerPass();
  30. } // End llvm namespace
  31. #endif
  32. #ifdef __GNUC__
  33. #pragma GCC diagnostic pop
  34. #endif