Fix a source of non determinism in FindUsedTypes, use a SetVector instead of a
[oota-llvm.git] / include / llvm / Analysis / IVUsers.h
index 578e6aba8338521203b1ec760193012680c32c98..e56d24d583dfad6ef44859f77ef174e80a29b832 100644 (file)
@@ -28,6 +28,7 @@ class IVUsers;
 class ScalarEvolution;
 class SCEV;
 class IVUsers;
+class TargetData;
 
 /// IVStrideUse - Keep track of one use of a strided induction variable.
 /// The Expr member keeps track of the expression, User is the actual user
@@ -122,6 +123,7 @@ class IVUsers : public LoopPass {
   LoopInfo *LI;
   DominatorTree *DT;
   ScalarEvolution *SE;
+  TargetData *TD;
   SmallPtrSet<Instruction*,16> Processed;
 
   /// IVUses - A list of all tracked IV uses of induction variable expressions