Added a SimplifyIndVar utility to simplify induction variable users
[oota-llvm.git] / include / llvm / Analysis / IVUsers.h
index e56d24d583dfad6ef44859f77ef174e80a29b832..2fb607cc5c37f1bc1ee338ef4650b9ccbd7b02fa 100644 (file)
@@ -140,6 +140,8 @@ public:
   static char ID; // Pass ID, replacement for typeid
   IVUsers();
 
+  Loop *getLoop() const { return L; }
+
   /// AddUsersIfInteresting - Inspect the specified Instruction.  If it is a
   /// reducible SCEV, recursively add its users to the IVUsesByStride set and
   /// return true.  Otherwise, return false.