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