LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::memprof::CallStackIdConverter< MapTy > Struct Template Reference

#include "llvm/ProfileData/MemProf.h"

Inheritance diagram for llvm::memprof::CallStackIdConverter< MapTy >:
Inheritance graph
[legend]

Public Member Functions

 CallStackIdConverter ()=delete
 
 CallStackIdConverter (MapTy &Map, llvm::function_ref< Frame(FrameId)> FrameIdToFrame)
 
 CallStackIdConverter (const CallStackIdConverter &)=delete
 
CallStackIdConverteroperator= (const CallStackIdConverter &)=delete
 
std::vector< Frameoperator() (CallStackId CSId)
 

Public Attributes

std::optional< CallStackIdLastUnmappedId
 
MapTy & Map
 
llvm::function_ref< Frame(FrameId)> FrameIdToFrame
 

Detailed Description

template<typename MapTy>
struct llvm::memprof::CallStackIdConverter< MapTy >

Definition at line 802 of file MemProf.h.

Constructor & Destructor Documentation

◆ CallStackIdConverter() [1/3]

template<typename MapTy >
llvm::memprof::CallStackIdConverter< MapTy >::CallStackIdConverter ( )
delete

◆ CallStackIdConverter() [2/3]

template<typename MapTy >
llvm::memprof::CallStackIdConverter< MapTy >::CallStackIdConverter ( MapTy &  Map,
llvm::function_ref< Frame(FrameId)>  FrameIdToFrame 
)
inline

Definition at line 808 of file MemProf.h.

◆ CallStackIdConverter() [3/3]

template<typename MapTy >
llvm::memprof::CallStackIdConverter< MapTy >::CallStackIdConverter ( const CallStackIdConverter< MapTy > &  )
delete

Member Function Documentation

◆ operator()()

template<typename MapTy >
std::vector< Frame > llvm::memprof::CallStackIdConverter< MapTy >::operator() ( CallStackId  CSId)
inline

◆ operator=()

template<typename MapTy >
CallStackIdConverter & llvm::memprof::CallStackIdConverter< MapTy >::operator= ( const CallStackIdConverter< MapTy > &  )
delete

Member Data Documentation

◆ FrameIdToFrame

template<typename MapTy >
llvm::function_ref<Frame(FrameId)> llvm::memprof::CallStackIdConverter< MapTy >::FrameIdToFrame

Definition at line 805 of file MemProf.h.

◆ LastUnmappedId

template<typename MapTy >
std::optional<CallStackId> llvm::memprof::CallStackIdConverter< MapTy >::LastUnmappedId

Definition at line 803 of file MemProf.h.

Referenced by getMemProfRecordV2().

◆ Map

template<typename MapTy >
MapTy& llvm::memprof::CallStackIdConverter< MapTy >::Map

Definition at line 804 of file MemProf.h.


The documentation for this struct was generated from the following file: