LLVM
15.0.0git
|
Helper class for computing cycle information. More...
#include "llvm/ADT/GenericCycleImpl.h"
Public Member Functions | |
GenericCycleInfoCompute (CycleInfoT &Info) | |
void | run (BlockT *EntryBlock) |
Main function of the cycle info computations. More... | |
Static Public Member Functions | |
static void | updateDepth (CycleT *SubTree) |
Recompute depth values of SubTree and all descendants. More... | |
Helper class for computing cycle information.
Definition at line 108 of file GenericCycleImpl.h.
|
inline |
Definition at line 136 of file GenericCycleImpl.h.
References Info.
void llvm::GenericCycleInfoCompute< ContextT >::run | ( | BlockT * | EntryBlock | ) |
Main function of the cycle info computations.
Definition at line 176 of file GenericCycleImpl.h.
References assert(), llvm::errs(), Info, llvm::is_contained(), LLVM_DEBUG, move, llvm::SmallVectorImpl< T >::pop_back_val(), llvm::predecessors(), and llvm::reverse().
Referenced by llvm::GenericCycleInfo< SSAContext >::compute().
|
static |
Recompute depth values of SubTree
and all descendants.
Definition at line 278 of file GenericCycleImpl.h.
References llvm::depth_first().