LLVM 23.0.0git
llvm::CycleInfo Class Reference

#include "llvm/IR/CycleInfo.h"

Inheritance diagram for llvm::CycleInfo:
[legend]

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
GenericCycleInfooperator= (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 FunctionTgetFunction () const
const SSAContextgetSSAContext () const
CycleTgetCycle (const BlockT *Block) const
 Find the innermost cycle containing a given block.
CycleTgetSmallestCommonCycle (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.
CycleTgetTopLevelParentCycle (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

Detailed Description

Definition at line 24 of file CycleInfo.h.


The documentation for this class was generated from the following file: