LLVM 20.0.0git
Public Member Functions | List of all members
llvm::memprof::CallStackRadixTreeBuilder< FrameIdTy > Class Template Reference

#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< LinearFrameIdgetRadixArray () const
 
llvm::DenseMap< CallStackId, LinearCallStackIdtakeCallStackPos ()
 

Detailed Description

template<typename FrameIdTy>
class llvm::memprof::CallStackRadixTreeBuilder< FrameIdTy >

Definition at line 1122 of file MemProf.h.

Constructor & Destructor Documentation

◆ CallStackRadixTreeBuilder()

template<typename FrameIdTy >
llvm::memprof::CallStackRadixTreeBuilder< FrameIdTy >::CallStackRadixTreeBuilder ( )
default

Member Function Documentation

◆ build()

template<typename FrameIdTy >
void llvm::memprof::CallStackRadixTreeBuilder< FrameIdTy >::build ( llvm::MapVector< CallStackId, llvm::SmallVector< FrameIdTy > > &&  MemProfCallStackData,
const llvm::DenseMap< FrameIdTy, LinearFrameId > *  MemProfFrameIndexes,
llvm::DenseMap< FrameIdTy, FrameStat > &  FrameHistogram 
)

◆ getRadixArray()

template<typename FrameIdTy >
ArrayRef< LinearFrameId > llvm::memprof::CallStackRadixTreeBuilder< FrameIdTy >::getRadixArray ( ) const
inline

Definition at line 1168 of file MemProf.h.

Referenced by writeMemoryProfileRadixTree(), and writeMemProfCallStackArray().

◆ takeCallStackPos()

template<typename FrameIdTy >
llvm::DenseMap< CallStackId, LinearCallStackId > llvm::memprof::CallStackRadixTreeBuilder< FrameIdTy >::takeCallStackPos ( )
inline

Definition at line 1170 of file MemProf.h.

Referenced by writeMemoryProfileRadixTree(), and writeMemProfCallStackArray().


The documentation for this class was generated from the following files: