[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 8 14:13:00 PDT 2002
Changes in directory llvm/include/llvm/Analysis:
Dominators.h updated: 1.26 -> 1.27
---
Log message:
Expose new "recalculate" method from dominatorset
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.26 llvm/include/llvm/Analysis/Dominators.h:1.27
--- llvm/include/llvm/Analysis/Dominators.h:1.26 Sun Sep 29 16:37:08 2002
+++ llvm/include/llvm/Analysis/Dominators.h Tue Oct 8 14:12:05 2002
@@ -128,6 +128,11 @@
virtual bool runOnFunction(Function &F);
+ /// recalculate - This method may be called by external passes that modify the
+ /// CFG and then need dominator information recalculated. This method is
+ /// obviously really slow, so it should be avoided if at all possible.
+ void recalculate();
+
// getAnalysisUsage - This simply provides a dominator set
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
More information about the llvm-commits
mailing list