aboutsummaryrefslogtreecommitdiffstats
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
commit8a6411ca14e6216192ccddb18c5196a26e98e1b3 (patch)
tree71c6617214b134968352b854c8f82ce8c89e1282 /include/llvm/Analysis/SparsePropagation.h
parent8c74825433df9121fe057b293687477e32155712 (diff)
downloadexternal_llvm-8a6411ca14e6216192ccddb18c5196a26e98e1b3.zip
external_llvm-8a6411ca14e6216192ccddb18c5196a26e98e1b3.tar.gz
external_llvm-8a6411ca14e6216192ccddb18c5196a26e98e1b3.tar.bz2
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 638008d..cc655aa 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,