Add a method to clear optional optimization information from a Value.
[oota-llvm.git] / include / llvm / PassManagers.h
index 0716ce53721b9dfa23af0b4ce4db3e2af7d87173..1aa0d3a6fa427cc64114ea9d4db5ac428d06cff8 100644 (file)
@@ -414,6 +414,9 @@ public:
   /// whether any of the passes modifies the module, and if so, return true.
   bool runOnFunction(Function &F);
   bool runOnModule(Module &M);
+  
+  /// cleanup - After running all passes, clean up pass manager cache.
+  void cleanup();
 
   /// doInitialization - Run all of the initializers for the function passes.
   ///