aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-07-04 12:19:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-07-04 12:19:56 +0000
commit954da37bb492b519f5c31dc360f2a142567e08b4 (patch)
tree09912ebacd5f394d55b9ea5e929b12e0c185fa09 /lib/Transforms
parent8ce1da781ef6b5f927e07c51d71c738eeb4a8be3 (diff)
downloadexternal_llvm-954da37bb492b519f5c31dc360f2a142567e08b4.tar.gz
external_llvm-954da37bb492b519f5c31dc360f2a142567e08b4.tar.bz2
external_llvm-954da37bb492b519f5c31dc360f2a142567e08b4.zip
Add #include <iostream> since Value.h does not #include it any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/ExprTypeConvert.cpp1
-rw-r--r--lib/Transforms/Instrumentation/BlockProfiling.cpp2
-rw-r--r--lib/Transforms/Instrumentation/EdgeProfiling.cpp1
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp1
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp1
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp1
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp1
-rw-r--r--lib/Transforms/Instrumentation/TraceBasicBlocks.cpp1
-rw-r--r--lib/Transforms/Scalar/LowerConstantExprs.cpp1
-rw-r--r--lib/Transforms/Utils/CodeExtractor.cpp1
-rw-r--r--lib/Transforms/Utils/SimplifyCFG.cpp2
-rw-r--r--lib/Transforms/Utils/ValueMapper.cpp2
12 files changed, 15 insertions, 0 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp
index f1a7733d59..25c01db46e 100644
--- a/lib/Transforms/ExprTypeConvert.cpp
+++ b/lib/Transforms/ExprTypeConvert.cpp
@@ -23,6 +23,7 @@
#include "Support/STLExtras.h"
#include "Support/Debug.h"
#include <algorithm>
+#include <iostream>
using namespace llvm;
static bool OperandConvertibleToType(User *U, Value *V, const Type *Ty,
diff --git a/lib/Transforms/Instrumentation/BlockProfiling.cpp b/lib/Transforms/Instrumentation/BlockProfiling.cpp
index c518821a6d..b7c19e6e09 100644
--- a/lib/Transforms/Instrumentation/BlockProfiling.cpp
+++ b/lib/Transforms/Instrumentation/BlockProfiling.cpp
@@ -24,6 +24,8 @@
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "ProfilingUtils.h"
+#include <iostream>
+
using namespace llvm;
namespace {
diff --git a/lib/Transforms/Instrumentation/EdgeProfiling.cpp b/lib/Transforms/Instrumentation/EdgeProfiling.cpp
index b4ef2dc648..ef334f22f3 100644
--- a/lib/Transforms/Instrumentation/EdgeProfiling.cpp
+++ b/lib/Transforms/Instrumentation/EdgeProfiling.cpp
@@ -23,6 +23,7 @@
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "ProfilingUtils.h"
+#include <iostream>
#include <set>
using namespace llvm;
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
index d69c4c3b4c..d667e57875 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
@@ -16,6 +16,7 @@
#include "llvm/iTerminators.h"
#include "Support/Debug.h"
#include <algorithm>
+#include <iostream>
using std::vector;
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp b/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp
index d9dc011cd5..f0db940ced 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp
@@ -17,6 +17,7 @@
#include "llvm/iTerminators.h"
#include "Support/Debug.h"
#include <algorithm>
+#include <iostream>
#include "Graph.h"
//using std::list;
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
index 5d53d230c9..5821fda8da 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
@@ -24,6 +24,7 @@
#include "llvm/Pass.h"
#include "Support/Debug.h"
#include "../ProfilingUtils.h"
+#include <iostream>
namespace llvm {
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp b/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
index cbb2ae6aee..21d11bec2e 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
@@ -16,6 +16,7 @@
#include "llvm/iOther.h"
#include "llvm/Support/CFG.h"
#include "Graph.h"
+#include <iostream>
using std::vector;
using std::map;
diff --git a/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp
index 9403aa26f7..3258bf5b21 100644
--- a/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp
+++ b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp
@@ -23,6 +23,7 @@
#include "llvm/iPHINode.h"
#include "ProfilingUtils.h"
#include "Support/Debug.h"
+#include <iostream>
#include <set>
using namespace llvm;
diff --git a/lib/Transforms/Scalar/LowerConstantExprs.cpp b/lib/Transforms/Scalar/LowerConstantExprs.cpp
index 9eeef5e646..b4aa4db1df 100644
--- a/lib/Transforms/Scalar/LowerConstantExprs.cpp
+++ b/lib/Transforms/Scalar/LowerConstantExprs.cpp
@@ -22,6 +22,7 @@
#include "llvm/iOther.h"
#include "llvm/Support/InstIterator.h"
#include <vector>
+#include <iostream>
using namespace llvm;
using namespace std;
diff --git a/lib/Transforms/Utils/CodeExtractor.cpp b/lib/Transforms/Utils/CodeExtractor.cpp
index cab281a7fc..8699e88578 100644
--- a/lib/Transforms/Utils/CodeExtractor.cpp
+++ b/lib/Transforms/Utils/CodeExtractor.cpp
@@ -28,6 +28,7 @@
#include "Support/Debug.h"
#include "Support/StringExtras.h"
#include <algorithm>
+#include <iostream>
#include <set>
using namespace llvm;
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp
index ed3cc8866e..579812efa8 100644
--- a/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -21,6 +21,8 @@
#include <algorithm>
#include <functional>
#include <set>
+#include <iostream>
+
using namespace llvm;
// PropagatePredecessorsForPHIs - This gets "Succ" ready to have the
diff --git a/lib/Transforms/Utils/ValueMapper.cpp b/lib/Transforms/Utils/ValueMapper.cpp
index abf9957eb1..16547e1337 100644
--- a/lib/Transforms/Utils/ValueMapper.cpp
+++ b/lib/Transforms/Utils/ValueMapper.cpp
@@ -15,6 +15,8 @@
#include "ValueMapper.h"
#include "llvm/Constants.h"
#include "llvm/Instruction.h"
+#include <iostream>
+
using namespace llvm;
Value *llvm::MapValue(const Value *V, std::map<const Value*, Value*> &VM) {