DomPrinter.h 1.0 KB

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