Compute an efficient traversal order of the basic blocks in MF.
Synopsis
Declared in <llvm/CodeGen/LoopTraversal.h>
TraversalOrder
traverse(MachineFunction& MF);
Description
Identifies basic blocks that are part of loops and should be visited twice, and returns a traversal order that revisits only those blocks.
Return Value
Ordered list of blocks with primary‐pass and done flags.
Parameters
Name |
Description |
MF |
The machine function whose blocks are traversed. |
Created with MrDocs