Add dom info verifier.
[oota-llvm.git] / include / llvm / PassManagers.h
index 495b32c7e9b8bf61c705b9caf3062bf4b624ce26..d37691311cf9f8db8cefd7c1abfb4390bfe9e41d 100644 (file)
@@ -245,6 +245,9 @@ public:
   /// verifyPreservedAnalysis -- Verify analysis presreved by pass P.
   void verifyPreservedAnalysis(Pass *P);
 
+  /// verifyDomInfo -- Verify dominator information if it is available.
+  void verifyDomInfo(Pass &P, Function &F);
+
   /// Remove Analysis that is not preserved by the pass
   void removeNotPreservedAnalysis(Pass *P);