summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-04 00:40:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-04 00:40:42 +0000
commit6734b57d1bcd743491b627979f7801f94c97a970 (patch)
treeae542628ae9741a7ad07e3483ff7c0952cae6645 /lib/Transforms
parent5fcaf3ed141a3f0246e41f45077dbb7d7d0b11d3 (diff)
downloadllvm-6734b57d1bcd743491b627979f7801f94c97a970.tar.gz
llvm-6734b57d1bcd743491b627979f7801f94c97a970.tar.bz2
llvm-6734b57d1bcd743491b627979f7801f94c97a970.tar.xz
For PR1163:
Make the Module's dependent library use a std::vector instead of SetVector adjust #includes in .cpp files because SetVector.h is no longer included. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Instrumentation/RSProfiling.h1
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp1
-rw-r--r--lib/Transforms/Scalar/PredicateSimplifier.cpp2
-rw-r--r--lib/Transforms/Utils/LowerInvoke.cpp1
4 files changed, 4 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/RSProfiling.h b/lib/Transforms/Instrumentation/RSProfiling.h
index e07db00452..747773a87c 100644
--- a/lib/Transforms/Instrumentation/RSProfiling.h
+++ b/lib/Transforms/Instrumentation/RSProfiling.h
@@ -11,6 +11,7 @@
//
//===----------------------------------------------------------------------===//
#include "llvm/Transforms/RSProfiling.h"
+#include <set>
namespace llvm {
/// RSProfilers_std - a simple support class for profilers that handles most
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 49a1775047..fe9a003f2f 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -54,6 +54,7 @@
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
+#include <set>
using namespace llvm;
using namespace llvm::PatternMatch;
diff --git a/lib/Transforms/Scalar/PredicateSimplifier.cpp b/lib/Transforms/Scalar/PredicateSimplifier.cpp
index aecd6957bd..a11d5bdfcd 100644
--- a/lib/Transforms/Scalar/PredicateSimplifier.cpp
+++ b/lib/Transforms/Scalar/PredicateSimplifier.cpp
@@ -76,7 +76,7 @@
#include "llvm/Pass.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SetOperations.h"
-#include "llvm/ADT/SmallVector.h"
+#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Analysis/Dominators.h"
diff --git a/lib/Transforms/Utils/LowerInvoke.cpp b/lib/Transforms/Utils/LowerInvoke.cpp
index a027743bda..62eec75160 100644
--- a/lib/Transforms/Utils/LowerInvoke.cpp
+++ b/lib/Transforms/Utils/LowerInvoke.cpp
@@ -48,6 +48,7 @@
#include "llvm/Support/Compiler.h"
#include "llvm/Target/TargetLowering.h"
#include <csetjmp>
+#include <set>
using namespace llvm;
STATISTIC(NumInvokes, "Number of invokes replaced");