Cycle information for a function.
Synopsis
Declared in <llvm/ADT/GenericCycleInfo.h>
template<typename ContextT>
class GenericCycleInfo;
Types
Name |
Description |
Iteration over child cycles, yielding handles. |
Type Aliases
Name |
Description |
Basic‐block type from the SSA context. |
|
Function type from the SSA context. |
|
Iterator over top‐level (depth‐1) cycles. |
Member Functions
Name |
Description |
|
Constructors |
Move‐assign cycle info, leaving the source empty. |
|
Add |
|
Return a range over the immediate child cycles of |
|
Reset the object to its initial state. |
|
Compute the cycle info for a function. |
|
|
|
All cycles in forest preorder. |
|
Dump the cycle forest to the debug stream. |
|
Return the blocks of |
|
Find the innermost cycle containing |
|
Return the depth of the innermost cycle containing |
|
If |
|
Return the preheader block for cycle |
|
Return the nesting depth of |
|
Return the entry blocks of |
|
Return all of the successor blocks of |
|
Return all blocks of |
|
Return the function this cycle info was computed for. |
|
Return the header (first entry) block of cycle |
|
Return how many blocks (including nested cycles') belong to |
|
Return the parent of |
|
Return the SSA context used to interpret blocks and values. |
|
|
|
Return the outermost cycle containing |
|
Return true if |
|
Return true if |
|
|
|
Return a printable view of the entry blocks of cycle |
|
Record |
|
Update cycle membership after splitting edge |
|
Return an iterator to the first top‐level cycle. |
|
Return a range over all top‐level (depth‐1) cycles. |
|
Return an iterator past the last top‐level cycle. |
|
Verify that the entire cycle tree well‐formed. |
|
Verify that |
|
|
Friends
Name |
Description |
Helper class for computing cycle information. |
Derived Classes
Name |
Description |
Cycle information for LLVM IR, specialized from GenericCycleInfo. |
|
Cycle information specialized for Machine IR. |
Created with MrDocs