diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-08 19:12:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-08 19:12:08 +0000 |
commit | 7ca266fe1f211afaec0bdb3b8d8e8a98d2c78fbc (patch) | |
tree | 3c798ef902c7ef845227b88b70a6af769c9fe11e /include/llvm | |
parent | de013f53a797400104444416b980ea2e586611e4 (diff) | |
download | external_llvm-7ca266fe1f211afaec0bdb3b8d8e8a98d2c78fbc.zip external_llvm-7ca266fe1f211afaec0bdb3b8d8e8a98d2c78fbc.tar.gz external_llvm-7ca266fe1f211afaec0bdb3b8d8e8a98d2c78fbc.tar.bz2 |
Expose new "recalculate" method from dominatorset
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 81f0eaf..815be7d 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -128,6 +128,11 @@ struct DominatorSet : public DominatorSetBase { 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(); |