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 228 of file GenericCycleImpl.h.
|
inline |
Definition at line 258 of file GenericCycleImpl.h.
References Info.
void llvm::GenericCycleInfoCompute< ContextT >::run | ( | BlockT * | EntryBlock | ) |
Main function of the cycle info computations.
Definition at line 332 of file GenericCycleImpl.h.
References assert(), llvm::Block, llvm::SmallVectorBase< Size_T >::empty(), llvm::errs(), Info, llvm::is_contained(), LLVM_DEBUG, llvm::SmallVectorImpl< T >::pop_back_val(), 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 438 of file GenericCycleImpl.h.
References llvm::depth_first().