mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
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:
parent
8ce1da781e
commit
954da37bb4
@ -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.
|
||||
|
@ -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 {
|
||||
|
@ -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...
|
||||
|
@ -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) {
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "llvm/Analysis/DSGraph.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include "llvm/Value.h"
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -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.
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "PgmDependenceGraph.h"
|
||||
#include "llvm/Analysis/PostDominators.h"
|
||||
#include "llvm/Function.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "llvm/Analysis/AliasAnalysis.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "Support/Debug.h"
|
||||
#include <iostream>
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -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) {
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "llvm/Analysis/CallGraph.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/SCCIterator.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
static RegisterAnalysis<LoopInfo>
|
||||
|
@ -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.
|
||||
|
@ -18,6 +18,8 @@
|
||||
#include "llvm/Analysis/ProfileInfo.h"
|
||||
#include "llvm/Analysis/ProfileInfoLoader.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -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 {
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "../../Target/SparcV9/SparcV9RegInfo.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "llvm/CodeGen/SchedGraphCommon.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "llvm/CodeGen/MachineBasicBlock.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/PostOrderIterator.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
template <class ArgIt>
|
||||
|
@ -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() {
|
||||
|
@ -15,6 +15,8 @@
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/Function.h"
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "Support/LeakDetector.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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 {
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "llvm/CodeGen/SelectionDAG.h"
|
||||
#include "llvm/Type.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
SelectionDAG::~SelectionDAG() {
|
||||
|
@ -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
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "llvm/Support/CallSite.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "Support/DataTypes.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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) {
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
#include "Support/LeakDetector.h"
|
||||
#include "llvm/Value.h"
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
using namespace llvm;
|
||||
|
||||
|
@ -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())
|
||||
|
@ -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())
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "../../Target/SparcV9/SparcV9RegInfo.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "llvm/CodeGen/SchedGraphCommon.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "llvm/CodeGen/MachineBasicBlock.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/PostOrderIterator.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include "Config/alloca.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "../SparcV9RegInfo.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/LeakDetector.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
std::vector<MachineInstr*>
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/SetOperations.h"
|
||||
#include "../SparcV9Internals.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "Support/SetOperations.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include "BBLiveVar.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "RegAllocCommon.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "llvm/Target/TargetInstrInfo.h"
|
||||
#include "../SparcV9RegInfo.h"
|
||||
#include "Support/SetOperations.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include "Support/SetOperations.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "RegAllocCommon.h"
|
||||
#include "RegClass.h"
|
||||
#include "../SparcV9RegInfo.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "SparcV9RegInfo.h"
|
||||
#include "RegAlloc/RegAllocCommon.h"
|
||||
#include "RegAlloc/IGNode.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "SparcV9RegClassInfo.h"
|
||||
#include "SparcV9RegInfo.h"
|
||||
#include "SparcV9TargetMachine.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include "llvm/Target/TargetMachineImpls.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -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,
|
||||
|
@ -24,6 +24,8 @@
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "ProfilingUtils.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
|
||||
#include "ProfilingUtils.h"
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
using namespace llvm;
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "Support/Debug.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "Support/Debug.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include "Graph.h"
|
||||
|
||||
//using std::list;
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "llvm/Pass.h"
|
||||
#include "Support/Debug.h"
|
||||
#include "../ProfilingUtils.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Graph.h"
|
||||
#include <iostream>
|
||||
|
||||
using std::vector;
|
||||
using std::map;
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "ProfilingUtils.h"
|
||||
#include "Support/Debug.h"
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
using namespace llvm;
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
using namespace std;
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "Support/Debug.h"
|
||||
#include "Support/StringExtras.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
using namespace llvm;
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <set>
|
||||
#include <iostream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
// PropagatePredecessorsForPHIs - This gets "Succ" ready to have the
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
#include "Support/LeakDetector.h"
|
||||
#include "llvm/Value.h"
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
using namespace llvm;
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "llvm/Analysis/CallGraph.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/SCCIterator.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "llvm/Analysis/CallGraph.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/SCCIterator.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user