blob: a177f877b2952cd01543bc643f74aa9c77e5d694 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===-- DomPrinter.h - Dom printer external interface ------------*- C++ -*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// 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
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
7//===----------------------------------------------------------------------===//
8//
9// This file defines external functions that can be called to explicitly
10// instantiate the dominance tree printer.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_ANALYSIS_DOMPRINTER_H
15#define LLVM_ANALYSIS_DOMPRINTER_H
16
17namespace llvm {
18 class FunctionPass;
19 FunctionPass *createDomPrinterPass();
20 FunctionPass *createDomOnlyPrinterPass();
21 FunctionPass *createDomViewerPass();
22 FunctionPass *createDomOnlyViewerPass();
23 FunctionPass *createPostDomPrinterPass();
24 FunctionPass *createPostDomOnlyPrinterPass();
25 FunctionPass *createPostDomViewerPass();
26 FunctionPass *createPostDomOnlyViewerPass();
27} // End llvm namespace
28
29#endif