diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-04-26 16:27:53 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-04-26 16:27:53 +0000 |
commit | 21e232501a9d5ace29187b20a211ca73b09a1c75 (patch) | |
tree | 1432ba9d53d16778ade2aa49bae3ff876ba4a368 | |
parent | c6e2d8a2ffc04084dcf4a96e56aca155856aed92 (diff) | |
download | external_llvm-21e232501a9d5ace29187b20a211ca73b09a1c75.zip external_llvm-21e232501a9d5ace29187b20a211ca73b09a1c75.tar.gz external_llvm-21e232501a9d5ace29187b20a211ca73b09a1c75.tar.bz2 |
Because I like being able to instantiate the cfgprinter from external projects,
this header file is born.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13176 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/CFGPrinter.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/llvm/Analysis/CFGPrinter.h b/include/llvm/Analysis/CFGPrinter.h new file mode 100644 index 0000000..fb3fbdd --- /dev/null +++ b/include/llvm/Analysis/CFGPrinter.h @@ -0,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 |