diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-25 01:13:51 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-25 01:13:51 +0000 |
commit | 6c1980b3357207c4d756255bc5e32323eac278dc (patch) | |
tree | 972dbd8c9bdba9468af74a8a2e1c119c98f9fcff /include/llvm/Transforms/Utils | |
parent | fef8bb24de86ff41d09a7787c6c52b058a853e39 (diff) | |
download | external_llvm-6c1980b3357207c4d756255bc5e32323eac278dc.zip external_llvm-6c1980b3357207c4d756255bc5e32323eac278dc.tar.gz external_llvm-6c1980b3357207c4d756255bc5e32323eac278dc.tar.bz2 |
Convert a few more uses of llvm/Support/Streams.h to raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils')
-rw-r--r-- | include/llvm/Transforms/Utils/AddrModeMatcher.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Transforms/Utils/AddrModeMatcher.h b/include/llvm/Transforms/Utils/AddrModeMatcher.h index 913a541..be601e2 100644 --- a/include/llvm/Transforms/Utils/AddrModeMatcher.h +++ b/include/llvm/Transforms/Utils/AddrModeMatcher.h @@ -20,7 +20,6 @@ #define LLVM_TRANSFORMS_UTILS_ADDRMODEMATCHER_H #include "llvm/ADT/SmallVector.h" -#include "llvm/Support/Streams.h" #include "llvm/Target/TargetLowering.h" namespace llvm { @@ -30,18 +29,19 @@ class Instruction; class Value; class Type; class User; - +class raw_ostream; + /// ExtAddrMode - This is an extended version of TargetLowering::AddrMode /// which holds actual Value*'s for register values. struct ExtAddrMode : public TargetLowering::AddrMode { Value *BaseReg; Value *ScaledReg; ExtAddrMode() : BaseReg(0), ScaledReg(0) {} - void print(OStream &OS) const; + void print(raw_ostream &OS) const; void dump() const; }; -static inline OStream &operator<<(OStream &OS, const ExtAddrMode &AM) { +static inline raw_ostream &operator<<(raw_ostream &OS, const ExtAddrMode &AM) { AM.print(OS); return OS; } |