diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 03:13:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 03:13:20 +0000 |
commit | 0bde4e303451efeaf102dc61ed5e746e87b0e031 (patch) | |
tree | 11df4a1200aac57c6156d1f9135d12d65812f864 /include/llvm/CodeGen/Passes.h | |
parent | 4e95ea9a58b55a6e0e7783d65c0a7195fef012cd (diff) | |
download | external_llvm-0bde4e303451efeaf102dc61ed5e746e87b0e031.tar.gz external_llvm-0bde4e303451efeaf102dc61ed5e746e87b0e031.tar.bz2 external_llvm-0bde4e303451efeaf102dc61ed5e746e87b0e031.zip |
remove std::ostream versions of printing stuff for MBB and MF,
upgrading a few things to use raw_ostream
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Passes.h')
-rw-r--r-- | include/llvm/CodeGen/Passes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index d8ec67f916..b0db4c9993 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/include/llvm/CodeGen/Passes.h @@ -15,7 +15,6 @@ #ifndef LLVM_CODEGEN_PASSES_H #define LLVM_CODEGEN_PASSES_H -#include <iosfwd> #include <string> namespace llvm { @@ -25,6 +24,7 @@ namespace llvm { class TargetMachine; class TargetLowering; class RegisterCoalescer; + class raw_ostream; /// createUnreachableBlockEliminationPass - The LLVM code generator does not /// work well with unreachable basic blocks (what live ranges make sense for a @@ -36,7 +36,7 @@ namespace llvm { /// MachineFunctionPrinter pass - This pass prints out the machine function to /// the given stream, as a debugging tool. - FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS, + FunctionPass *createMachineFunctionPrinterPass(raw_ostream &OS, const std::string &Banner =""); /// MachineLoopInfo pass - This pass is a loop analysis pass. @@ -166,7 +166,7 @@ namespace llvm { /// Creates a pass to print GC metadata. /// - FunctionPass *createGCInfoPrinter(std::ostream &OS); + FunctionPass *createGCInfoPrinter(raw_ostream &OS); /// createMachineLICMPass - This pass performs LICM on machine instructions. /// |