diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-07-27 08:39:43 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-07-27 08:39:43 +0000 |
commit | 0e6fcf4be360f5d73685c213e3b4af1bb9ce2b5d (patch) | |
tree | 32292954d18407ee71186d4be76b92d184a9d875 /include/llvm/Analysis | |
parent | 2c11046fa186a4489bfd562cd81ff8a4883cb223 (diff) | |
download | external_llvm-0e6fcf4be360f5d73685c213e3b4af1bb9ce2b5d.zip external_llvm-0e6fcf4be360f5d73685c213e3b4af1bb9ce2b5d.tar.gz external_llvm-0e6fcf4be360f5d73685c213e3b4af1bb9ce2b5d.tar.bz2 |
RegionInfo: Add getMaxRegionExit()
getMaxRegionExit returns the exit of the maximal refined region starting
at a specific basic block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/RegionInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Analysis/RegionInfo.h b/include/llvm/Analysis/RegionInfo.h index a54509f..7a2670f 100644 --- a/include/llvm/Analysis/RegionInfo.h +++ b/include/llvm/Analysis/RegionInfo.h @@ -572,6 +572,12 @@ public: /// region containing BB. Region *operator[](BasicBlock *BB) const; + /// @brief Return the exit of the maximal refined region, that starts at a + /// BasicBlock. + /// + /// @param BB The BasicBlock the refined region starts. + BasicBlock *getMaxRegionExit(BasicBlock *BB) const; + /// @brief Find the smallest region that contains two regions. /// /// @param A The first region. |