diff options
Diffstat (limited to 'llvm/lib/Transforms')
12 files changed, 15 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/ExprTypeConvert.cpp b/llvm/lib/Transforms/ExprTypeConvert.cpp index f1a7733d599..25c01db46eb 100644 --- a/llvm/lib/Transforms/ExprTypeConvert.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp b/llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp index c518821a6dd..b7c19e6e097 100644 --- a/llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp b/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp index b4ef2dc6487..ef334f22f33 100644 --- a/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp index d69c4c3b4ce..d667e57875b 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp index d9dc011cd5e..f0db940ced1 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index 5d53d230c94..5821fda8da1 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp index cbb2ae6aee5..21d11bec2e0 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp b/llvm/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp index 9403aa26f75..3258bf5b21b 100644 --- a/llvm/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp +++ b/llvm/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/llvm/lib/Transforms/Scalar/LowerConstantExprs.cpp b/llvm/lib/Transforms/Scalar/LowerConstantExprs.cpp index 9eeef5e6460..b4aa4db1df2 100644 --- a/llvm/lib/Transforms/Scalar/LowerConstantExprs.cpp +++ b/llvm/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/llvm/lib/Transforms/Utils/CodeExtractor.cpp b/llvm/lib/Transforms/Utils/CodeExtractor.cpp index cab281a7fcb..8699e88578b 100644 --- a/llvm/lib/Transforms/Utils/CodeExtractor.cpp +++ b/llvm/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/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index ed3cc8866ef..579812efa8f 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/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/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp index abf9957eb13..16547e13377 100644 --- a/llvm/lib/Transforms/Utils/ValueMapper.cpp +++ b/llvm/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) { |