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

#include "llvm/ProfileData/SampleProf.h"

Public Member Functions

 SampleContextFrame ()
 
 SampleContextFrame (FunctionId Func, LineLocation Location)
 
bool operator== (const SampleContextFrame &That) const
 
bool operator!= (const SampleContextFrame &That) const
 
std::string toString (bool OutputLineLocation) const
 
uint64_t getHashCode () const
 

Public Attributes

FunctionId Func
 
LineLocation Location
 

Detailed Description

Definition at line 465 of file SampleProf.h.

Constructor & Destructor Documentation

◆ SampleContextFrame() [1/2]

llvm::sampleprof::SampleContextFrame::SampleContextFrame ( )
inline

Definition at line 469 of file SampleProf.h.

◆ SampleContextFrame() [2/2]

llvm::sampleprof::SampleContextFrame::SampleContextFrame ( FunctionId  Func,
LineLocation  Location 
)
inline

Definition at line 471 of file SampleProf.h.

Member Function Documentation

◆ getHashCode()

uint64_t llvm::sampleprof::SampleContextFrame::getHashCode ( ) const
inline

◆ operator!=()

bool llvm::sampleprof::SampleContextFrame::operator!= ( const SampleContextFrame That) const
inline

Definition at line 478 of file SampleProf.h.

◆ operator==()

bool llvm::sampleprof::SampleContextFrame::operator== ( const SampleContextFrame That) const
inline

Definition at line 474 of file SampleProf.h.

References Func, and Location.

◆ toString()

std::string llvm::sampleprof::SampleContextFrame::toString ( bool  OutputLineLocation) const
inline

Member Data Documentation

◆ Func

FunctionId llvm::sampleprof::SampleContextFrame::Func

◆ Location

LineLocation llvm::sampleprof::SampleContextFrame::Location

Definition at line 467 of file SampleProf.h.

Referenced by getHashCode(), operator==(), and toString().


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