diff options
65 files changed, 87 insertions, 4 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp index 193be84b0d..f1b0f56b84 100644 --- a/lib/Analysis/AliasAnalysis.cpp +++ b/lib/Analysis/AliasAnalysis.cpp @@ -28,6 +28,7 @@ #include "llvm/BasicBlock.h" #include "llvm/iMemory.h" #include "llvm/Target/TargetData.h" +#include <iostream> using namespace llvm; // Register the AliasAnalysis interface, providing a nice name to refer to. diff --git a/lib/Analysis/AliasAnalysisEvaluator.cpp b/lib/Analysis/AliasAnalysisEvaluator.cpp index ef7b5015f1..e5ac43658b 100644 --- a/lib/Analysis/AliasAnalysisEvaluator.cpp +++ b/lib/Analysis/AliasAnalysisEvaluator.cpp @@ -26,7 +26,9 @@ #include "llvm/Assembly/Writer.h" #include "llvm/Support/InstIterator.h" #include "Support/CommandLine.h" +#include <iostream> #include <set> + using namespace llvm; namespace { diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp index 342c7a3be8..190a5a9755 100644 --- a/lib/Analysis/AliasSetTracker.cpp +++ b/lib/Analysis/AliasSetTracker.cpp @@ -20,6 +20,7 @@ #include "llvm/Target/TargetData.h" #include "llvm/Assembly/Writer.h" #include "llvm/Support/InstIterator.h" +#include <iostream> using namespace llvm; /// mergeSetIn - Merge the specified alias set into this alias set... diff --git a/lib/Analysis/ConstantRange.cpp b/lib/Analysis/ConstantRange.cpp index cb4be83bbd..580ca01ac3 100644 --- a/lib/Analysis/ConstantRange.cpp +++ b/lib/Analysis/ConstantRange.cpp @@ -25,6 +25,8 @@ #include "llvm/Constants.h" #include "llvm/Instruction.h" #include "llvm/Type.h" +#include <iostream> + using namespace llvm; static ConstantIntegral *Next(ConstantIntegral *CI) { diff --git a/lib/Analysis/DataStructure/GraphChecker.cpp b/lib/Analysis/DataStructure/GraphChecker.cpp index af8731eb05..a5a639c514 100644 --- a/lib/Analysis/DataStructure/GraphChecker.cpp +++ b/lib/Analysis/DataStructure/GraphChecker.cpp @@ -27,6 +27,7 @@ #include "llvm/Analysis/DSGraph.h" #include "Support/CommandLine.h" #include "llvm/Value.h" +#include <iostream> #include <set> using namespace llvm; diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index 31ce79dd40..4a61e8bb10 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/lib/Analysis/DataStructure/Local.cpp @@ -24,6 +24,7 @@ #include "Support/CommandLine.h" #include "Support/Debug.h" #include "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/PgmDependenceGraph.cpp b/lib/Analysis/DataStructure/PgmDependenceGraph.cpp index b87126463c..102c72bc47 100644 --- a/lib/Analysis/DataStructure/PgmDependenceGraph.cpp +++ b/lib/Analysis/DataStructure/PgmDependenceGraph.cpp @@ -28,6 +28,7 @@ #include "PgmDependenceGraph.h" #include "llvm/Analysis/PostDominators.h" #include "llvm/Function.h" +#include <iostream> namespace llvm { diff --git a/lib/Analysis/DataStructure/Steensgaard.cpp b/lib/Analysis/DataStructure/Steensgaard.cpp index 12972eebe5..51d6134bf2 100644 --- a/lib/Analysis/DataStructure/Steensgaard.cpp +++ b/lib/Analysis/DataStructure/Steensgaard.cpp @@ -19,6 +19,7 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Module.h" #include "Support/Debug.h" +#include <iostream> using namespace llvm; namespace { diff --git a/lib/Analysis/Expressions.cpp b/lib/Analysis/Expressions.cpp index 3be3d3b2a1..7549a19e09 100644 --- a/lib/Analysis/Expressions.cpp +++ b/lib/Analysis/Expressions.cpp @@ -18,6 +18,8 @@ #include "llvm/Constants.h" #include "llvm/Function.h" #include "llvm/Type.h" +#include <iostream> + using namespace llvm; ExprType::ExprType(Value *Val) { diff --git a/lib/Analysis/IPA/PrintSCC.cpp b/lib/Analysis/IPA/PrintSCC.cpp index ce89fff90e..8911cc36e2 100644 --- a/lib/Analysis/IPA/PrintSCC.cpp +++ b/lib/Analysis/IPA/PrintSCC.cpp @@ -30,6 +30,7 @@ #include "llvm/Analysis/CallGraph.h" #include "llvm/Support/CFG.h" #include "Support/SCCIterator.h" +#include <iostream> namespace llvm { diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index 8619984f3d..131d02a32b 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -22,6 +22,8 @@ #include "llvm/Support/CFG.h" #include "Support/DepthFirstIterator.h" #include <algorithm> +#include <iostream> + using namespace llvm; static RegisterAnalysis<LoopInfo> diff --git a/lib/Analysis/ProfileInfoLoader.cpp b/lib/Analysis/ProfileInfoLoader.cpp index 46a888365d..809dbf314c 100644 --- a/lib/Analysis/ProfileInfoLoader.cpp +++ b/lib/Analysis/ProfileInfoLoader.cpp @@ -17,7 +17,9 @@ #include "llvm/Module.h" #include "llvm/InstrTypes.h" #include <cstdio> +#include <iostream> #include <map> + using namespace llvm; // ByteSwap - Byteswap 'Var' if 'Really' is true. diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index b32dcc406a..4ab56ce156 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -18,6 +18,8 @@ #include "llvm/Analysis/ProfileInfo.h" #include "llvm/Analysis/ProfileInfoLoader.h" #include "Support/CommandLine.h" +#include <iostream> + using namespace llvm; namespace { diff --git a/lib/Analysis/Trace.cpp b/lib/Analysis/Trace.cpp index 4ab33ed7db..9fc7b8a2c6 100644 --- a/lib/Analysis/Trace.cpp +++ b/lib/Analysis/Trace.cpp @@ -18,6 +18,8 @@ #include "llvm/Analysis/Trace.h" #include "llvm/Function.h" #include "llvm/Assembly/Writer.h" +#include <iostream> + using namespace llvm; Function *Trace::getFunction() const { diff --git a/lib/CodeGen/InstrSched/InstrScheduling.cpp b/lib/CodeGen/InstrSched/InstrScheduling.cpp index c95cce0b46..b98de81820 100644 --- a/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -21,6 +21,7 @@ #include "llvm/BasicBlock.h" #include "Support/CommandLine.h" #include <algorithm> +#include <iostream> namespace llvm { diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp index e88c801a42..9688f3930b 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -22,6 +22,7 @@ #include "llvm/Target/TargetMachine.h" #include "../../Target/SparcV9/SparcV9RegInfo.h" #include "Support/STLExtras.h" +#include <iostream> namespace llvm { diff --git a/lib/CodeGen/InstrSched/SchedGraphCommon.cpp b/lib/CodeGen/InstrSched/SchedGraphCommon.cpp index 3ab79f73f3..da4492f359 100644 --- a/lib/CodeGen/InstrSched/SchedGraphCommon.cpp +++ b/lib/CodeGen/InstrSched/SchedGraphCommon.cpp @@ -14,6 +14,7 @@ #include "llvm/CodeGen/SchedGraphCommon.h" #include "Support/STLExtras.h" +#include <iostream> namespace llvm { diff --git a/lib/CodeGen/InstrSched/SchedPriorities.cpp b/lib/CodeGen/InstrSched/SchedPriorities.cpp index 53b71fa3a7..3c0e0b2c33 100644 --- a/lib/CodeGen/InstrSched/SchedPriorities.cpp +++ b/lib/CodeGen/InstrSched/SchedPriorities.cpp @@ -22,6 +22,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/Support/CFG.h" #include "Support/PostOrderIterator.h" +#include <iostream> namespace llvm { diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp index 6af333e79a..c200aebf06 100644 --- a/lib/CodeGen/IntrinsicLowering.cpp +++ b/lib/CodeGen/IntrinsicLowering.cpp @@ -16,6 +16,8 @@ #include "llvm/DerivedTypes.h" #include "llvm/Module.h" #include "llvm/iOther.h" +#include <iostream> + using namespace llvm; template <class ArgIt> diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index a8a64dba51..20390a2f50 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp @@ -18,6 +18,7 @@ #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" #include "Support/LeakDetector.h" +#include <iostream> using namespace llvm; MachineBasicBlock::~MachineBasicBlock() { diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp index fdfd392237..224c8c37cc 100644 --- a/lib/CodeGen/MachineCodeEmitter.cpp +++ b/lib/CodeGen/MachineCodeEmitter.cpp @@ -15,6 +15,8 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/Function.h" #include <fstream> +#include <iostream> + using namespace llvm; namespace { diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index f9b8bbbd12..520f1da960 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -26,6 +26,7 @@ #include "llvm/iOther.h" #include "llvm/Type.h" #include "Support/LeakDetector.h" +#include <iostream> using namespace llvm; diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 3f7e713ca0..8a61849595 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -21,6 +21,8 @@ #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/MRegisterInfo.h" #include "Support/LeakDetector.h" +#include <iostream> + using namespace llvm; // Global variable holding an array of descriptors for machine instructions. diff --git a/lib/CodeGen/SelectionDAG/DAGBuilder.cpp b/lib/CodeGen/SelectionDAG/DAGBuilder.cpp index 470be877a3..1acc98db4c 100644 --- a/lib/CodeGen/SelectionDAG/DAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/DAGBuilder.cpp @@ -20,6 +20,8 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Support/InstVisitor.h" +#include <iostream> + using namespace llvm; namespace llvm { diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 7dac9b3773..acf3daa32f 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -14,6 +14,8 @@ #include "llvm/CodeGen/SelectionDAG.h" #include "llvm/Type.h" +#include <iostream> + using namespace llvm; SelectionDAG::~SelectionDAG() { diff --git a/lib/Debugger/ProgramInfo.cpp b/lib/Debugger/ProgramInfo.cpp index 29195bd159..a3e55a3aef 100644 --- a/lib/Debugger/ProgramInfo.cpp +++ b/lib/Debugger/ProgramInfo.cpp @@ -23,6 +23,8 @@ #include "Support/FileUtilities.h" #include "Support/SlowOperationInformer.h" #include "Support/STLExtras.h" +#include <iostream> + using namespace llvm; /// getGlobalVariablesUsing - Return all of the global variables which have the diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 7757aae861..99e417c4a8 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -21,6 +21,7 @@ #include "llvm/Support/CallSite.h" #include "llvm/Target/TargetData.h" #include "Support/DataTypes.h" +#include <iostream> namespace llvm { diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp index 3d4bc4c688..5340a19e3e 100644 --- a/lib/ExecutionEngine/JIT/JIT.cpp +++ b/lib/ExecutionEngine/JIT/JIT.cpp @@ -23,6 +23,8 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetJITInfo.h" #include "Support/DynamicLinker.h" +#include <iostream> + using namespace llvm; JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji) diff --git a/lib/Support/ConstantRange.cpp b/lib/Support/ConstantRange.cpp index cb4be83bbd..580ca01ac3 100644 --- a/lib/Support/ConstantRange.cpp +++ b/lib/Support/ConstantRange.cpp @@ -25,6 +25,8 @@ #include "llvm/Constants.h" #include "llvm/Instruction.h" #include "llvm/Type.h" +#include <iostream> + using namespace llvm; static ConstantIntegral *Next(ConstantIntegral *CI) { diff --git a/lib/Support/LeakDetector.cpp b/lib/Support/LeakDetector.cpp index d4e829f1d9..919f7a9c21 100644 --- a/lib/Support/LeakDetector.cpp +++ b/lib/Support/LeakDetector.cpp @@ -13,6 +13,7 @@ #include "Support/LeakDetector.h" #include "llvm/Value.h" +#include <iostream> #include <set> using namespace llvm; diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index adda86d64e..1f6b900597 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -35,6 +35,7 @@ #include "Support/StringExtras.h" #include "Config/config.h" #include <algorithm> +#include <iostream> #include <sstream> using namespace llvm; @@ -222,7 +223,7 @@ bool CBackendNameAllUsedStructs::run(Module &M) { for (SymbolTable::type_iterator TI = MST.type_begin(), TE = MST.type_end(); TI != TE; ) { SymbolTable::type_iterator I = TI++; - if (StructType *STy = dyn_cast<StructType>(I->second)) { + if (const StructType *STy = dyn_cast<StructType>(I->second)) { // If this is not used, remove it from the symbol table. std::set<const Type *>::iterator UTI = UT.find(STy); if (UTI == UT.end()) diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index adda86d64e..1f6b900597 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -35,6 +35,7 @@ #include "Support/StringExtras.h" #include "Config/config.h" #include <algorithm> +#include <iostream> #include <sstream> using namespace llvm; @@ -222,7 +223,7 @@ bool CBackendNameAllUsedStructs::run(Module &M) { for (SymbolTable::type_iterator TI = MST.type_begin(), TE = MST.type_end(); TI != TE; ) { SymbolTable::type_iterator I = TI++; - if (StructType *STy = dyn_cast<StructType>(I->second)) { + if (const StructType *STy = dyn_cast<StructType>(I->second)) { // If this is not used, remove it from the symbol table. std::set<const Type *>::iterator UTI = UT.find(STy); if (UTI == UT.end()) diff --git a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp index c95cce0b46..b98de81820 100644 --- a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp +++ b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp @@ -21,6 +21,7 @@ #include "llvm/BasicBlock.h" #include "Support/CommandLine.h" #include <algorithm> +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/InstrSched/SchedGraph.cpp b/lib/Target/SparcV9/InstrSched/SchedGraph.cpp index e88c801a42..9688f3930b 100644 --- a/lib/Target/SparcV9/InstrSched/SchedGraph.cpp +++ b/lib/Target/SparcV9/InstrSched/SchedGraph.cpp @@ -22,6 +22,7 @@ #include "llvm/Target/TargetMachine.h" #include "../../Target/SparcV9/SparcV9RegInfo.h" #include "Support/STLExtras.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/InstrSched/SchedGraphCommon.cpp b/lib/Target/SparcV9/InstrSched/SchedGraphCommon.cpp index 3ab79f73f3..da4492f359 100644 --- a/lib/Target/SparcV9/InstrSched/SchedGraphCommon.cpp +++ b/lib/Target/SparcV9/InstrSched/SchedGraphCommon.cpp @@ -14,6 +14,7 @@ #include "llvm/CodeGen/SchedGraphCommon.h" #include "Support/STLExtras.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp b/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp index 53b71fa3a7..3c0e0b2c33 100644 --- a/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp +++ b/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp @@ -22,6 +22,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/Support/CFG.h" #include "Support/PostOrderIterator.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/InstrSelection/InstrForest.cpp b/lib/Target/SparcV9/InstrSelection/InstrForest.cpp index bb2c11ab18..675bc2d58a 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrForest.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrForest.cpp @@ -28,6 +28,7 @@ #include "llvm/CodeGen/MachineInstr.h" #include "Support/STLExtras.h" #include "Config/alloca.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp index 0e8c58b1bd..07464b473a 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp @@ -27,6 +27,7 @@ #include "../SparcV9RegInfo.h" #include "Support/CommandLine.h" #include "Support/LeakDetector.h" +#include <iostream> namespace llvm { std::vector<MachineInstr*> diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp index fd8c662cc5..09f5954269 100644 --- a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp +++ b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp @@ -18,6 +18,7 @@ #include "llvm/Support/CFG.h" #include "Support/SetOperations.h" #include "../SparcV9Internals.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp b/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp index 149df1064f..719a1a8a34 100644 --- a/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp +++ b/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp @@ -22,6 +22,7 @@ #include "Support/SetOperations.h" #include "Support/CommandLine.h" #include "BBLiveVar.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp index 3cef19ea0e..a02cdef867 100644 --- a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp +++ b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp @@ -16,6 +16,7 @@ #include "RegAllocCommon.h" #include "Support/STLExtras.h" #include <algorithm> +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp index e6a687741b..2388ff0255 100644 --- a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp +++ b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp @@ -22,6 +22,7 @@ #include "llvm/Target/TargetInstrInfo.h" #include "../SparcV9RegInfo.h" #include "Support/SetOperations.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 4c156bcecc..95756db241 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -47,6 +47,7 @@ #include "Support/SetOperations.h" #include "Support/STLExtras.h" #include <cmath> +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/RegAlloc/RegClass.cpp b/lib/Target/SparcV9/RegAlloc/RegClass.cpp index a748c1aaa0..07e478bc54 100644 --- a/lib/Target/SparcV9/RegAlloc/RegClass.cpp +++ b/lib/Target/SparcV9/RegAlloc/RegClass.cpp @@ -15,6 +15,7 @@ #include "RegAllocCommon.h" #include "RegClass.h" #include "../SparcV9RegInfo.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp index 0f83bb2037..df4e44c7ee 100644 --- a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp @@ -19,6 +19,7 @@ #include "SparcV9RegInfo.h" #include "RegAlloc/RegAllocCommon.h" #include "RegAlloc/IGNode.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index a7e1dbdcb9..e16db9f99d 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -28,6 +28,7 @@ #include "SparcV9RegClassInfo.h" #include "SparcV9RegInfo.h" #include "SparcV9TargetMachine.h" +#include <iostream> namespace llvm { diff --git a/lib/Target/X86/InstSelectPattern.cpp b/lib/Target/X86/InstSelectPattern.cpp index 6b848b00ea..cd79b1d87d 100644 --- a/lib/Target/X86/InstSelectPattern.cpp +++ b/lib/Target/X86/InstSelectPattern.cpp @@ -22,8 +22,8 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/SSARegMap.h" - #include "X86RegisterInfo.h" +#include <iostream> // Include the generated instruction selector... #include "X86GenInstrSelector.inc" diff --git a/lib/Target/X86/X86ISelPattern.cpp b/lib/Target/X86/X86ISelPattern.cpp index 6b848b00ea..cd79b1d87d 100644 --- a/lib/Target/X86/X86ISelPattern.cpp +++ b/lib/Target/X86/X86ISelPattern.cpp @@ -22,8 +22,8 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/SSARegMap.h" - #include "X86RegisterInfo.h" +#include <iostream> // Include the generated instruction selector... #include "X86GenInstrSelector.inc" diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp index 8be00312c0..74f824b3c9 100644 --- a/lib/Target/X86/X86RegisterInfo.cpp +++ b/lib/Target/X86/X86RegisterInfo.cpp @@ -26,6 +26,8 @@ #include "llvm/Target/TargetMachineImpls.h" #include "Support/CommandLine.h" #include "Support/STLExtras.h" +#include <iostream> + using namespace llvm; namespace { 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) { diff --git a/lib/VMCore/ConstantRange.cpp b/lib/VMCore/ConstantRange.cpp index cb4be83bbd..580ca01ac3 100644 --- a/lib/VMCore/ConstantRange.cpp +++ b/lib/VMCore/ConstantRange.cpp @@ -25,6 +25,8 @@ #include "llvm/Constants.h" #include "llvm/Instruction.h" #include "llvm/Type.h" +#include <iostream> + using namespace llvm; static ConstantIntegral *Next(ConstantIntegral *CI) { diff --git a/lib/VMCore/LeakDetector.cpp b/lib/VMCore/LeakDetector.cpp index d4e829f1d9..919f7a9c21 100644 --- a/lib/VMCore/LeakDetector.cpp +++ b/lib/VMCore/LeakDetector.cpp @@ -13,6 +13,7 @@ #include "Support/LeakDetector.h" #include "llvm/Value.h" +#include <iostream> #include <set> using namespace llvm; diff --git a/tools/analyze/PrintSCC.cpp b/tools/analyze/PrintSCC.cpp index ce89fff90e..8911cc36e2 100644 --- a/tools/analyze/PrintSCC.cpp +++ b/tools/analyze/PrintSCC.cpp @@ -30,6 +30,7 @@ #include "llvm/Analysis/CallGraph.h" #include "llvm/Support/CFG.h" #include "Support/SCCIterator.h" +#include <iostream> namespace llvm { diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp index ce89fff90e..8911cc36e2 100644 --- a/tools/opt/PrintSCC.cpp +++ b/tools/opt/PrintSCC.cpp @@ -30,6 +30,7 @@ #include "llvm/Analysis/CallGraph.h" #include "llvm/Support/CFG.h" #include "Support/SCCIterator.h" +#include <iostream> namespace llvm { |