diff options
author | Dan Gohman <gohman@apple.com> | 2008-03-21 23:51:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-03-21 23:51:57 +0000 |
commit | c9235d2e855c56e9aa157969f8132a05f9ba89d8 (patch) | |
tree | ae8300c5c9de2e3629531133f66da6cf9c06d504 /lib | |
parent | 32f3b19a069336de8ce15ab03ccf8b30ea2e8fce (diff) |
Don't include <map> in Pass.h, which doesn't need it. This requires
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/IPA/Andersens.cpp | 1 | ||||
-rw-r--r-- | lib/CodeGen/ELFWriter.h | 1 | ||||
-rw-r--r-- | lib/CodeGen/MachOWriter.h | 1 | ||||
-rw-r--r-- | lib/CodeGen/RegAllocSimple.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/IPO/ConstantMerge.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/IPO/DeadArgumentElimination.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/IPO/GlobalOpt.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/IPO/LowerSetJmp.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/Scalar/SCCP.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/Scalar/TailDuplication.cpp | 1 | ||||
-rw-r--r-- | lib/VMCore/Pass.cpp | 1 |
12 files changed, 12 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index 4411babc5d..9af904f492 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/lib/Analysis/IPA/Andersens.cpp @@ -71,6 +71,7 @@ #include <algorithm> #include <set> #include <list> +#include <map> #include <stack> #include <vector> #include <queue> diff --git a/lib/CodeGen/ELFWriter.h b/lib/CodeGen/ELFWriter.h index 5ea421eb6d..be3b39b476 100644 --- a/lib/CodeGen/ELFWriter.h +++ b/lib/CodeGen/ELFWriter.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include <list> +#include <map> namespace llvm { class GlobalVariable; diff --git a/lib/CodeGen/MachOWriter.h b/lib/CodeGen/MachOWriter.h index 39d73eeb4a..44fa7d4d44 100644 --- a/lib/CodeGen/MachOWriter.h +++ b/lib/CodeGen/MachOWriter.h @@ -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; diff --git a/lib/CodeGen/RegAllocSimple.cpp b/lib/CodeGen/RegAllocSimple.cpp index d65136a616..081edd8d5e 100644 --- a/lib/CodeGen/RegAllocSimple.cpp +++ b/lib/CodeGen/RegAllocSimple.cpp @@ -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"); diff --git a/lib/Transforms/IPO/ConstantMerge.cpp b/lib/Transforms/IPO/ConstantMerge.cpp index 401a36e82e..a8a1492375 100644 --- a/lib/Transforms/IPO/ConstantMerge.cpp +++ b/lib/Transforms/IPO/ConstantMerge.cpp @@ -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"); diff --git a/lib/Transforms/IPO/DeadArgumentElimination.cpp b/lib/Transforms/IPO/DeadArgumentElimination.cpp index 27501778da..8299dbc0d8 100644 --- a/lib/Transforms/IPO/DeadArgumentElimination.cpp +++ b/lib/Transforms/IPO/DeadArgumentElimination.cpp @@ -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; diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index 5bb7494cd1..e5427766bf 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/lib/Transforms/IPO/GlobalOpt.cpp @@ -33,6 +33,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" #include <algorithm> +#include <map> #include <set> using namespace llvm; diff --git a/lib/Transforms/IPO/LowerSetJmp.cpp b/lib/Transforms/IPO/LowerSetJmp.cpp index 298805d387..d4b8454e37 100644 --- a/lib/Transforms/IPO/LowerSetJmp.cpp +++ b/lib/Transforms/IPO/LowerSetJmp.cpp @@ -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"); diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 47c767feb6..0a118cd338 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -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"); diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp index 479588ef3c..a178507c1c 100644 --- a/lib/Transforms/Scalar/SCCP.cpp +++ b/lib/Transforms/Scalar/SCCP.cpp @@ -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"); diff --git a/lib/Transforms/Scalar/TailDuplication.cpp b/lib/Transforms/Scalar/TailDuplication.cpp index c0b7e7944f..929d113745 100644 --- a/lib/Transforms/Scalar/TailDuplication.cpp +++ b/lib/Transforms/Scalar/TailDuplication.cpp @@ -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"); diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index a6f126ab61..bd34883493 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/VMCore/Pass.cpp @@ -19,6 +19,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Support/ManagedStatic.h" #include <algorithm> +#include <map> #include <set> using namespace llvm; |