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

#include "llvm/ProfileData/SampleProf.h"

Collaboration diagram for llvm::sampleprof::SampleContextFrame:
Collaboration graph
[legend]

Public Member Functions

 SampleContextFrame ()
 
 SampleContextFrame (StringRef FuncName, LineLocation Location)
 
bool operator== (const SampleContextFrame &That) const
 
bool operator!= (const SampleContextFrame &That) const
 
std::string toString (bool OutputLineLocation) const
 

Public Attributes

StringRef FuncName
 
LineLocation Location
 

Detailed Description

Definition at line 448 of file SampleProf.h.

Constructor & Destructor Documentation

◆ SampleContextFrame() [1/2]

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

Definition at line 452 of file SampleProf.h.

◆ SampleContextFrame() [2/2]

llvm::sampleprof::SampleContextFrame::SampleContextFrame ( StringRef  FuncName,
LineLocation  Location 
)
inline

Definition at line 454 of file SampleProf.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 461 of file SampleProf.h.

◆ operator==()

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

Definition at line 457 of file SampleProf.h.

References FuncName, and Location.

◆ toString()

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

Member Data Documentation

◆ FuncName

StringRef llvm::sampleprof::SampleContextFrame::FuncName

Definition at line 449 of file SampleProf.h.

Referenced by llvm::sampleprof::hash_value(), operator==(), and toString().

◆ Location

LineLocation llvm::sampleprof::SampleContextFrame::Location

Definition at line 450 of file SampleProf.h.

Referenced by llvm::sampleprof::hash_value(), operator==(), and toString().


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