Remove unused STL header includes.
authorJay Foad <jay.foad@gmail.com>
Sat, 23 Apr 2011 19:53:52 +0000 (19:53 +0000)
committerJay Foad <jay.foad@gmail.com>
Sat, 23 Apr 2011 19:53:52 +0000 (19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130068 91177308-0d34-0410-b5e6-96231b3b80d8

37 files changed:
include/llvm/ADT/StringExtras.h
include/llvm/ADT/StringMap.h
include/llvm/Analysis/AliasAnalysis.h
include/llvm/Analysis/Lint.h
include/llvm/Analysis/PathProfileInfo.h
include/llvm/CodeGen/PBQP/Graph.h
include/llvm/CodeGen/PBQP/Heuristics/Briggs.h
include/llvm/CodeGen/ScoreboardHazardRecognizer.h
include/llvm/MC/MCSection.h
lib/Analysis/LazyValueInfo.cpp
lib/Analysis/PathNumbering.cpp
lib/Analysis/ProfileInfoLoader.cpp
lib/CodeGen/PHIElimination.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
lib/CodeGen/Spiller.cpp
lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
lib/MC/MCAssembler.cpp
lib/Target/XCore/XCoreISelDAGToDAG.cpp
lib/Target/XCore/XCoreISelLowering.cpp
lib/Transforms/IPO/Inliner.cpp
lib/Transforms/IPO/PruneEH.cpp
lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp
lib/Transforms/Instrumentation/PathProfiling.cpp
lib/Transforms/Scalar/DCE.cpp
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/Constants.cpp
tools/llvm-objdump/llvm-objdump.cpp
utils/TableGen/AsmMatcherEmitter.h
utils/TableGen/CallingConvEmitter.h
utils/TableGen/ClangDiagnosticsEmitter.cpp
utils/TableGen/DAGISelEmitter.h
utils/TableGen/DAGISelMatcherOpt.cpp
utils/TableGen/EDEmitter.cpp
utils/TableGen/TGLexer.h
utils/TableGen/TGValueTypes.cpp

index a28545c4709b1063db156cf253f1c21cc94d8bf1..5f5c04187ada393f39af1f3a773b3edea1e7c74e 100644 (file)
@@ -20,7 +20,6 @@
 #include <cctype>
 #include <cstdio>
 #include <string>
-#include <vector>
 
 namespace llvm {
 template<typename T> class SmallVectorImpl;
index 907c72d685e0fd5bfd6e98434c363a6934f2140a..934cacc78a8c83efac3f0b50df7dad2b4b6163dc 100644 (file)
@@ -17,7 +17,6 @@
 #include "llvm/ADT/StringRef.h"
 #include "llvm/Support/Allocator.h"
 #include <cstring>
-#include <string>
 
 namespace llvm {
   template<typename ValueT>
index 71a5982c7d39d3538eeb982fcafb0adef0e8719f..8f9708b3d8890ffcb1969114907b7e5492a96054 100644 (file)
@@ -38,7 +38,6 @@
 #define LLVM_ANALYSIS_ALIAS_ANALYSIS_H
 
 #include "llvm/Support/CallSite.h"
-#include <vector>
 
 namespace llvm {
 
index eb65d223644133017db86f350eb78d59b77bb42a..7c88b137ec3b10ac2c56126bd2a4a92621534ae1 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef LLVM_ANALYSIS_LINT_H
 #define LLVM_ANALYSIS_LINT_H
 
-#include <string>
-
 namespace llvm {
 
 class FunctionPass;
index 263763f7a8dbe10d5ead4fa84438b74e62336c71..cef6d2d2a6c820e80dfaf445583a95be849e2d37 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "llvm/BasicBlock.h"
 #include "llvm/Analysis/PathNumbering.h"
-#include <stack>
 
 namespace llvm {
 
index b2224cb051dca247679a850b8908e269da7d1122..5240729f52d02c8cad50f086c2d45ba23f313605 100644 (file)
@@ -18,7 +18,6 @@
 #include "Math.h"
 
 #include <list>
-#include <vector>
 #include <map>
 
 namespace PBQP {
index 47a287ccf2f63f8087c707c8a46ab4ff649685fe..e96c4cb1e0c1be67e514dd237c382a3a0244b3dd 100644 (file)
@@ -21,7 +21,6 @@
 #include "../HeuristicSolver.h"
 #include "../HeuristicBase.h"
 
-#include <set>
 #include <limits>
 
 namespace PBQP {
index 8850006df84c903ccb822788c76d0515a82d58cd..118df28abbb441872739d53c20adc0bd4b875091 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <cassert>
 #include <cstring>
-#include <string>
 
 namespace llvm {
 
index 1c01b2f8f3cc659aa455e80733d62ac7b7be3adf..57008177b6d31e867347bc533eb65a13cd299919 100644 (file)
@@ -14,7 +14,6 @@
 #ifndef LLVM_MC_MCSECTION_H
 #define LLVM_MC_MCSECTION_H
 
-#include <string>
 #include "llvm/ADT/StringRef.h"
 #include "llvm/MC/SectionKind.h"
 #include "llvm/Support/Casting.h"
index 8bde3cc2842e1ae0ecc007f33d398d8750fe8ceb..d5f0b5c82154ca4f5911838570a4a2c735000089 100644 (file)
@@ -29,7 +29,6 @@
 #include "llvm/ADT/DenseSet.h"
 #include "llvm/ADT/STLExtras.h"
 #include <map>
-#include <set>
 #include <stack>
 using namespace llvm;
 
index f2c40763a83b6da24882044acca0c71f8f067139..7c584daef73499c3944ea3963165d429980db643 100644 (file)
 #include "llvm/Support/TypeBuilder.h"
 #include "llvm/Support/raw_ostream.h"
 
-#include <map>
 #include <queue>
-#include <set>
 #include <stack>
 #include <string>
 #include <utility>
-#include <vector>
 #include <sstream>
 
 using namespace llvm;
index 25481b2ee671ea30064b1af2c214bf55e559605d..eaa38dad16a1c918e041a201bd1ecf1543ebc029 100644 (file)
@@ -19,7 +19,6 @@
 #include "llvm/Support/raw_ostream.h"
 #include <cstdio>
 #include <cstdlib>
-#include <map>
 using namespace llvm;
 
 // ByteSwap - Byteswap 'Var' if 'Really' is true.
index 9fd5b0e5770edf0408bf7c0525d31a93f439942e..af65f13bf065eb202152145480a6bf8db7480724 100644 (file)
@@ -32,7 +32,6 @@
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
 #include <algorithm>
-#include <map>
 using namespace llvm;
 
 static cl::opt<bool>
index b91f312b72c73fe312d54461b120b12764718490..5ef88cb74ba5f71d3dbd875a07b63675e959174a 100644 (file)
@@ -40,7 +40,6 @@
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
-#include <set>
 #include <queue>
 #include <memory>
 #include <cmath>
index f5466123d359d531931118d6b0f6a12e0bad9ddb..a689b76cdc88e4d361563dd58df0ac3da6f5015b 100644 (file)
@@ -23,7 +23,6 @@
 #include "llvm/Support/CallSite.h"
 #include "llvm/Support/ErrorHandling.h"
 #include <vector>
-#include <set>
 
 namespace llvm {
 
index b89139ff69e234b9da025ba58de084ce51d2c8ee..b6bbcd7176dda1220378a82eefe72b613cc2e102 100644 (file)
@@ -25,7 +25,6 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
-#include <set>
 
 using namespace llvm;
 
index 3b5acb7ecc4856afd5d6caa69219b19b928073e5..16d32598d3b5a2e68204ef6a1d3772e3158eef38 100644 (file)
@@ -27,7 +27,6 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Support/Mutex.h"
 #include <string>
-#include <vector>
 
 namespace llvm {
 
index 9992646042243be34d8cad2a86b5e50c46a46382..cbbc0aceec1335b534cf5252a7438de78b01656c 100644 (file)
@@ -28,7 +28,6 @@
 #include "llvm/Target/TargetRegistry.h"
 #include "llvm/Target/TargetAsmBackend.h"
 
-#include <vector>
 using namespace llvm;
 
 namespace {
index 8ce93fd93ad84dbd8ab07b71e69fc5bd668ba705..6bec9f91944a817e9e8334cf8ddf1d8d2aac8c66 100644 (file)
@@ -30,8 +30,6 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
-#include <queue>
-#include <set>
 using namespace llvm;
 
 /// XCoreDAGToDAGISel - XCore specific code to select XCore machine
index 89dbf3dfe5e8fabcb515290300391bbf58797c75..5987e8be9a164ceb548dc7b3ba9eccb46b47cc4f 100644 (file)
@@ -37,8 +37,6 @@
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/ADT/VectorExtras.h"
-#include <queue>
-#include <set>
 using namespace llvm;
 
 const char *XCoreTargetLowering::
index 37eafd723bf80e47d4233615b4fb005cac4d0978..57f3e772b5698fa416e51f38a8dfb19ae63a6123 100644 (file)
@@ -29,7 +29,6 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/Statistic.h"
-#include <set>
 using namespace llvm;
 
 STATISTIC(NumInlined, "Number of functions inlined");
index d91c2c403aae038724bbdd88ab6164bb78da27c9..9470180c5657df1e8aa66e4bbfdefe36769c5ed8 100644 (file)
@@ -27,7 +27,6 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Support/CFG.h"
-#include <set>
 #include <algorithm>
 using namespace llvm;
 
index e52c45955ecd03d44bf22fdf118ec36b9eb2059c..e09f882aa32390ced89eeecd479c19500aef9f1e 100644 (file)
@@ -27,7 +27,6 @@
 #include "llvm/ADT/DenseSet.h"
 #include "llvm/ADT/Statistic.h"
 #include "MaximumSpanningTree.h"
-#include <set>
 using namespace llvm;
 
 STATISTIC(NumEdgesInserted, "The # of edges inserted.");
index 6bd4478395ba133abc4df2c045dc9aada593d247..6b3f12dcbc845aeadec6ced889e3eec48cb4b02d 100644 (file)
@@ -63,7 +63,6 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
 #include "llvm/Transforms/Instrumentation.h"
-#include <map>
 #include <vector>
 
 #define HASH_THRESHHOLD 100000
index dbb68f3e0bd1a1e4e207be0992132f70b2717aaf..8dbcc23d7ec85677a75d2863323f85488f08bb41 100644 (file)
@@ -23,7 +23,6 @@
 #include "llvm/Pass.h"
 #include "llvm/Support/InstIterator.h"
 #include "llvm/ADT/Statistic.h"
-#include <set>
 using namespace llvm;
 
 STATISTIC(DIEEliminated, "Number of insts removed by DIE pass");
index e16d53bd40e961bcf48990f8d29259ba79649c2f..50c9ae204a4cb342dfb6adfd4d802f1d61126459 100644 (file)
@@ -46,7 +46,6 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/CFG.h"
 #include <algorithm>
-#include <map>
 #include <queue>
 using namespace llvm;
 
index a998801a560f7ad808ea63c74122d2ff062e9557..e255d50e236c0184807a8493efc0fe91f6186d29 100644 (file)
@@ -39,7 +39,6 @@
 #include "llvm/Support/FormattedStream.h"
 #include <algorithm>
 #include <cctype>
-#include <map>
 using namespace llvm;
 
 // Make virtual table appear in this compilation unit.
index 8471a98e66651f23af297c92046893a8eb5fd166..15d7793d589394ea67f34128d85b00497f1824c9 100644 (file)
@@ -32,7 +32,6 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallVector.h"
 #include <algorithm>
-#include <map>
 #include <cstdarg>
 using namespace llvm;
 
index de0165690aecfbc7463390d4ecd76e3d8190786a..a17624aa3dcf8fb1b99141252e74cede4dfda11e 100644 (file)
@@ -45,7 +45,6 @@
 #include <cctype>
 #include <cerrno>
 #include <cstring>
-#include <vector>
 using namespace llvm;
 using namespace object;
 
index 729c938fcd360cf57a370e15b672f97d8776175c..c13adf3dc53543e7c0d3791210cd0807a1cf0ecb 100644 (file)
@@ -16,8 +16,6 @@
 #define ASMMATCHER_EMITTER_H
 
 #include "TableGenBackend.h"
-#include <map>
-#include <vector>
 #include <cassert>
 
 namespace llvm {
index 7fc2507e8889da50503a6b72e5a54eaf86f39162..431c33bcc0df5d07fae61127e8fc751c6c876d34 100644 (file)
@@ -16,8 +16,6 @@
 #define CALLINGCONV_EMITTER_H
 
 #include "TableGenBackend.h"
-#include <map>
-#include <vector>
 #include <cassert>
 
 namespace llvm {
index d5cd4d71ca8c6a2c65c8c7125a313bf143581e57..0f4b606808efaecebdaea6f78c523039ff2dd19d 100644 (file)
@@ -19,7 +19,6 @@
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/VectorExtras.h"
-#include <set>
 #include <map>
 #include <algorithm>
 #include <functional>
index 2117e65455ac442f58dfb7c75c63c29515927d2b..35ab55034308198efb18549e2c2b39623fc0338b 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "TableGenBackend.h"
 #include "CodeGenDAGPatterns.h"
-#include <set>
 
 namespace llvm {
 
index 3169ea1e16af7a1b423103d313207d2fb092745e..f9964223c24850f6918793da6a3da243c3e18395 100644 (file)
@@ -18,7 +18,6 @@
 #include "llvm/ADT/StringSet.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
-#include <vector>
 using namespace llvm;
 
 /// ContractNodes - Turn multiple matcher node patterns like 'MoveChild+Record'
index 841548216e95e6279748c48ea9011683a25e2eb1..5358c0c36169b522cc89244ecf5aae23696b6680 100644 (file)
@@ -24,7 +24,6 @@
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 
-#include <map>
 #include <string>
 #include <vector>
 
index 8859479874020dfa75c1a1695150ddeb9caa8023..e1aa5a72321256493e0c61d8702d40d9ff5f55e7 100644 (file)
@@ -15,7 +15,6 @@
 #define TGLEXER_H
 
 #include "llvm/Support/DataTypes.h"
-#include <vector>
 #include <string>
 #include <cassert>
 
index 122d085b0d781957b18c659ef7a961d2a7ecdd45..af0d9f44cf434aca1f4abdb56ca578f579dd82da 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "llvm/CodeGen/ValueTypes.h"
 #include <map>
-#include <vector>
 using namespace llvm;
 
 namespace llvm {