summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/include/llvm/Assembly/PrintModulePass.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/include/llvm/Assembly/PrintModulePass.h')
-rw-r--r--contrib/llvm/include/llvm/Assembly/PrintModulePass.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/llvm/include/llvm/Assembly/PrintModulePass.h b/contrib/llvm/include/llvm/Assembly/PrintModulePass.h
index 239fbcc..02b9bd9 100644
--- a/contrib/llvm/include/llvm/Assembly/PrintModulePass.h
+++ b/contrib/llvm/include/llvm/Assembly/PrintModulePass.h
@@ -23,6 +23,7 @@
namespace llvm {
class FunctionPass;
class ModulePass;
+ class BasicBlockPass;
class raw_ostream;
/// createPrintModulePass - Create and return a pass that writes the
@@ -37,6 +38,11 @@ namespace llvm {
raw_ostream *OS,
bool DeleteStream=false);
+ /// createPrintBasicBlockPass - Create and return a pass that writes the
+ /// BB to the specified raw_ostream.
+ BasicBlockPass *createPrintBasicBlockPass(raw_ostream *OS,
+ bool DeleteStream=false,
+ const std::string &Banner = "");
} // End llvm namespace
#endif
OpenPOWER on IntegriCloud