[llvm-commits] CVS: llvm/include/llvm/Analysis/CFGPrinter.h

Brian Gaeke gaeke at cs.uiuc.edu
Mon Apr 26 11:28:02 PDT 2004


Changes in directory llvm/include/llvm/Analysis:

CFGPrinter.h added (r1.1)

---
Log message:

Because I like being able to instantiate the cfgprinter from external projects,
this header file is born.


---
Diffs of the changes:  (+24 -0)

Index: llvm/include/llvm/Analysis/CFGPrinter.h
diff -c /dev/null llvm/include/llvm/Analysis/CFGPrinter.h:1.1
*** /dev/null	Mon Apr 26 11:28:03 2004
--- llvm/include/llvm/Analysis/CFGPrinter.h	Mon Apr 26 11:27:53 2004
***************
*** 0 ****
--- 1,24 ----
+ //===-- CFGPrinter.h - CFG printer external interface ------------*- C++ -*-===//
+ // 
+ //                     The LLVM Compiler Infrastructure
+ //
+ // This file was developed by the LLVM research group and is distributed under
+ // the University of Illinois Open Source License. See LICENSE.TXT for details.
+ // 
+ //===----------------------------------------------------------------------===//
+ //
+ // This file defines external functions that can be called to explicitly
+ // instantiate the CFG printer.
+ //
+ //===----------------------------------------------------------------------===//
+ 
+ #ifndef LLVM_ANALYSIS_CFGPRINTER_H
+ #define LLVM_ANALYSIS_CFGPRINTER_H
+ 
+ namespace llvm {
+   class FunctionPass;
+   FunctionPass *createCFGPrinterPass ();
+   FunctionPass *createCFGOnlyPrinterPass ();
+ } // End llvm namespace
+ 
+ #endif





More information about the llvm-commits mailing list