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

#include "llvm/ProfileData/SampleProf.h"

Public Member Functions

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

Public Attributes

std::map< uint64_t, FrameNodeAllChildFrames
FunctionId FuncName
LineLocation CallSiteLoc

Detailed Description

Definition at line 1398 of file SampleProf.h.

Constructor & Destructor Documentation

◆ FrameNode()

llvm::sampleprof::ProfileConverter::FrameNode::FrameNode ( FunctionId  FName = FunctionId(),
FunctionSamples FSamples = nullptr,
LineLocation  CallLoc = {0, 0} 

Definition at line 1399 of file SampleProf.h.

Member Function Documentation

◆ getOrCreateChildFrame()

ProfileConverter::FrameNode * ProfileConverter::FrameNode::getOrCreateChildFrame ( const LineLocation CallSite,
FunctionId  CalleeName 

Member Data Documentation

◆ AllChildFrames

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

Definition at line 1405 of file SampleProf.h.

Referenced by getOrCreateChildFrame().

◆ CallSiteLoc

LineLocation llvm::sampleprof::ProfileConverter::FrameNode::CallSiteLoc

Definition at line 1411 of file SampleProf.h.

◆ FuncName

FunctionId llvm::sampleprof::ProfileConverter::FrameNode::FuncName

Definition at line 1407 of file SampleProf.h.

◆ FuncSamples

FunctionSamples* llvm::sampleprof::ProfileConverter::FrameNode::FuncSamples

Definition at line 1409 of file SampleProf.h.

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