LLVM  16.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::sampleprof::CSProfileConverter::FrameNode Struct Reference

#include "llvm/ProfileData/SampleProf.h"

Collaboration diagram for llvm::sampleprof::CSProfileConverter::FrameNode:
Collaboration graph
[legend]

Public Member Functions

 FrameNode (StringRef FName=StringRef(), FunctionSamples *FSamples=nullptr, LineLocation CallLoc={0, 0})
 
FrameNodegetOrCreateChildFrame (const LineLocation &CallSite, StringRef CalleeName)
 

Public Attributes

std::map< uint64_t, FrameNodeAllChildFrames
 
StringRef FuncName
 
FunctionSamplesFuncSamples
 
LineLocation CallSiteLoc
 

Detailed Description

Definition at line 1248 of file SampleProf.h.

Constructor & Destructor Documentation

◆ FrameNode()

llvm::sampleprof::CSProfileConverter::FrameNode::FrameNode ( StringRef  FName = StringRef(),
FunctionSamples FSamples = nullptr,
LineLocation  CallLoc = {0, 0} 
)
inline

Definition at line 1249 of file SampleProf.h.

Referenced by getOrCreateChildFrame().

Member Function Documentation

◆ getOrCreateChildFrame()

CSProfileConverter::FrameNode * CSProfileConverter::FrameNode::getOrCreateChildFrame ( const LineLocation CallSite,
StringRef  CalleeName 
)

Member Data Documentation

◆ AllChildFrames

std::map<uint64_t, FrameNode> llvm::sampleprof::CSProfileConverter::FrameNode::AllChildFrames

Definition at line 1252 of file SampleProf.h.

Referenced by getOrCreateChildFrame().

◆ CallSiteLoc

LineLocation llvm::sampleprof::CSProfileConverter::FrameNode::CallSiteLoc

Definition at line 1261 of file SampleProf.h.

◆ FuncName

StringRef llvm::sampleprof::CSProfileConverter::FrameNode::FuncName

Definition at line 1257 of file SampleProf.h.

◆ FuncSamples

FunctionSamples* llvm::sampleprof::CSProfileConverter::FrameNode::FuncSamples

Definition at line 1259 of file SampleProf.h.


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