23a22a29441b8b7d948e6ff7c2afb39e6528cfbd |
|
27-Aug-2012 |
Hongbin Zheng <etherzhhb@gmail.com> |
Remove the the block_node_iterator of Region, replace it by the block_iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|
7c52c97a2232756bbcc2fb4e664892bdb8b2d90c |
|
04-May-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Rename the Region::block_iterator to Region::block_node_iterator, and add a new Region::block_iterator which actually iterates over the basic blocks of the region. The old iterator, now call 'block_node_iterator' iterates over RegionNodes which contain a single basic block. This works well with the GraphTraits-based iterator design, however most users actually want an iterator over the BasicBlocks inside these RegionNodes. Now the 'block_iterator' is a wrapper which exposes exactly this interface. Internally it uses the block_node_iterator to walk all nodes which are single basic blocks, but transparently unwraps the basic block to make user code simpler. While this patch is a bit of a wash, most of the updates are to internal users, not external users of the RegionInfo. I have an accompanying patch to Polly that is a strict simplification of every user of this interface, and I'm working on a pass that also wants the same simplified interface. This patch alone should have no functional impact. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156202 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|
0e122d1c2422285c872f68fc0ae1f7e5d2739572 |
|
29-Aug-2011 |
Andrew Trick <atrick@apple.com> |
Reapply r138695. Fix PassManager stack depths. Patch by Xiaoyi Guo! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|
8592a0cda4cf4ae76c5a29230fb330d0e952bb62 |
|
27-Aug-2011 |
Andrew Trick <atrick@apple.com> |
Reverting r138695 to see if it fixes clang self host. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|
b84619223051fd965cc64e70c8f6b70f7ae6ae85 |
|
27-Aug-2011 |
Andrew Trick <atrick@apple.com> |
Fix PassManager stack depths. Patch by Xiaoyi Guo! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|
f262e161612eb44b7bb3dd2008950be3e77b57dd |
|
05-May-2011 |
Hongbin Zheng <etherzhhb@gmail.com> |
Minor change: Fix the typo in RegionPass.h and RegionPass.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|
d713acb63105f55ef5ed0f3a499da81c3eeacd49 |
|
12-Dec-2010 |
Tobias Grosser <grosser@fim.uni-passau.de> |
Remove useless dynamic_cast<>(). Thanks Peter for pointing me to something that should have never been committed to the llvm code base. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|
65513605353c7e3ee8be6fc92892f257ad399d92 |
|
20-Oct-2010 |
Tobias Grosser <grosser@fim.uni-passau.de> |
Add RegionPass support. A RegionPass is executed like a LoopPass but on the regions detected by the RegionInfo pass instead of the loops detected by the LoopInfo pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Analysis/RegionPass.cpp
|