summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/SparsePropagation.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 04:37:46 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 04:37:46 +0000
commitbdff548e4dd577a72094d57b282de4e765643b96 (patch)
tree71c6617214b134968352b854c8f82ce8c89e1282 /include/llvm/Analysis/SparsePropagation.h
parent405ce8db96f7a3a5a4c3da0f71d2ca54d30316f0 (diff)
downloadllvm-bdff548e4dd577a72094d57b282de4e765643b96.tar.gz
llvm-bdff548e4dd577a72094d57b282de4e765643b96.tar.bz2
llvm-bdff548e4dd577a72094d57b282de4e765643b96.tar.xz
eliminate the "Value" printing methods that print to a std::ostream.
This required converting a bunch of stuff off DOUT and other cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/SparsePropagation.h')
-rw-r--r--include/llvm/Analysis/SparsePropagation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/SparsePropagation.h b/include/llvm/Analysis/SparsePropagation.h
index 638008d78c..cc655aa85f 100644
--- a/include/llvm/Analysis/SparsePropagation.h
+++ b/include/llvm/Analysis/SparsePropagation.h
@@ -17,7 +17,6 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
-#include <iosfwd>
#include <vector>
#include <set>
@@ -32,6 +31,7 @@ namespace llvm {
class Function;
class SparseSolver;
class LLVMContext;
+ class raw_ostream;
template<typename T> class SmallVectorImpl;
@@ -100,7 +100,7 @@ public:
}
/// PrintValue - Render the specified lattice value to the specified stream.
- virtual void PrintValue(LatticeVal V, std::ostream &OS);
+ virtual void PrintValue(LatticeVal V, raw_ostream &OS);
};
@@ -141,7 +141,7 @@ public:
///
void Solve(Function &F);
- void Print(Function &F, std::ostream &OS) const;
+ void Print(Function &F, raw_ostream &OS) const;
/// getLatticeState - Return the LatticeVal object that corresponds to the
/// value. If an value is not in the map, it is returned as untracked,