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
This commit is contained in:
Reid Spencer 2004-07-04 12:19:56 +00:00
parent 8ce1da781e
commit 954da37bb4
65 changed files with 87 additions and 4 deletions

View File

@ -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.

View File

@ -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 {

View File

@ -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...

View File

@ -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) {

View File

@ -27,6 +27,7 @@
#include "llvm/Analysis/DSGraph.h"
#include "Support/CommandLine.h"
#include "llvm/Value.h"
#include <iostream>
#include <set>
using namespace llvm;

View File

@ -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.

View File

@ -28,6 +28,7 @@
#include "PgmDependenceGraph.h"
#include "llvm/Analysis/PostDominators.h"
#include "llvm/Function.h"
#include <iostream>
namespace llvm {

View File

@ -19,6 +19,7 @@
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Module.h"
#include "Support/Debug.h"
#include <iostream>
using namespace llvm;
namespace {

View File

@ -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) {

View File

@ -30,6 +30,7 @@
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Support/CFG.h"
#include "Support/SCCIterator.h"
#include <iostream>
namespace llvm {

View File

@ -22,6 +22,8 @@
#include "llvm/Support/CFG.h"
#include "Support/DepthFirstIterator.h"
#include <algorithm>
#include <iostream>
using namespace llvm;
static RegisterAnalysis<LoopInfo>

View File

@ -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.

View File

@ -18,6 +18,8 @@
#include "llvm/Analysis/ProfileInfo.h"
#include "llvm/Analysis/ProfileInfoLoader.h"
#include "Support/CommandLine.h"
#include <iostream>
using namespace llvm;
namespace {

View File

@ -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 {

View File

@ -21,6 +21,7 @@
#include "llvm/BasicBlock.h"
#include "Support/CommandLine.h"
#include <algorithm>
#include <iostream>
namespace llvm {

View File

@ -22,6 +22,7 @@
#include "llvm/Target/TargetMachine.h"
#include "../../Target/SparcV9/SparcV9RegInfo.h"
#include "Support/STLExtras.h"
#include <iostream>
namespace llvm {

View File

@ -14,6 +14,7 @@
#include "llvm/CodeGen/SchedGraphCommon.h"
#include "Support/STLExtras.h"
#include <iostream>
namespace llvm {

View File

@ -22,6 +22,7 @@
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/Support/CFG.h"
#include "Support/PostOrderIterator.h"
#include <iostream>
namespace llvm {

View File

@ -16,6 +16,8 @@
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/iOther.h"
#include <iostream>
using namespace llvm;
template <class ArgIt>

View File

@ -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() {

View File

@ -15,6 +15,8 @@
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/Function.h"
#include <fstream>
#include <iostream>
using namespace llvm;
namespace {

View File

@ -26,6 +26,7 @@
#include "llvm/iOther.h"
#include "llvm/Type.h"
#include "Support/LeakDetector.h"
#include <iostream>
using namespace llvm;

View File

@ -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.

View File

@ -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 {

View File

@ -14,6 +14,8 @@
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/Type.h"
#include <iostream>
using namespace llvm;
SelectionDAG::~SelectionDAG() {

View File

@ -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

View File

@ -21,6 +21,7 @@
#include "llvm/Support/CallSite.h"
#include "llvm/Target/TargetData.h"
#include "Support/DataTypes.h"
#include <iostream>
namespace llvm {

View File

@ -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)

View File

@ -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) {

View File

@ -13,6 +13,7 @@
#include "Support/LeakDetector.h"
#include "llvm/Value.h"
#include <iostream>
#include <set>
using namespace llvm;

View File

@ -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())

View File

@ -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())

View File

@ -21,6 +21,7 @@
#include "llvm/BasicBlock.h"
#include "Support/CommandLine.h"
#include <algorithm>
#include <iostream>
namespace llvm {

View File

@ -22,6 +22,7 @@
#include "llvm/Target/TargetMachine.h"
#include "../../Target/SparcV9/SparcV9RegInfo.h"
#include "Support/STLExtras.h"
#include <iostream>
namespace llvm {

View File

@ -14,6 +14,7 @@
#include "llvm/CodeGen/SchedGraphCommon.h"
#include "Support/STLExtras.h"
#include <iostream>
namespace llvm {

View File

@ -22,6 +22,7 @@
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/Support/CFG.h"
#include "Support/PostOrderIterator.h"
#include <iostream>
namespace llvm {

View File

@ -28,6 +28,7 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "Support/STLExtras.h"
#include "Config/alloca.h"
#include <iostream>
namespace llvm {

View File

@ -27,6 +27,7 @@
#include "../SparcV9RegInfo.h"
#include "Support/CommandLine.h"
#include "Support/LeakDetector.h"
#include <iostream>
namespace llvm {
std::vector<MachineInstr*>

View File

@ -18,6 +18,7 @@
#include "llvm/Support/CFG.h"
#include "Support/SetOperations.h"
#include "../SparcV9Internals.h"
#include <iostream>
namespace llvm {

View File

@ -22,6 +22,7 @@
#include "Support/SetOperations.h"
#include "Support/CommandLine.h"
#include "BBLiveVar.h"
#include <iostream>
namespace llvm {

View File

@ -16,6 +16,7 @@
#include "RegAllocCommon.h"
#include "Support/STLExtras.h"
#include <algorithm>
#include <iostream>
namespace llvm {

View File

@ -22,6 +22,7 @@
#include "llvm/Target/TargetInstrInfo.h"
#include "../SparcV9RegInfo.h"
#include "Support/SetOperations.h"
#include <iostream>
namespace llvm {

View File

@ -47,6 +47,7 @@
#include "Support/SetOperations.h"
#include "Support/STLExtras.h"
#include <cmath>
#include <iostream>
namespace llvm {

View File

@ -15,6 +15,7 @@
#include "RegAllocCommon.h"
#include "RegClass.h"
#include "../SparcV9RegInfo.h"
#include <iostream>
namespace llvm {

View File

@ -19,6 +19,7 @@
#include "SparcV9RegInfo.h"
#include "RegAlloc/RegAllocCommon.h"
#include "RegAlloc/IGNode.h"
#include <iostream>
namespace llvm {

View File

@ -28,6 +28,7 @@
#include "SparcV9RegClassInfo.h"
#include "SparcV9RegInfo.h"
#include "SparcV9TargetMachine.h"
#include <iostream>
namespace llvm {

View File

@ -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"

View File

@ -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"

View File

@ -26,6 +26,8 @@
#include "llvm/Target/TargetMachineImpls.h"
#include "Support/CommandLine.h"
#include "Support/STLExtras.h"
#include <iostream>
using namespace llvm;
namespace {

View File

@ -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,

View File

@ -24,6 +24,8 @@
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "ProfilingUtils.h"
#include <iostream>
using namespace llvm;
namespace {

View File

@ -23,6 +23,7 @@
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "ProfilingUtils.h"
#include <iostream>
#include <set>
using namespace llvm;

View File

@ -16,6 +16,7 @@
#include "llvm/iTerminators.h"
#include "Support/Debug.h"
#include <algorithm>
#include <iostream>
using std::vector;

View File

@ -17,6 +17,7 @@
#include "llvm/iTerminators.h"
#include "Support/Debug.h"
#include <algorithm>
#include <iostream>
#include "Graph.h"
//using std::list;

View File

@ -24,6 +24,7 @@
#include "llvm/Pass.h"
#include "Support/Debug.h"
#include "../ProfilingUtils.h"
#include <iostream>
namespace llvm {

View File

@ -16,6 +16,7 @@
#include "llvm/iOther.h"
#include "llvm/Support/CFG.h"
#include "Graph.h"
#include <iostream>
using std::vector;
using std::map;

View File

@ -23,6 +23,7 @@
#include "llvm/iPHINode.h"
#include "ProfilingUtils.h"
#include "Support/Debug.h"
#include <iostream>
#include <set>
using namespace llvm;

View File

@ -22,6 +22,7 @@
#include "llvm/iOther.h"
#include "llvm/Support/InstIterator.h"
#include <vector>
#include <iostream>
using namespace llvm;
using namespace std;

View File

@ -28,6 +28,7 @@
#include "Support/Debug.h"
#include "Support/StringExtras.h"
#include <algorithm>
#include <iostream>
#include <set>
using namespace llvm;

View File

@ -21,6 +21,8 @@
#include <algorithm>
#include <functional>
#include <set>
#include <iostream>
using namespace llvm;
// PropagatePredecessorsForPHIs - This gets "Succ" ready to have the

View File

@ -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) {

View File

@ -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) {

View File

@ -13,6 +13,7 @@
#include "Support/LeakDetector.h"
#include "llvm/Value.h"
#include <iostream>
#include <set>
using namespace llvm;

View File

@ -30,6 +30,7 @@
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Support/CFG.h"
#include "Support/SCCIterator.h"
#include <iostream>
namespace llvm {

View File

@ -30,6 +30,7 @@
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Support/CFG.h"
#include "Support/SCCIterator.h"
#include <iostream>
namespace llvm {