1 //===-- DomPrinter.h - Dom printer external interface ------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 // 10 // This file defines external functions that can be called to explicitly 11 // instantiate the dominance tree printer. 12 // 13 //===----------------------------------------------------------------------===// 14 15 #ifndef LLVM_ANALYSIS_DOMPRINTER_H 16 #define LLVM_ANALYSIS_DOMPRINTER_H 17 18 namespace llvm { 19 class FunctionPass; 20 FunctionPass *createDomPrinterPass(); 21 FunctionPass *createDomOnlyPrinterPass(); 22 FunctionPass *createDomViewerPass(); 23 FunctionPass *createDomOnlyViewerPass(); 24 FunctionPass *createPostDomPrinterPass(); 25 FunctionPass *createPostDomOnlyPrinterPass(); 26 FunctionPass *createPostDomViewerPass(); 27 FunctionPass *createPostDomOnlyViewerPass(); 28 } // End llvm namespace 29 30 #endif 31