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 e8d45cf94377c6c6f429c5aa78d49fd3cf8df074..6cf33dc2ff8073d8be45dd3298f514654932e8bd 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 ce305d5875e0c38b1e3d193f9cdc449def53c5b6..80088fd6c6e9e22fac49653881548a8628337b24 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 8b85e7c08b12c43eede7d1e37bc8464e363b80a4..793f7d5c27ad2f71add07f9b95d39fbfa767a17b 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "llvm/Analysis/Interval.h"
 #include "llvm/Pass.h"
+#include <map>
 
 namespace llvm {
 
index 04d0a030578f80a1685af5c182139cc013ecd67a..ee35377907888b81ed0a74d9d68767bed5402c58 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Support/Allocator.h"
 #include <cmath>
+#include <map>
 
 namespace llvm {
 
index a0ffcde4da1c7b41b7137c9f3bc7adab5103285d..06a86f1858b42a9a74591087812952eacae8e753 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 1047e70cb7e250b239c9dde40e92ae21e98a490c..04bb48bc3e323057846dbe8602f0bc6e62705311 100644 (file)
@@ -14,6 +14,7 @@
 #include "llvm/PassManager.h"
 #include "llvm/ADT/SmallVector.h"
 #include <deque>
+#include <map>
 
 //===----------------------------------------------------------------------===//
 // Overview:
index 4411babc5de2ca355e8b828fd0d1053ba2fc51ed..9af904f4926941f673f3d32cf37a3596714d815e 100644 (file)
@@ -71,6 +71,7 @@
 #include <algorithm>
 #include <set>
 #include <list>
+#include <map>
 #include <stack>
 #include <vector>
 #include <queue>
index 5ea421eb6deab42d679e577207a4537b0fe85d7e..be3b39b476c500926175381ee8fba983e0e27ac6 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include <list>
+#include <map>
 
 namespace llvm {
   class GlobalVariable;
index 39d73eeb4a935c1afeaae1b4051d529d6d1bcc57..44fa7d4d4492bfd4e57da1f105184e4b0a4db328 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 d65136a616469e28d7414ba14307b23b2e03c28d..081edd8d5eb8b0a5f8b3b2c8bbe36e4b3687a44e 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 401a36e82e52e3c4b620bf0264888ed316009bae..a8a1492375542620aa0296e37e87eb614f9753f6 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 27501778dacb50033d49067fec384c0e561c31b8..8299dbc0d871643d6b09ae3d162dee9c7d7ba726 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 5bb7494cd1d701226b3154d1f4dce8e06ad5d1bc..e5427766bfa959f806a9196e27ff5f60497e3efb 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 298805d38762be66e69b449622f918284dcbcd73..d4b8454e378aa634eb95e87c376b1b4268453e58 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 47c767feb63921f90a408badbda9b847f707bfc3..0a118cd338b9269b88b88a1882ae09d7e565bc79 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 479588ef3cebbe3b75b6ecfb81107f1f3f9a43cb..a178507c1cd38920e02ab84b3eec002d189b2843 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 c0b7e7944f863dcdf1fbbb11bf85837dd8cc6f2a..929d11374506ea0f9128db8731fce7f59354b3d1 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 a6f126ab61077dd135530bae8078cfbcd2bd6118..bd34883493ce886618fca21fff1281fe374fb015 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;