Add function to query RegionInfo about loops.
authorTobias Grosser <grosser@fim.uni-passau.de>
Tue, 27 Jul 2010 04:17:13 +0000 (04:17 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Tue, 27 Jul 2010 04:17:13 +0000 (04:17 +0000)
commit082d587d35a41ee06985d7867b72fb2632962281
treeaa057955c7ba37f35f9b67830660639fbfe20911
parent81c7b19f0494b3995a564778f666025495033d86
Add function to query RegionInfo about loops.

* contains(Loop), * getOutermostLoop()
* Improve getNameStr() to return a sensible name, if basic blocks are not named.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109490 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/RegionInfo.h
lib/Analysis/RegionInfo.cpp