|
LLVM 23.0.0git
|
#include "llvm/IR/CycleInfo.h"
Additional Inherited Members | |
| Public Types inherited from llvm::GenericCycleInfo< SSAContext > | |
| using | BlockT |
| using | CycleT |
| using | FunctionT |
| using | const_toplevel_iterator_base |
| Iteration over top-level cycles. | |
| Public Member Functions inherited from llvm::GenericCycleInfo< SSAContext > | |
| GenericCycleInfo ()=default | |
| GenericCycleInfo & | operator= (GenericCycleInfo &&)=default |
| void | clear () |
| Reset the object to its initial state. | |
| void | compute (FunctionT &F) |
| Compute the cycle info for a function. | |
| void | splitCriticalEdge (BlockT *Pred, BlockT *Succ, BlockT *New) |
| const FunctionT * | getFunction () const |
| const SSAContext & | getSSAContext () const |
| CycleT * | getCycle (const BlockT *Block) const |
| Find the innermost cycle containing a given block. | |
| CycleT * | getSmallestCommonCycle (CycleT *A, CycleT *B) const |
| Find the innermost cycle containing both given cycles. | |
| unsigned | getCycleDepth (const BlockT *Block) const |
| get the depth for the cycle which containing a given block. | |
| CycleT * | getTopLevelParentCycle (BlockT *Block) |
| void | addBlockToCycle (BlockT *Block, CycleT *Cycle) |
Assumes that Cycle is the innermost cycle containing Block. | |
| void | verifyCycleNest (bool VerifyFull=false) const |
| Methods for debug and self-test. | |
| void | verify () const |
| Verify that the entire cycle tree well-formed. | |
| void | print (raw_ostream &Out) const |
| Print the cycle info. | |
| void | dump () const |
| const_toplevel_iterator | toplevel_begin () const |
| const_toplevel_iterator | toplevel_end () const |
| iterator_range< const_toplevel_iterator > | toplevel_cycles () const |
Definition at line 24 of file CycleInfo.h.