LLVM: llvm::LoopBlocksTraversal Class Reference (original) (raw)
Traverse the blocks in a loop using a depth-first search. More...
#include "[llvm/Analysis/LoopIterator.h](LoopIterator%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
LoopBlocksTraversal (LoopBlocksDFS &Storage, const LoopInfo *LInfo) | |
POTIterator | begin () |
Postorder traversal over the graph. | |
POTIterator | end () |
bool | visitPreorder (BasicBlock *BB) |
Called by po_iterator upon reaching a block via a CFG edge. | |
void | finishPostorder (BasicBlock *BB) |
Called by po_iterator each time it advances, indicating a block's postorder. | |
Traverse the blocks in a loop using a depth-first search.
Definition at line 200 of file LoopIterator.h.
◆ POTIterator
◆ begin()
POTIterator llvm::LoopBlocksTraversal::begin ( ) | inline |
---|
◆ end()
◆ finishPostorder()
void llvm::LoopBlocksTraversal::finishPostorder ( BasicBlock * BB) | inline |
---|
◆ visitPreorder()
bool llvm::LoopBlocksTraversal::visitPreorder ( BasicBlock * BB) | inline |
---|
The documentation for this class was generated from the following file:
- include/llvm/Analysis/LoopIterator.h