LLVM 20.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Member Functions | |
CallStackRadixTreeBuilder ()=default | |
void | build (llvm::MapVector< CallStackId, llvm::SmallVector< FrameIdTy > > &&MemProfCallStackData, const llvm::DenseMap< FrameIdTy, LinearFrameId > *MemProfFrameIndexes, llvm::DenseMap< FrameIdTy, FrameStat > &FrameHistogram) |
ArrayRef< LinearFrameId > | getRadixArray () const |
llvm::DenseMap< CallStackId, LinearCallStackId > | takeCallStackPos () |
|
default |
void llvm::memprof::CallStackRadixTreeBuilder< FrameIdTy >::build | ( | llvm::MapVector< CallStackId, llvm::SmallVector< FrameIdTy > > && | MemProfCallStackData, |
const llvm::DenseMap< FrameIdTy, LinearFrameId > * | MemProfFrameIndexes, | ||
llvm::DenseMap< FrameIdTy, FrameStat > & | FrameHistogram | ||
) |
Definition at line 380 of file MemProf.cpp.
References assert(), llvm::SmallVectorImpl< T >::clear(), llvm::SmallVectorBase< Size_T >::empty(), I, llvm::reverse(), llvm::SmallVectorBase< Size_T >::size(), llvm::sort(), and std::swap().
Referenced by writeMemoryProfileRadixTree(), and writeMemProfCallStackArray().
|
inline |
Definition at line 1168 of file MemProf.h.
Referenced by writeMemoryProfileRadixTree(), and writeMemProfCallStackArray().
|
inline |
Definition at line 1170 of file MemProf.h.
Referenced by writeMemoryProfileRadixTree(), and writeMemProfCallStackArray().