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"

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 841 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 847 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 844 of file MemProf.h.

Referenced by llvm::memprof::CallStackIdConverter< MapTy >::operator()().

◆ LastUnmappedId

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

◆ Map

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

Definition at line 843 of file MemProf.h.

Referenced by llvm::memprof::CallStackIdConverter< MapTy >::operator()().


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