LLVM 19.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 464 of file SampleProf.h.

Constructor & Destructor Documentation

◆ SampleContextFrame() [1/2]

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

Definition at line 468 of file SampleProf.h.

◆ SampleContextFrame() [2/2]

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

Definition at line 470 of file SampleProf.h.

Member Function Documentation

◆ getHashCode()

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

◆ operator!=()

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

Definition at line 477 of file SampleProf.h.

◆ operator==()

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

Definition at line 473 of file SampleProf.h.

References Func, and Location.

◆ toString()

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

Member Data Documentation

◆ Func

FunctionId llvm::sampleprof::SampleContextFrame::Func

◆ Location

LineLocation llvm::sampleprof::SampleContextFrame::Location

Definition at line 466 of file SampleProf.h.

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

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