LLVM: llvm::PopulateLoopsDFS< BlockT, LoopT > Class Template Reference (original) (raw)
Populate all loop data in a stable order during a single forward DFS. More...
#include "[llvm/Support/GenericLoopInfoImpl.h](GenericLoopInfoImpl%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| PopulateLoopsDFS (LoopInfoBase< BlockT, LoopT > *li) | |
| void | traverse (BlockT *EntryBlock) |
| Top-level driver for the forward DFS within the loop. |
| Protected Member Functions | |
|---|---|
| void | insertIntoLoop (BlockT *Block) |
| Add a single Block to its ancestor loops in PostOrder. |
template<class BlockT, class LoopT>
class llvm::PopulateLoopsDFS< BlockT, LoopT >
Populate all loop data in a stable order during a single forward DFS.
Definition at line 515 of file GenericLoopInfoImpl.h.
template<class BlockT, class LoopT>
◆ insertIntoLoop()
template<class BlockT, class LoopT>
Add a single Block to its ancestor loops in PostOrder.
If the block is a subloop header, add the subloop to its parent in PostOrder, then reverse the Block and Subloop vectors of the now complete subloop to achieve RPO.
Definition at line 541 of file GenericLoopInfoImpl.h.
References llvm::Block.
Referenced by traverse().
◆ traverse()
template<class BlockT, class LoopT>
| void llvm::PopulateLoopsDFS< BlockT, LoopT >::traverse | ( | BlockT * | EntryBlock | ) |
|---|
The documentation for this class was generated from the following file:
- include/llvm/Support/GenericLoopInfoImpl.h