move header
[oota-llvm.git] / include / llvm / Analysis / AliasSetTracker.h
index 2f693d41f8cc3486419a9c243e223b82c73f639a..e7d1cb3d2ec5e0cadad3b098e77ac31563bd713f 100644 (file)
@@ -290,6 +290,11 @@ public:
   bool remove(InvokeInst *II) { return remove(CallSite(II)); }
   bool remove(Instruction *I);
   void remove(AliasSet &AS);
+  
+  void clear() {
+    PointerMap.clear();
+    AliasSets.clear();
+  }
 
   /// getAliasSets - Return the alias sets that are active.
   ///