LLVM
8.0.1
|
Wrapper class to LoopBlocksDFS that provides a standard begin()/end() interface for the DFS reverse post-order traversal of blocks in a loop body. More...
#include "llvm/Analysis/LoopIterator.h"
Public Member Functions | |
LoopBlocksRPO (Loop *Container) | |
void | perform (LoopInfo *LI) |
Traverse the loop blocks and store the DFS result. More... | |
LoopBlocksDFS::RPOIterator | begin () const |
Reverse iterate over the cached postorder blocks. More... | |
LoopBlocksDFS::RPOIterator | end () const |
Wrapper class to LoopBlocksDFS that provides a standard begin()/end() interface for the DFS reverse post-order traversal of blocks in a loop body.
Definition at line 173 of file LoopIterator.h.
|
inline |
Definition at line 178 of file LoopIterator.h.
|
inline |
Reverse iterate over the cached postorder blocks.
Definition at line 186 of file LoopIterator.h.
References llvm::LoopBlocksDFS::beginRPO().
|
inline |
Definition at line 187 of file LoopIterator.h.
References llvm::LoopBlocksDFS::endRPO().
|
inline |
Traverse the loop blocks and store the DFS result.
Definition at line 181 of file LoopIterator.h.
References llvm::LoopBlocksDFS::perform().
Referenced by asmClobbersCTR(), CloneLoop(), collectSupportedLoops(), llvm::hoistRegion(), simplifyLoopInst(), unswitchBestCondition(), and unswitchNontrivialInvariants().