mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-28 22:00:30 +00:00
Eliminate duplicate or unneccesary #include's
llvm-svn: 2397
This commit is contained in:
parent
3909059b6a
commit
96e0c48175
@ -17,9 +17,9 @@
|
||||
#ifndef LLVM_BYTECODE_WRITER_H
|
||||
#define LLVM_BYTECODE_WRITER_H
|
||||
|
||||
#include <iostream.h>
|
||||
#include <iosfwd>
|
||||
|
||||
class Module;
|
||||
void WriteBytecodeToFile(const Module *C, ostream &Out);
|
||||
void WriteBytecodeToFile(const Module *C, std::ostream &Out);
|
||||
|
||||
#endif
|
||||
|
@ -8,11 +8,9 @@
|
||||
#ifndef REG_CLASS_H
|
||||
#define REG_CLASS_H
|
||||
|
||||
#include "llvm/CodeGen/IGNode.h"
|
||||
#include "llvm/CodeGen/InterferenceGraph.h"
|
||||
#include "llvm/Target/MachineRegInfo.h"
|
||||
#include <stack>
|
||||
#include <iostream>
|
||||
class MachineRegClassInfo;
|
||||
|
||||
typedef std::vector<unsigned> ReservedColorListType;
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "llvm/Assembly/CachedWriter.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "Support/CommandLine.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "BBLiveVar.h"
|
||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/SetOperations.h"
|
||||
#include <iostream>
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
||||
#include "BBLiveVar.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/PostOrderIterator.h"
|
||||
#include "Support/SetOperations.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
#include "llvm/Transforms/UnifyFunctionExitNodes.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include "Support/STLExtras.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "llvm/Analysis/Verifier.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "ParserInternals.h"
|
||||
#include <stdio.h> // for sprintf
|
||||
using std::string;
|
||||
|
||||
// The useful interface defined by this file... Parse an ascii file, and return
|
||||
|
@ -8,10 +8,7 @@
|
||||
#ifndef PARSER_INTERNALS_H
|
||||
#define PARSER_INTERNALS_H
|
||||
|
||||
#include <stdio.h>
|
||||
#define __STDC_LIMIT_MACROS
|
||||
|
||||
#include "llvm/InstrTypes.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/iOther.h"
|
||||
|
@ -6,13 +6,9 @@
|
||||
|
||||
%{
|
||||
#include "ParserInternals.h"
|
||||
#include "llvm/Assembly/Parser.h"
|
||||
#include "llvm/SymbolTable.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
@ -22,7 +18,6 @@
|
||||
#include <list>
|
||||
#include <utility> // Get definition of pair class
|
||||
#include <algorithm>
|
||||
#include <stdio.h> // This embarasment is due to our flex lexer...
|
||||
#include <iostream>
|
||||
using std::list;
|
||||
using std::vector;
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "ReaderInternals.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include <algorithm>
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "llvm/Bytecode/Format.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/iOther.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "llvm/Bytecode/Primitives.h"
|
||||
#include "llvm/SlotCalculator.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include <deque>
|
||||
|
||||
class BytecodeWriter {
|
||||
std::deque<unsigned char> &Out;
|
||||
|
@ -5,7 +5,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/CodeGen/InstrScheduling.h"
|
||||
#include "SchedPriorities.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||
@ -13,11 +13,7 @@
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "SchedPriorities.h"
|
||||
#include <ext/hash_set>
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <iostream>
|
||||
using std::cerr;
|
||||
using std::vector;
|
||||
|
||||
|
@ -14,9 +14,7 @@
|
||||
|
||||
#include "SchedGraph.h"
|
||||
#include "llvm/CodeGen/InstrSelection.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||
#include "llvm/Target/MachineInstrInfo.h"
|
||||
#include "llvm/Target/MachineRegInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#define LLVM_CODEGEN_SCHEDGRAPH_H
|
||||
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "Support/NonCopyable.h"
|
||||
#include "Support/HashExtras.h"
|
||||
#include "Support/GraphTraits.h"
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/PostOrderIterator.h"
|
||||
#include <iostream>
|
||||
using std::cerr;
|
||||
|
||||
SchedPriorities::SchedPriorities(const Function *, const SchedGraph *G,
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "llvm/CodeGen/InstrSelection.h"
|
||||
#include "llvm/CodeGen/InstrSelectionSupport.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/InstrForest.h"
|
||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#include "llvm/CodeGen/InstrSelectionSupport.h"
|
||||
#include "llvm/CodeGen/InstrSelection.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||
#include "llvm/CodeGen/InstrForest.h"
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/InstrSelection.h"
|
||||
#include "llvm/Instruction.h"
|
||||
|
||||
static AnnotationID MCFI_AID(
|
||||
AnnotationManager::getID("CodeGen::MachineCodeForInstruction"));
|
||||
|
@ -25,7 +25,6 @@
|
||||
#ifndef IG_NODE_H
|
||||
#define IG_NODE_H
|
||||
|
||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||
#include "llvm/CodeGen/LiveRange.h"
|
||||
class LiveRange;
|
||||
class RegClass;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "llvm/CodeGen/InterferenceGraph.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <iostream>
|
||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||
#include <algorithm>
|
||||
using std::cerr;
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "Support/SetOperations.h"
|
||||
#include <iostream>
|
||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||
using std::cerr;
|
||||
|
||||
LiveRangeInfo::LiveRangeInfo(const Function *F, const TargetMachine &tm,
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||
#include <iostream>
|
||||
#include <math.h>
|
||||
using std::cerr;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "llvm/CodeGen/RegClass.h"
|
||||
#include <iostream>
|
||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||
using std::cerr;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -8,11 +8,9 @@
|
||||
#ifndef REG_CLASS_H
|
||||
#define REG_CLASS_H
|
||||
|
||||
#include "llvm/CodeGen/IGNode.h"
|
||||
#include "llvm/CodeGen/InterferenceGraph.h"
|
||||
#include "llvm/Target/MachineRegInfo.h"
|
||||
#include <stack>
|
||||
#include <iostream>
|
||||
class MachineRegClassInfo;
|
||||
|
||||
typedef std::vector<unsigned> ReservedColorListType;
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/Annotation.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Module.h"
|
||||
@ -25,7 +24,6 @@
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "Support/StringExtras.h"
|
||||
#include "Support/HashExtras.h"
|
||||
#include <iostream>
|
||||
using std::string;
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "llvm/Target/Sparc.h"
|
||||
#include "llvm/CodeGen/InstrSelection.h"
|
||||
#include "llvm/CodeGen/InstrSelectionSupport.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Constants.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#define SPARC_INTERNALS_H
|
||||
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/MachineInstrInfo.h"
|
||||
#include "llvm/Target/MachineSchedInfo.h"
|
||||
#include "llvm/Target/MachineFrameInfo.h"
|
||||
#include "llvm/Target/MachineCacheInfo.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "SparcRegClassInfo.h"
|
||||
#include "llvm/CodeGen/IGNode.h"
|
||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||
#include "llvm/Target/Sparc.h"
|
||||
#include "llvm/Type.h"
|
||||
#include <iostream>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||
#include "llvm/CodeGen/PhyRegAlloc.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/RegAllocCommon.h"
|
||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/iOther.h"
|
||||
|
@ -7,16 +7,13 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "TransformInternals.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/ConstantHandling.h"
|
||||
#include "llvm/Transforms/Scalar/DCE.h"
|
||||
#include "llvm/Analysis/Expressions.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
using std::cerr;
|
||||
|
@ -12,8 +12,6 @@
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
typedef std::pair<BasicBlock *, Value*> BBConstTy;
|
||||
typedef std::map<BBConstTy, CastInst *> CachedCopyMap;
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
using std::vector;
|
||||
|
@ -9,9 +9,7 @@
|
||||
#include "llvm/Analysis/CallGraph.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include <set>
|
||||
|
||||
static bool RemoveUnreachableFunctions(Module *M, CallGraph &CallGraph) {
|
||||
// Calculate which functions are reachable from the external functions in the
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Argument.h"
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
using std::cerr;
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include "llvm/Transforms/IPO/PoolAllocate.h"
|
||||
#include "llvm/Transforms/CloneFunction.h"
|
||||
#include "llvm/Analysis/DataStructure.h"
|
||||
#include "llvm/Analysis/DataStructureGraph.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Function.h"
|
||||
|
@ -27,12 +27,9 @@
|
||||
#include "llvm/Transforms/Instrumentation/ProfilePaths.h"
|
||||
#include "llvm/Transforms/UnifyFunctionExitNodes.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "Graph.h"
|
||||
|
||||
using std::vector;
|
||||
|
@ -8,10 +8,8 @@
|
||||
|
||||
#include "llvm/Transforms/LevelChange.h"
|
||||
#include "TransformInternals.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/ConstantHandling.h"
|
||||
#include "llvm/Transforms/Scalar/DCE.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Scalar/DCE.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
#include "llvm/Analysis/Writer.h"
|
||||
|
@ -26,8 +26,6 @@
|
||||
#include "llvm/Transforms/Scalar/DCE.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/Constant.h"
|
||||
|
@ -15,13 +15,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Scalar/GCSE.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/InstrTypes.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
#include "llvm/Support/InstVisitor.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include <set>
|
||||
#include <algorithm>
|
||||
|
||||
namespace {
|
||||
|
@ -11,9 +11,7 @@
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/STLExtras.h"
|
||||
|
||||
|
@ -21,13 +21,10 @@
|
||||
|
||||
#include "llvm/Transforms/Scalar/InductionVars.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/Analysis/IntervalPartition.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/InstrTypes.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/Analysis/IntervalPartition.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "llvm/Transforms/Scalar/InstructionCombining.h"
|
||||
#include "llvm/ConstantHandling.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/iOperators.h"
|
||||
|
@ -8,13 +8,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/ChangeAllocations.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "TransformInternals.h"
|
||||
using std::vector;
|
||||
|
@ -18,8 +18,6 @@
|
||||
#include "llvm/Transforms/Scalar/ConstantProp.h"
|
||||
#include "llvm/ConstantHandling.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
@ -28,7 +26,6 @@
|
||||
#include "llvm/Support/InstVisitor.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <iostream>
|
||||
using std::cerr;
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Constant.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "Support/StringExtras.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
using std::string;
|
||||
using std::map;
|
||||
using std::vector;
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "ValueHolderImpl.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/SymbolTable.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
#include "llvm/Transforms/UnifyFunctionExitNodes.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include "Support/STLExtras.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/SymbolTable.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/InstrTypes.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "Support/STLExtras.h"
|
||||
|
@ -36,9 +36,7 @@
|
||||
|
||||
#include "llvm/Analysis/Verifier.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
@ -10,9 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/PassManager.h"
|
||||
@ -34,7 +32,6 @@
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
using std::ostream;
|
||||
using std::string;
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/Signals.h"
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
cl::String InputFilename ("", "Parse <arg> file, compile to bytecode", 0, "-");
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Bytecode/Reader.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include "Support/PostOrderIterator.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "Support/Signals.h"
|
||||
#include <memory>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
cl::String InputFilename ("", "Parse <arg> file, compile to bytecode",
|
||||
cl::Required, "");
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/Signals.h"
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
using std::string;
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/Signals.h"
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
cl::String InputFilename ("", "Parse <arg> file, compile to bytecode", 0, "-");
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/Signals.h"
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
cl::String InputFilename ("", "Parse <arg> file, compile to bytecode", 0, "-");
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Bytecode/Reader.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include "Support/PostOrderIterator.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Bytecode/Reader.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include "Support/PostOrderIterator.h"
|
||||
|
Loading…
Reference in New Issue
Block a user