LLVM  14.0.0git
DomPrinter.h
Go to the documentation of this file.
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 
14 #ifndef LLVM_ANALYSIS_DOMPRINTER_H
15 #define LLVM_ANALYSIS_DOMPRINTER_H
16 
17 #include "llvm/IR/PassManager.h"
18 
19 namespace llvm {
20 class DomTreePrinterPass : public PassInfoMixin<DomTreePrinterPass> {
21 public:
23 };
24 
25 class DomTreeOnlyPrinterPass : public PassInfoMixin<DomTreeOnlyPrinterPass> {
26 public:
28 };
29 } // namespace llvm
30 
31 namespace llvm {
32  class FunctionPass;
33  FunctionPass *createDomPrinterPass();
34  FunctionPass *createDomOnlyPrinterPass();
35  FunctionPass *createDomViewerPass();
36  FunctionPass *createDomOnlyViewerPass();
37  FunctionPass *createPostDomPrinterPass();
38  FunctionPass *createPostDomOnlyPrinterPass();
39  FunctionPass *createPostDomViewerPass();
40  FunctionPass *createPostDomOnlyViewerPass();
41 } // End llvm namespace
42 
43 #endif
llvm::PreservedAnalyses
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:155
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
llvm::PassInfoMixin
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:374
llvm::Function
Definition: Function.h:62
llvm::createPostDomOnlyViewerPass
FunctionPass * createPostDomOnlyViewerPass()
Definition: DomPrinter.cpp:309
llvm::DomTreeOnlyPrinterPass
Definition: DomPrinter.h:25
F
#define F(x, y, z)
Definition: MD5.cpp:55
llvm::createPostDomViewerPass
FunctionPass * createPostDomViewerPass()
Definition: DomPrinter.cpp:305
llvm::createPostDomPrinterPass
FunctionPass * createPostDomPrinterPass()
Definition: DomPrinter.cpp:297
llvm::DomTreePrinterPass::run
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Definition: DomPrinter.cpp:83
llvm::createDomOnlyPrinterPass
FunctionPass * createDomOnlyPrinterPass()
Definition: DomPrinter.cpp:285
llvm::DomTreePrinterPass
Definition: DomPrinter.h:20
llvm::DomTreeOnlyPrinterPass::run
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Definition: DomPrinter.cpp:89
llvm::createDomOnlyViewerPass
FunctionPass * createDomOnlyViewerPass()
Definition: DomPrinter.cpp:293
llvm::createPostDomOnlyPrinterPass
FunctionPass * createPostDomOnlyPrinterPass()
Definition: DomPrinter.cpp:301
PassManager.h
llvm::createDomViewerPass
FunctionPass * createDomViewerPass()
Definition: DomPrinter.cpp:289
llvm::createDomPrinterPass
FunctionPass * createDomPrinterPass()
llvm::AnalysisManager
A container for analyses that lazily runs them and caches their results.
Definition: InstructionSimplify.h:44