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

#include "llvm/ProfileData/MemProf.h"

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

Public Member Functions

 FrameIdConverter ()=delete
 
 FrameIdConverter (MapTy &Map)
 
 FrameIdConverter (const FrameIdConverter &)=delete
 
FrameIdConverteroperator= (const FrameIdConverter &)=delete
 
Frame operator() (FrameId Id)
 

Public Attributes

std::optional< FrameIdLastUnmappedId
 
MapTy & Map
 

Detailed Description

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

Definition at line 778 of file MemProf.h.

Constructor & Destructor Documentation

◆ FrameIdConverter() [1/3]

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

◆ FrameIdConverter() [2/3]

template<typename MapTy >
llvm::memprof::FrameIdConverter< MapTy >::FrameIdConverter ( MapTy &  Map)
inline

Definition at line 783 of file MemProf.h.

◆ FrameIdConverter() [3/3]

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

Member Function Documentation

◆ operator()()

template<typename MapTy >
Frame llvm::memprof::FrameIdConverter< MapTy >::operator() ( FrameId  Id)
inline

Definition at line 791 of file MemProf.h.

◆ operator=()

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

Member Data Documentation

◆ LastUnmappedId

template<typename MapTy >
std::optional<FrameId> llvm::memprof::FrameIdConverter< MapTy >::LastUnmappedId

Definition at line 779 of file MemProf.h.

Referenced by getMemProfRecordV2().

◆ Map

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

Definition at line 780 of file MemProf.h.


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