diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-04-29 17:42:12 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-04-29 17:42:12 +0000 |
| commit | d5a847057b5027fd54b4cf7e276705c9b35aff06 (patch) | |
| tree | 93e1b6d6abda5638a678086bf08049a5993e1be3 /llvm/lib/CodeGen | |
| parent | 2dfc667a7dad832f3a3cd65cc1daf7c5ec855699 (diff) | |
| download | bcm5719-llvm-d5a847057b5027fd54b4cf7e276705c9b35aff06.tar.gz bcm5719-llvm-d5a847057b5027fd54b4cf7e276705c9b35aff06.zip | |
Eliminate duplicate or unneccesary #include's
llvm-svn: 2397
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedGraph.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedGraph.h | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/MachineCodeForInstruction.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/IGNode.h | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/RegClass.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/RegClass.h | 2 |
13 files changed, 5 insertions, 18 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp index b0422797475..d219ef6b6df 100644 --- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -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; diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp index 28679bfbdc8..0629f8c75fb 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -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" diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.h b/llvm/lib/CodeGen/InstrSched/SchedGraph.h index 8a8a523f004..441a46c0e5e 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.h +++ b/llvm/lib/CodeGen/InstrSched/SchedGraph.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" diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp index a4480e88657..aba49bd54c1 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp @@ -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, diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp index 583df38360a..1724ce44896 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -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" diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index c042e368c9d..d06ac172db0 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -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" diff --git a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp index a4ebbec187f..98871a7e85b 100644 --- a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp +++ b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp @@ -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")); diff --git a/llvm/lib/CodeGen/RegAlloc/IGNode.h b/llvm/lib/CodeGen/RegAlloc/IGNode.h index 177800c5bb9..bcf850f68b3 100644 --- a/llvm/lib/CodeGen/RegAlloc/IGNode.h +++ b/llvm/lib/CodeGen/RegAlloc/IGNode.h @@ -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; diff --git a/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp b/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp index c90ae4ae241..412f35fe932 100644 --- a/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp +++ b/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp @@ -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; diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp index fb29af2bf19..6661eca8011 100644 --- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp +++ b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp @@ -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, diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index b783255699f..d54229e838f 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -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; diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp index 607a4daf62d..249b8db2664 100644 --- a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp +++ b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp @@ -1,5 +1,5 @@ #include "llvm/CodeGen/RegClass.h" -#include <iostream> +#include "llvm/CodeGen/RegAllocCommon.h" using std::cerr; //---------------------------------------------------------------------------- diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.h b/llvm/lib/CodeGen/RegAlloc/RegClass.h index 3db72b73639..c93d6961e0b 100644 --- a/llvm/lib/CodeGen/RegAlloc/RegClass.h +++ b/llvm/lib/CodeGen/RegAlloc/RegClass.h @@ -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; |

