Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the the block_node_iterator of Region, replace it by the block_iterator. | Hongbin Zheng | 2012-08-27 | 1 | -3/+2 |
| | | | | llvm-svn: 162672 | ||||
* | Rename the Region::block_iterator to Region::block_node_iterator, and | Chandler Carruth | 2012-05-04 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. llvm-svn: 156202 | ||||
* | Reapply r138695. Fix PassManager stack depths. | Andrew Trick | 2011-08-29 | 1 | -3/+3 |
| | | | | | | Patch by Xiaoyi Guo! llvm-svn: 138737 | ||||
* | Reverting r138695 to see if it fixes clang self host. | Andrew Trick | 2011-08-27 | 1 | -3/+3 |
| | | | | llvm-svn: 138701 | ||||
* | Fix PassManager stack depths. | Andrew Trick | 2011-08-27 | 1 | -3/+3 |
| | | | | | | Patch by Xiaoyi Guo! llvm-svn: 138695 | ||||
* | Minor change: Fix the typo in RegionPass.h and RegionPass.cpp. | Hongbin Zheng | 2011-05-05 | 1 | -1/+1 |
| | | | | llvm-svn: 130920 | ||||
* | Remove useless dynamic_cast<>(). | Tobias Grosser | 2010-12-12 | 1 | -2/+1 |
| | | | | | | | Thanks Peter for pointing me to something that should have never been committed to the llvm code base. llvm-svn: 121648 | ||||
* | Add RegionPass support. | Tobias Grosser | 2010-10-20 | 1 | -0/+276 |
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. llvm-svn: 116905 |