LLVM 20.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. | |
Static Public Member Functions | |
static void | updateDepth (CycleT *SubTree) |
Recompute depth values of SubTree and all descendants. | |
Helper class for computing cycle information.
Definition at line 123 of file GenericCycleImpl.h.
|
inline |
Definition at line 153 of file GenericCycleImpl.h.
References Info.
void llvm::GenericCycleInfoCompute< ContextT >::run | ( | BlockT * | EntryBlock | ) |
Main function of the cycle info computations.
Definition at line 224 of file GenericCycleImpl.h.
References llvm::Block, llvm::SmallVectorBase< Size_T >::empty(), llvm::errs(), Info, LLVM_DEBUG, llvm::predecessors(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::reverse().
Referenced by llvm::GenericCycleInfo< ContextT >::compute().
|
static |
Recompute depth values of SubTree
and all descendants.
Definition at line 330 of file GenericCycleImpl.h.
References llvm::depth_first().