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

#include "llvm/ProfileData/MemProf.h"

Public Member Functions

 CallerCalleePairExtractor ()=delete
 
 CallerCalleePairExtractor (const unsigned char *CallStackBase, llvm::function_ref< Frame(LinearFrameId)> FrameIdToFrame, unsigned RadixTreeSize)
 
void operator() (LinearCallStackId LinearCSId)
 

Public Attributes

const unsigned charCallStackBase
 
llvm::function_ref< Frame(LinearFrameId)> FrameIdToFrame
 
DenseMap< uint64_t, SmallVector< CallEdgeTy, 0 > > CallerCalleePairs
 
BitVector Visited
 

Detailed Description

Definition at line 921 of file MemProf.h.

Constructor & Destructor Documentation

◆ CallerCalleePairExtractor() [1/2]

llvm::memprof::CallerCalleePairExtractor::CallerCalleePairExtractor ( )
delete

◆ CallerCalleePairExtractor() [2/2]

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

Definition at line 933 of file MemProf.h.

Member Function Documentation

◆ operator()()

void llvm::memprof::CallerCalleePairExtractor::operator() ( LinearCallStackId  LinearCSId)
inline

Definition at line 940 of file MemProf.h.

References assert(), F, Offset, Ptr, llvm::BitVector::set(), and llvm::BitVector::test().

Member Data Documentation

◆ CallerCalleePairs

DenseMap<uint64_t, SmallVector<CallEdgeTy, 0> > llvm::memprof::CallerCalleePairExtractor::CallerCalleePairs

Definition at line 927 of file MemProf.h.

Referenced by llvm::IndexedMemProfReader::getMemProfCallerCalleePairs().

◆ CallStackBase

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

Definition at line 923 of file MemProf.h.

◆ FrameIdToFrame

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

Definition at line 925 of file MemProf.h.

◆ Visited

BitVector llvm::memprof::CallerCalleePairExtractor::Visited

Definition at line 930 of file MemProf.h.


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