summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/DataStructure/Local.cpp1
-rw-r--r--lib/Analysis/DataStructure/Steensgaard.cpp1
-rw-r--r--lib/Support/ToolRunner.cpp1
-rw-r--r--lib/Target/PowerPC/PPCCodeEmitter.cpp1
-rw-r--r--lib/Target/Sparc/SparcV8ISelSimple.cpp1
-rw-r--r--lib/Target/SparcV8/SparcV8ISelSimple.cpp1
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSSchedule.cpp2
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSScheduleSB.cpp2
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp4
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSchedGraphSB.cpp4
-rw-r--r--lib/Target/SparcV9/SparcV9CodeEmitter.cpp1
-rw-r--r--lib/Target/SparcV9/SparcV9JITInfo.cpp1
-rw-r--r--lib/Transforms/ExprTypeConvert.cpp1
-rw-r--r--lib/Transforms/Instrumentation/TraceBasicBlocks.cpp1
-rw-r--r--lib/Transforms/Utils/CodeExtractor.cpp1
-rw-r--r--lib/Transforms/Utils/SimplifyCFG.cpp1
16 files changed, 18 insertions, 6 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index 2ef4aa8af5..2b0ac90c6c 100644
--- a/lib/Analysis/DataStructure/Local.cpp
+++ b/lib/Analysis/DataStructure/Local.cpp
@@ -24,6 +24,7 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Timer.h"
+#include <iostream>
// FIXME: This should eventually be a FunctionPass that is automatically
// aggregated into a Pass.
diff --git a/lib/Analysis/DataStructure/Steensgaard.cpp b/lib/Analysis/DataStructure/Steensgaard.cpp
index ec0bc1f2b2..8a8391ff2a 100644
--- a/lib/Analysis/DataStructure/Steensgaard.cpp
+++ b/lib/Analysis/DataStructure/Steensgaard.cpp
@@ -20,6 +20,7 @@
#include "llvm/Analysis/Passes.h"
#include "llvm/Module.h"
#include "llvm/Support/Debug.h"
+#include <iostream>
using namespace llvm;
namespace {
diff --git a/lib/Support/ToolRunner.cpp b/lib/Support/ToolRunner.cpp
index 6480c23cd8..a9b68deeca 100644
--- a/lib/Support/ToolRunner.cpp
+++ b/lib/Support/ToolRunner.cpp
@@ -19,6 +19,7 @@
#include "llvm/Support/FileUtilities.h"
#include <fstream>
#include <sstream>
+#include <iostream>
using namespace llvm;
ToolExecutionError::~ToolExecutionError() throw() { }
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp
index bda49a8095..d9d854bbfa 100644
--- a/lib/Target/PowerPC/PPCCodeEmitter.cpp
+++ b/lib/Target/PowerPC/PPCCodeEmitter.cpp
@@ -22,6 +22,7 @@
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/Debug.h"
+#include <iostream>
using namespace llvm;
namespace {
diff --git a/lib/Target/Sparc/SparcV8ISelSimple.cpp b/lib/Target/Sparc/SparcV8ISelSimple.cpp
index df668825a6..f10859d5b9 100644
--- a/lib/Target/Sparc/SparcV8ISelSimple.cpp
+++ b/lib/Target/Sparc/SparcV8ISelSimple.cpp
@@ -27,6 +27,7 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Support/CFG.h"
+#include <iostream>
using namespace llvm;
namespace {
diff --git a/lib/Target/SparcV8/SparcV8ISelSimple.cpp b/lib/Target/SparcV8/SparcV8ISelSimple.cpp
index df668825a6..f10859d5b9 100644
--- a/lib/Target/SparcV8/SparcV8ISelSimple.cpp
+++ b/lib/Target/SparcV8/SparcV8ISelSimple.cpp
@@ -27,6 +27,7 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Support/CFG.h"
+#include <iostream>
using namespace llvm;
namespace {
diff --git a/lib/Target/SparcV9/ModuloScheduling/MSSchedule.cpp b/lib/Target/SparcV9/ModuloScheduling/MSSchedule.cpp
index a5dc60bed7..52d53243f9 100644
--- a/lib/Target/SparcV9/ModuloScheduling/MSSchedule.cpp
+++ b/lib/Target/SparcV9/ModuloScheduling/MSSchedule.cpp
@@ -17,7 +17,7 @@
#include "llvm/Target/TargetSchedInfo.h"
#include "../SparcV9Internals.h"
#include "llvm/CodeGen/MachineInstr.h"
-
+#include <iostream>
using namespace llvm;
//Check if all resources are free
diff --git a/lib/Target/SparcV9/ModuloScheduling/MSScheduleSB.cpp b/lib/Target/SparcV9/ModuloScheduling/MSScheduleSB.cpp
index 23697b83a2..487fb336e0 100644
--- a/lib/Target/SparcV9/ModuloScheduling/MSScheduleSB.cpp
+++ b/lib/Target/SparcV9/ModuloScheduling/MSScheduleSB.cpp
@@ -17,7 +17,7 @@
#include "llvm/Target/TargetSchedInfo.h"
#include "../SparcV9Internals.h"
#include "llvm/CodeGen/MachineInstr.h"
-
+#include <iostream>
using namespace llvm;
//Check if all resources are free
diff --git a/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp b/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp
index ec68a968e2..d9b1f9b120 100644
--- a/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp
+++ b/lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp
@@ -13,8 +13,8 @@
// is provided, a conservative approach of adding dependencies between all
// loads and stores is taken.
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "ModuloSched"
+#define DEBUG_TYPE "ModuloSched"
#include "MSchedGraph.h"
#include "../SparcV9RegisterInfo.h"
#include "../MachineCodeForInstruction.h"
@@ -28,7 +28,7 @@
#include <cstdlib>
#include <algorithm>
#include <set>
-
+#include <iostream>
using namespace llvm;
//MSchedGraphNode constructor
diff --git a/lib/Target/SparcV9/ModuloScheduling/MSchedGraphSB.cpp b/lib/Target/SparcV9/ModuloScheduling/MSchedGraphSB.cpp
index 0d3d720ea5..bd879f8778 100644
--- a/lib/Target/SparcV9/ModuloScheduling/MSchedGraphSB.cpp
+++ b/lib/Target/SparcV9/ModuloScheduling/MSchedGraphSB.cpp
@@ -13,8 +13,8 @@
// is provided, a conservative approach of adding dependencies between all
// loads and stores is taken.
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "ModuloSchedSB"
+#define DEBUG_TYPE "ModuloSchedSB"
#include "MSchedGraphSB.h"
#include "../SparcV9RegisterInfo.h"
#include "../MachineCodeForInstruction.h"
@@ -30,7 +30,7 @@
#include <set>
#include "llvm/Target/TargetSchedInfo.h"
#include "../SparcV9Internals.h"
-
+#include <iostream>
using namespace llvm;
//MSchedGraphSBNode constructor
diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
index d977ff94ca..d691a10f76 100644
--- a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
+++ b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
@@ -36,6 +36,7 @@
#include "SparcV9CodeEmitter.h"
#include "SparcV9Relocations.h"
#include "MachineFunctionInfo.h"
+#include <iostream>
using namespace llvm;
bool SparcV9TargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
diff --git a/lib/Target/SparcV9/SparcV9JITInfo.cpp b/lib/Target/SparcV9/SparcV9JITInfo.cpp
index c1a366ba41..2aefab418a 100644
--- a/lib/Target/SparcV9/SparcV9JITInfo.cpp
+++ b/lib/Target/SparcV9/SparcV9JITInfo.cpp
@@ -17,6 +17,7 @@
#include "llvm/CodeGen/MachineCodeEmitter.h"
#include "llvm/Config/alloca.h"
#include "llvm/Support/Debug.h"
+#include <iostream>
using namespace llvm;
/// JITCompilerFunction - This contains the address of the JIT function used to
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp
index 7ed0d42f14..56cb04944f 100644
--- a/lib/Transforms/ExprTypeConvert.cpp
+++ b/lib/Transforms/ExprTypeConvert.cpp
@@ -19,6 +19,7 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/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/TraceBasicBlocks.cpp b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp
index 2d2a259f33..66a1b22915 100644
--- a/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp
+++ b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp
@@ -23,6 +23,7 @@
#include "ProfilingUtils.h"
#include "llvm/Support/Debug.h"
#include <set>
+#include <iostream>
using namespace llvm;
namespace {
diff --git a/lib/Transforms/Utils/CodeExtractor.cpp b/lib/Transforms/Utils/CodeExtractor.cpp
index 85b9dcb131..43324acf60 100644
--- a/lib/Transforms/Utils/CodeExtractor.cpp
+++ b/lib/Transforms/Utils/CodeExtractor.cpp
@@ -29,6 +29,7 @@
#include "llvm/ADT/StringExtras.h"
#include <algorithm>
#include <set>
+#include <iostream>
using namespace llvm;
// Provide a command-line option to aggregate function arguments into a struct
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp
index da8541659b..1159cd36f5 100644
--- a/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -23,6 +23,7 @@
#include <functional>
#include <set>
#include <map>
+#include <iostream>
using namespace llvm;
/// SafeToMergeTerminators - Return true if it is safe to merge these two