OSDN Git Service

Don't include <map> in Pass.h, which doesn't need it. This requires
authorDan Gohman <gohman@apple.com>
Fri, 21 Mar 2008 23:51:57 +0000 (23:51 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 21 Mar 2008 23:51:57 +0000 (23:51 +0000)
adding <map> to many files that actually do need it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48667 91177308-0d34-0410-b5e6-96231b3b80d8

18 files changed:
include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/Dominators.h
include/llvm/Analysis/IntervalPartition.h
include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/Pass.h
include/llvm/PassManagers.h
lib/Analysis/IPA/Andersens.cpp
lib/CodeGen/ELFWriter.h
lib/CodeGen/MachOWriter.h
lib/CodeGen/RegAllocSimple.cpp
lib/Transforms/IPO/ConstantMerge.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/LowerSetJmp.cpp
lib/Transforms/Scalar/Reassociate.cpp
lib/Transforms/Scalar/SCCP.cpp
lib/Transforms/Scalar/TailDuplication.cpp
lib/VMCore/Pass.cpp

index e8d45cf..6cf33dc 100644 (file)
@@ -55,6 +55,7 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/CallSite.h"
+#include <map>
 
 namespace llvm {
 
index ce305d5..80088fd 100644 (file)
@@ -34,6 +34,7 @@
 #include "llvm/Support/CFG.h"
 #include "llvm/Support/Compiler.h"
 #include <algorithm>
+#include <map>
 #include <set>
 
 namespace llvm {
index 8b85e7c..793f7d5 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "llvm/Analysis/Interval.h"
 #include "llvm/Pass.h"
+#include <map>
 
 namespace llvm {
 
index 04d0a03..ee35377 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Support/Allocator.h"
 #include <cmath>
+#include <map>
 
 namespace llvm {
 
index a0ffcde..06a86f1 100644 (file)
@@ -32,7 +32,7 @@
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/Streams.h"
 #include <vector>
-#include <map>
+#include <utility>
 #include <iosfwd>
 #include <cassert>
 
index 1047e70..04bb48b 100644 (file)
@@ -14,6 +14,7 @@
 #include "llvm/PassManager.h"
 #include "llvm/ADT/SmallVector.h"
 #include <deque>
+#include <map>
 
 //===----------------------------------------------------------------------===//
 // Overview:
index 4411bab..9af904f 100644 (file)
@@ -71,6 +71,7 @@
 #include <algorithm>
 #include <set>
 #include <list>
+#include <map>
 #include <stack>
 #include <vector>
 #include <queue>
index 5ea421e..be3b39b 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include <list>
+#include <map>
 
 namespace llvm {
   class GlobalVariable;
index 39d73ee..44fa7d4 100644 (file)
@@ -21,6 +21,7 @@
 #include "llvm/Target/TargetData.h"
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetMachOWriterInfo.h"
+#include <map>
 
 namespace llvm {
   class GlobalVariable;
index d65136a..081edd8 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/Support/Compiler.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
+#include <map>
 using namespace llvm;
 
 STATISTIC(NumStores, "Number of stores added");
index 401a36e..a8a1492 100644 (file)
@@ -23,6 +23,7 @@
 #include "llvm/Pass.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Support/Compiler.h"
+#include <map>
 using namespace llvm;
 
 STATISTIC(NumMerged, "Number of global constants merged");
index 2750177..8299dbc 100644 (file)
@@ -31,6 +31,7 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Support/Compiler.h"
+#include <map>
 #include <set>
 using namespace llvm;
 
index 5bb7494..e542776 100644 (file)
@@ -33,6 +33,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/StringExtras.h"
 #include <algorithm>
+#include <map>
 #include <set>
 using namespace llvm;
 
index 298805d..d4b8454 100644 (file)
@@ -50,6 +50,7 @@
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/ADT/VectorExtras.h"
 #include "llvm/ADT/SmallVector.h"
+#include <map>
 using namespace llvm;
 
 STATISTIC(LongJmpsTransformed, "Number of longjmps transformed");
index 47c767f..0a118cd 100644 (file)
@@ -34,6 +34,7 @@
 #include "llvm/ADT/PostOrderIterator.h"
 #include "llvm/ADT/Statistic.h"
 #include <algorithm>
+#include <map>
 using namespace llvm;
 
 STATISTIC(NumLinear , "Number of insts linearized");
index 479588e..a178507 100644 (file)
@@ -40,6 +40,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
 #include <algorithm>
+#include <map>
 using namespace llvm;
 
 STATISTIC(NumInstRemoved, "Number of instructions removed");
index c0b7e79..929d113 100644 (file)
@@ -32,6 +32,7 @@
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/Statistic.h"
+#include <map>
 using namespace llvm;
 
 STATISTIC(NumEliminated, "Number of unconditional branches eliminated");
index a6f126a..bd34883 100644 (file)
@@ -19,6 +19,7 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/ManagedStatic.h"
 #include <algorithm>
+#include <map>
 #include <set>
 using namespace llvm;