class LoopBlocksRPO
Declaration
class LoopBlocksRPO { /* full declaration omitted */ };
Description
Wrapper class to LoopBlocksDFS that provides a standard begin()/end() interface for the DFS reverse post-order traversal of blocks in a loop body.
Declared at: llvm/include/llvm/Analysis/LoopIterator.h:172
Method Overview
- public LoopBlocksRPO(llvm::Loop * Container)
- public LoopBlocksDFS::RPOIterator begin() const
- public LoopBlocksDFS::RPOIterator end() const
- public void perform(llvm::LoopInfo * LI)
Methods
¶LoopBlocksRPO(llvm::Loop* Container)
LoopBlocksRPO(llvm::Loop* Container)
Declared at: llvm/include/llvm/Analysis/LoopIterator.h:177
Parameters
- llvm::Loop* Container
¶LoopBlocksDFS::RPOIterator begin() const
LoopBlocksDFS::RPOIterator begin() const
Description
Reverse iterate over the cached postorder blocks.
Declared at: llvm/include/llvm/Analysis/LoopIterator.h:185
¶LoopBlocksDFS::RPOIterator end() const
LoopBlocksDFS::RPOIterator end() const
Declared at: llvm/include/llvm/Analysis/LoopIterator.h:186
¶void perform(llvm::LoopInfo* LI)
void perform(llvm::LoopInfo* LI)
Description
Traverse the loop blocks and store the DFS result.
Declared at: llvm/include/llvm/Analysis/LoopIterator.h:180
Parameters
- llvm::LoopInfo* LI