summaryrefslogtreecommitdiff
path: root/clang-r353983/include/llvm/Analysis/DomPrinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r353983/include/llvm/Analysis/DomPrinter.h')
-rw-r--r--clang-r353983/include/llvm/Analysis/DomPrinter.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/clang-r353983/include/llvm/Analysis/DomPrinter.h b/clang-r353983/include/llvm/Analysis/DomPrinter.h
new file mode 100644
index 00000000..a177f877
--- /dev/null
+++ b/clang-r353983/include/llvm/Analysis/DomPrinter.h
@@ -0,0 +1,29 @@
+//===-- DomPrinter.h - Dom printer external interface ------------*- 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 external functions that can be called to explicitly
+// instantiate the dominance tree printer.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_ANALYSIS_DOMPRINTER_H
+#define LLVM_ANALYSIS_DOMPRINTER_H
+
+namespace llvm {
+ class FunctionPass;
+ FunctionPass *createDomPrinterPass();
+ FunctionPass *createDomOnlyPrinterPass();
+ FunctionPass *createDomViewerPass();
+ FunctionPass *createDomOnlyViewerPass();
+ FunctionPass *createPostDomPrinterPass();
+ FunctionPass *createPostDomOnlyPrinterPass();
+ FunctionPass *createPostDomViewerPass();
+ FunctionPass *createPostDomOnlyViewerPass();
+} // End llvm namespace
+
+#endif