From f18cdca66766b374aa81a62ceabd6768de98f339 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Wed, 21 Jul 2004 20:50:33 +0000 Subject: [PATCH] These files don't need to include since they include "Support/Debug.h". llvm-svn: 15089 --- lib/Analysis/DataStructure/Local.cpp | 1 - lib/Analysis/DataStructure/Steensgaard.cpp | 1 - lib/CodeGen/LiveIntervals.cpp | 1 - lib/CodeGen/ModuloScheduling/MSSchedule.cpp | 1 - lib/CodeGen/ModuloScheduling/MSchedGraph.cpp | 1 - lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp | 1 - lib/CodeGen/RegAllocIterativeScan.cpp | 1 - lib/CodeGen/RegAllocLinearScan.cpp | 1 - lib/CodeGen/RegAllocLocal.cpp | 1 - lib/CodeGen/RegAllocSimple.cpp | 1 - lib/CodeGen/TwoAddressInstructionPass.cpp | 1 - lib/CodeGen/VirtRegMap.cpp | 1 - lib/Support/ToolRunner.cpp | 1 - lib/Transforms/ExprTypeConvert.cpp | 2 -- lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp | 1 - lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp | 1 - lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | 1 - lib/Transforms/Instrumentation/TraceBasicBlocks.cpp | 1 - lib/Transforms/Utils/CodeExtractor.cpp | 1 - lib/Transforms/Utils/SimplifyCFG.cpp | 1 - tools/bugpoint/ExecutionDriver.cpp | 1 - tools/bugpoint/ExtractFunction.cpp | 1 - 22 files changed, 23 deletions(-) diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index 7836555c293..34095a2015a 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/lib/Analysis/DataStructure/Local.cpp @@ -24,7 +24,6 @@ #include "Support/CommandLine.h" #include "Support/Debug.h" #include "Support/Timer.h" -#include // FIXME: This should eventually be a FunctionPass that is automatically // aggregated into a Pass. diff --git a/lib/Analysis/DataStructure/Steensgaard.cpp b/lib/Analysis/DataStructure/Steensgaard.cpp index 5b055dc345a..55a6deb048f 100644 --- a/lib/Analysis/DataStructure/Steensgaard.cpp +++ b/lib/Analysis/DataStructure/Steensgaard.cpp @@ -19,7 +19,6 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Module.h" #include "Support/Debug.h" -#include using namespace llvm; namespace { diff --git a/lib/CodeGen/LiveIntervals.cpp b/lib/CodeGen/LiveIntervals.cpp index 4479ea76e3d..dc9aab5cd37 100644 --- a/lib/CodeGen/LiveIntervals.cpp +++ b/lib/CodeGen/LiveIntervals.cpp @@ -33,7 +33,6 @@ #include "Support/STLExtras.h" #include "VirtRegMap.h" #include -#include using namespace llvm; diff --git a/lib/CodeGen/ModuloScheduling/MSSchedule.cpp b/lib/CodeGen/ModuloScheduling/MSSchedule.cpp index 48ddd386fa8..dfee1d15bee 100644 --- a/lib/CodeGen/ModuloScheduling/MSSchedule.cpp +++ b/lib/CodeGen/ModuloScheduling/MSSchedule.cpp @@ -15,7 +15,6 @@ #include "MSSchedule.h" #include "Support/Debug.h" #include "llvm/Target/TargetSchedInfo.h" -#include using namespace llvm; diff --git a/lib/CodeGen/ModuloScheduling/MSchedGraph.cpp b/lib/CodeGen/ModuloScheduling/MSchedGraph.cpp index 4898da8e495..b441bea0512 100644 --- a/lib/CodeGen/ModuloScheduling/MSchedGraph.cpp +++ b/lib/CodeGen/ModuloScheduling/MSchedGraph.cpp @@ -17,7 +17,6 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/Target/TargetInstrInfo.h" #include "Support/Debug.h" -#include using namespace llvm; MSchedGraphNode::MSchedGraphNode(const MachineInstr* inst, diff --git a/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp b/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp index 58fd089943e..62ca490c983 100644 --- a/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp +++ b/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp @@ -23,7 +23,6 @@ #include "Support/StringExtras.h" #include #include -#include #include #include diff --git a/lib/CodeGen/RegAllocIterativeScan.cpp b/lib/CodeGen/RegAllocIterativeScan.cpp index 9c946a7703f..7f7b2818ffd 100644 --- a/lib/CodeGen/RegAllocIterativeScan.cpp +++ b/lib/CodeGen/RegAllocIterativeScan.cpp @@ -34,7 +34,6 @@ #include "VirtRegMap.h" #include #include -#include #include using namespace llvm; diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 4a55df18936..e6e5595720f 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -28,7 +28,6 @@ #include "VirtRegMap.h" #include #include -#include #include using namespace llvm; diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 4c7ccdf8758..bea603ce496 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -25,7 +25,6 @@ #include "Support/Debug.h" #include "Support/DenseMap.h" #include "Support/Statistic.h" -#include using namespace llvm; namespace { diff --git a/lib/CodeGen/RegAllocSimple.cpp b/lib/CodeGen/RegAllocSimple.cpp index ad46bbfec1d..4c1e371c723 100644 --- a/lib/CodeGen/RegAllocSimple.cpp +++ b/lib/CodeGen/RegAllocSimple.cpp @@ -25,7 +25,6 @@ #include "Support/Debug.h" #include "Support/Statistic.h" #include "Support/STLExtras.h" -#include using namespace llvm; namespace { diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index f2815eecffb..0805549d85c 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -40,7 +40,6 @@ #include "Support/Debug.h" #include "Support/Statistic.h" #include "Support/STLExtras.h" -#include using namespace llvm; namespace { diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index 3d543296b40..572bace5944 100644 --- a/lib/CodeGen/VirtRegMap.cpp +++ b/lib/CodeGen/VirtRegMap.cpp @@ -27,7 +27,6 @@ #include "Support/DenseMap.h" #include "Support/Statistic.h" #include "Support/STLExtras.h" -#include using namespace llvm; diff --git a/lib/Support/ToolRunner.cpp b/lib/Support/ToolRunner.cpp index 0e6a0413dd6..ad62474eac9 100644 --- a/lib/Support/ToolRunner.cpp +++ b/lib/Support/ToolRunner.cpp @@ -16,7 +16,6 @@ #include "Config/config.h" // for HAVE_LINK_R #include "Support/Debug.h" #include "Support/FileUtilities.h" -#include #include #include using namespace llvm; diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index 8e4fe7c4f55..1669f0371e1 100644 --- a/lib/Transforms/ExprTypeConvert.cpp +++ b/lib/Transforms/ExprTypeConvert.cpp @@ -18,12 +18,10 @@ #include "llvm/iOther.h" #include "llvm/iPHINode.h" #include "llvm/iMemory.h" - #include "llvm/Analysis/Expressions.h" #include "Support/STLExtras.h" #include "Support/Debug.h" #include -#include using namespace llvm; static bool OperandConvertibleToType(User *U, Value *V, const Type *Ty, diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp index d667e57875b..d69c4c3b4ce 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp @@ -16,7 +16,6 @@ #include "llvm/iTerminators.h" #include "Support/Debug.h" #include -#include using std::vector; diff --git a/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp b/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp index f0db940ced1..d9dc011cd5e 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp @@ -17,7 +17,6 @@ #include "llvm/iTerminators.h" #include "Support/Debug.h" #include -#include #include "Graph.h" //using std::list; diff --git a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index 5821fda8da1..5d53d230c94 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp @@ -24,7 +24,6 @@ #include "llvm/Pass.h" #include "Support/Debug.h" #include "../ProfilingUtils.h" -#include namespace llvm { diff --git a/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp index 3258bf5b21b..9403aa26f75 100644 --- a/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp +++ b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp @@ -23,7 +23,6 @@ #include "llvm/iPHINode.h" #include "ProfilingUtils.h" #include "Support/Debug.h" -#include #include using namespace llvm; diff --git a/lib/Transforms/Utils/CodeExtractor.cpp b/lib/Transforms/Utils/CodeExtractor.cpp index 67ec6415cd8..dbc358bf61d 100644 --- a/lib/Transforms/Utils/CodeExtractor.cpp +++ b/lib/Transforms/Utils/CodeExtractor.cpp @@ -28,7 +28,6 @@ #include "Support/Debug.h" #include "Support/StringExtras.h" #include -#include #include using namespace llvm; diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 2cf4ab9cded..e2a5c8e3657 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -21,7 +21,6 @@ #include #include #include -#include using namespace llvm; diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index c2a4a1cba6c..12ca1234026 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -19,7 +19,6 @@ #include "Support/FileUtilities.h" #include "Support/SystemUtils.h" #include -#include using namespace llvm; namespace { diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp index 0f3d44e8a4d..ecc2652556e 100644 --- a/tools/bugpoint/ExtractFunction.cpp +++ b/tools/bugpoint/ExtractFunction.cpp @@ -27,7 +27,6 @@ #include "Support/CommandLine.h" #include "Support/Debug.h" #include "Support/FileUtilities.h" -#include #include using namespace llvm;