LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::memprof::LinearCallStackIdConverter Struct Reference

#include "llvm/ProfileData/MemProf.h"

Public Member Functions

 LinearCallStackIdConverter ()=delete
 
 LinearCallStackIdConverter (const unsigned char *CallStackBase, llvm::function_ref< Frame(LinearFrameId)> FrameIdToFrame)
 
std::vector< Frameoperator() (LinearCallStackId LinearCSId)
 

Public Attributes

const unsigned charCallStackBase
 
llvm::function_ref< Frame(LinearFrameId)> FrameIdToFrame
 

Detailed Description

Definition at line 851 of file MemProf.h.

Constructor & Destructor Documentation

◆ LinearCallStackIdConverter() [1/2]

llvm::memprof::LinearCallStackIdConverter::LinearCallStackIdConverter ( )
delete

◆ LinearCallStackIdConverter() [2/2]

llvm::memprof::LinearCallStackIdConverter::LinearCallStackIdConverter ( const unsigned char CallStackBase,
llvm::function_ref< Frame(LinearFrameId)>  FrameIdToFrame 
)
inline

Definition at line 856 of file MemProf.h.

Member Function Documentation

◆ operator()()

std::vector< Frame > llvm::memprof::LinearCallStackIdConverter::operator() ( LinearCallStackId  LinearCSId)
inline

Definition at line 861 of file MemProf.h.

References assert(), and Ptr.

Member Data Documentation

◆ CallStackBase

const unsigned char* llvm::memprof::LinearCallStackIdConverter::CallStackBase

Definition at line 852 of file MemProf.h.

◆ FrameIdToFrame

llvm::function_ref<Frame(LinearFrameId)> llvm::memprof::LinearCallStackIdConverter::FrameIdToFrame

Definition at line 853 of file MemProf.h.


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