Add explicit #includes of <iostream>
authorChris Lattner <sabre@nondot.org>
Sun, 22 Jan 2006 23:41:00 +0000 (23:41 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 Jan 2006 23:41:00 +0000 (23:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25515 91177308-0d34-0410-b5e6-96231b3b80d8

29 files changed:
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/RegAllocLocal.cpp
lib/CodeGen/RegAllocSimple.cpp
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/TwoAddressInstructionPass.cpp
lib/CodeGen/VirtRegMap.cpp
lib/Target/Alpha/AlphaAsmPrinter.cpp
lib/Target/Alpha/AlphaCodeEmitter.cpp
lib/Target/Alpha/AlphaISelDAGToDAG.cpp
lib/Target/Alpha/AlphaISelPattern.cpp
lib/Target/IA64/IA64AsmPrinter.cpp
lib/Target/IA64/IA64ISelDAGToDAG.cpp
lib/Target/IA64/IA64TargetMachine.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/Sparc/FPMover.cpp
lib/Target/Sparc/SparcAsmPrinter.cpp
lib/Target/SparcV8/FPMover.cpp
lib/Target/SparcV8/SparcV8AsmPrinter.cpp
lib/Target/SparcV9/DecomposeMultiDimRefs.cpp
lib/Target/SparcV9/ModuloScheduling/DependenceAnalyzer.cpp
lib/Target/X86/X86ATTAsmPrinter.cpp
lib/Target/X86/X86CodeEmitter.cpp
lib/Target/X86/X86FloatingPoint.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelPattern.cpp
lib/Target/X86/X86IntelAsmPrinter.cpp
lib/Target/X86/X86TargetMachine.cpp

index d5160cdb2af5a2ebac5953b50991290ca05d0361..125a18dd24ec7d44a18a86b1ca8f4deec612a4ae 100644 (file)
@@ -34,6 +34,7 @@
 #include "llvm/ADT/STLExtras.h"
 #include <algorithm>
 #include <cmath>
+#include <iostream>
 using namespace llvm;
 
 namespace {
index fbf669285c31dd0fd92ab1e5b7815e992fea6897..f5b081ab59619b4f302c4839da6c798099b64310 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/Support/Debug.h"
 #include <algorithm>
 #include <cmath>
+#include <iostream>
 #include <set>
 #include <queue>
 #include <memory>
index 800f305ad94e886df41d614ce14ad7014898a417..f84f7e82ef07f94f730036b883b53568ae2a243f 100644 (file)
@@ -26,6 +26,7 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/Statistic.h"
 #include <algorithm>
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 57f3f5d7723fae60a80b7aefc2915e7952cf1e1c..f6a9a112df655eeea5586256dae56dbdfc00051a 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 08d0b0613720d6f682b99ae81c6324334585803f..99c272e00137b0c71441f89d57dfb4412a804442 100644 (file)
@@ -45,6 +45,7 @@
 #include "llvm/Target/TargetLowering.h"
 #include <algorithm>
 #include <cmath>
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 3aa2cc7c9b89209048cfb90ebee95d6b0243ede1..48581eebc187754c25f4bff10d5043c88fe145bc 100644 (file)
@@ -40,6 +40,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index f27ae2a8212a2a5518ff5360c3c11abfc966f7a9..8a4574460c972dfea2b7e6550269aadbc041cffb 100644 (file)
@@ -29,6 +29,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
 #include <algorithm>
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 29627c518d956b6c5e39f0d8544d010a61feff04..133f6c6039359f3fff485cc21b4f506f6439ebf0 100644 (file)
@@ -22,7 +22,7 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Support/Mangler.h"
 #include "llvm/ADT/Statistic.h"
-
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 81026265d0c31ed4825ad6d061c3a636e18df48e..f5d517fadd49d634280ca828329b39184c8b40b9 100644 (file)
@@ -23,6 +23,7 @@
 #include "llvm/Function.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/Statistic.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index e74dfd5865a1a6e4b73bc95d4ab78202e7f78adc..6d71a2cb61f103466c6b89e22bc07a6e51eb4c2e 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
 #include <algorithm>
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 92f16e8f7f35c8de4dfc863bcaf58890f0b1e053..0b948b6b76667b137ce96a97cf2595293bab3249 100644 (file)
@@ -16,7 +16,6 @@
 #include "AlphaTargetMachine.h"
 #include "AlphaISelLowering.h"
 #include "llvm/Constants.h"                   // FIXME: REMOVE
-#include "llvm/Function.h"
 #include "llvm/Module.h"
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/CodeGen/MachineConstantPool.h" // FIXME: REMOVE
@@ -31,8 +30,9 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/CommandLine.h"
-#include <set>
 #include <algorithm>
+#include <iostream>
+#include <set>
 using namespace llvm;
 
 namespace llvm {
index c1ee80def4fae3cb2854b8fbcabe5da4dc9910be..2c2a6d6c9b2d24c26aa2bc864990d952b47ef09c 100644 (file)
@@ -26,7 +26,7 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Support/Mangler.h"
 #include "llvm/ADT/Statistic.h"
-#include "llvm/Support/CommandLine.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 6329be8111d1b041b53d6f41759e2f47766bb85f..046e30b1684d6702f091c1a3d218ed74852de7ad 100644 (file)
@@ -26,6 +26,7 @@
 #include "llvm/GlobalValue.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index c09e66855000c8b55ae76dddf5522602c898c6e6..34f1fe53d0da5ba20109980b95e3e34c447311dd 100644 (file)
@@ -23,6 +23,7 @@
 #include "llvm/Transforms/Scalar.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/ADT/Statistic.h"
+#include <iostream>
 using namespace llvm;
 
 /// IA64TargetMachineModule - Note that this is used on hosts that cannot link
index 552bcb0ae42f53c519bb1d1ea8a6bd4a8e8ada53..3ffe0d2d8a5fcc3d150e8a81c4abd1aadf6920b4 100644 (file)
@@ -37,6 +37,7 @@
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/StringExtras.h"
+#include <iostream>
 #include <set>
 using namespace llvm;
 
index 92512cc7a6a8236485fd7ee3e0b6e660986fe57b..a859d0acb6f58e823eecf7327f306b1bf5fbb9a7 100644 (file)
@@ -26,6 +26,7 @@
 #include "llvm/GlobalValue.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index af11eb8f7f73695bebc2911a397f7ddccf44de17..cc3d78176603655ed4931a4f33cf280ac225cd37 100644 (file)
@@ -16,6 +16,7 @@
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Support/Debug.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index e8048482784c0726b8414219a1636da084abb361..f22185b51a685caf7d6b9550ea1db216ee944417 100644 (file)
@@ -29,6 +29,7 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/MathExtras.h"
 #include <cctype>
+#include <iostream>
 using namespace llvm;
 
 namespace {
index af11eb8f7f73695bebc2911a397f7ddccf44de17..cc3d78176603655ed4931a4f33cf280ac225cd37 100644 (file)
@@ -16,6 +16,7 @@
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Support/Debug.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index e8048482784c0726b8414219a1636da084abb361..f22185b51a685caf7d6b9550ea1db216ee944417 100644 (file)
@@ -29,6 +29,7 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/MathExtras.h"
 #include <cctype>
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 1f6dbda199ddb23abe25000a1207bc05f224e61e..50077c419177a352225845f20f4be781012c7c64 100644 (file)
@@ -24,6 +24,7 @@
 #include "llvm/Pass.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Support/Debug.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index a4461de80b9cf3e40e9e7acb2b914cf8fd488fb8..9c3422d54a6df76c08e71f1b6c87d2c859775f28 100644 (file)
@@ -18,7 +18,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Constants.h"
-
+#include <iostream>
 using namespace llvm;
 
 namespace llvm {
index f8e172419248680e00af8427acbea2a5c4bccb8e..c4639b3151045e6ecb383c82e49a1e92ddb08c0e 100755 (executable)
@@ -18,6 +18,7 @@
 #include "X86TargetMachine.h"
 #include "llvm/Module.h"
 #include "llvm/Support/Mangler.h"
+#include <iostream>
 using namespace llvm;
 using namespace x86;
 
index cafb175c520a822063f1a9dc01373cc514d9e6e2..74e30a6d9e6d6accbb25de20516a51489b272777 100644 (file)
@@ -22,6 +22,7 @@
 #include "llvm/CodeGen/Passes.h"
 #include "llvm/Function.h"
 #include "llvm/ADT/Statistic.h"
+#include <iostream>
 using namespace llvm;
 
 namespace {
index 8c53b8234795a8d47ea68201d17e72b4b1d8f3a1..73144cb28f15a7cb8f4bfc9e4ac3b2ac87337e20 100644 (file)
@@ -42,6 +42,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
 #include <algorithm>
+#include <iostream>
 #include <set>
 using namespace llvm;
 
index 84e90b72a80ef5de7d49ccb685c85afe19b3874a..ea1146b213b38cca0803d24b713693fcc988d038 100644 (file)
@@ -29,6 +29,7 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/Statistic.h"
+#include <iostream>
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//
index b895be2591bac543c76d6cbb5b695a965c873fcf..2a2ebd97739d31f942124e786d14096bff883a28 100644 (file)
@@ -34,6 +34,7 @@
 #include "llvm/Support/MathExtras.h"
 #include "llvm/ADT/Statistic.h"
 #include <set>
+#include <iostream>
 #include <algorithm>
 using namespace llvm;
 
index 098a3839c02672c925c5bc551ba39b3fb778509d..2b91870e42ac41fc81177fc400b46948b7d67cc1 100755 (executable)
@@ -105,7 +105,7 @@ void X86IntelAsmPrinter::printOp(const MachineOperand &MO,
     return;
   }
   case MachineOperand::MO_PCRelativeDisp:
-    std::cerr << "Shouldn't use addPCDisp() when building X86 MachineInstrs";
+    assert(0 && "Shouldn't use addPCDisp() when building X86 MachineInstrs");
     abort ();
     return;
   case MachineOperand::MO_GlobalAddress: {
index 4af0b06c0066898a88fe258a34bafd8281635c6b..2893e3d491fa70963a07d8c1cff9e8a63c976f2c 100644 (file)
@@ -23,6 +23,7 @@
 #include "llvm/Transforms/Scalar.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/ADT/Statistic.h"
+#include <iostream>
 using namespace llvm;
 
 X86VectorEnum llvm::X86Vector = NoSSE;