diff options
| author | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
| commit | 597d451feace38e5847a26719eafd93db3d82684 (patch) | |
| tree | 385230cc6dbe4b5773e0cc571ea71ff5c9e6882a /llvm/lib/Analysis/ConstantRange.cpp | |
| parent | a60d8edfc9459b1c63e8efb017ee3b371de50ced (diff) | |
| download | bcm5719-llvm-597d451feace38e5847a26719eafd93db3d82684.tar.gz bcm5719-llvm-597d451feace38e5847a26719eafd93db3d82684.zip | |
Removed some of the iostream #includes. Moved towards converting to using
llvm streams
llvm-svn: 31983
Diffstat (limited to 'llvm/lib/Analysis/ConstantRange.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ConstantRange.cpp | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ConstantRange.cpp b/llvm/lib/Analysis/ConstantRange.cpp index 9e12c9343db..21eabe2aca6 100644 --- a/llvm/lib/Analysis/ConstantRange.cpp +++ b/llvm/lib/Analysis/ConstantRange.cpp @@ -25,8 +25,8 @@ #include "llvm/Constants.h" #include "llvm/Instruction.h" #include "llvm/Type.h" -#include <iostream> - +#include "llvm/Support/Streams.h" +#include <ostream> using namespace llvm; static ConstantIntegral *Next(ConstantIntegral *CI) { @@ -50,6 +50,32 @@ static bool LTE(ConstantIntegral *A, ConstantIntegral *B) { return cast<ConstantBool>(C)->getValue(); } + + + + + + + + + + + + + + + + + + + + + + + + + + static bool GT(ConstantIntegral *A, ConstantIntegral *B) { return LT(B, A); } static ConstantIntegral *Min(ConstantIntegral *A, ConstantIntegral *B) { @@ -328,5 +354,5 @@ void ConstantRange::print(std::ostream &OS) const { /// dump - Allow printing from a debugger easily... /// void ConstantRange::dump() const { - print(std::cerr); + print(llvm_cerr); } |

