GCC Middle and Back End API Reference
autofdo::function_instance_descriptor Class Reference

Public Member Functions

unsigned file_name () const
unsigned symbol_name () const
 function_instance_descriptor (unsigned file_name, unsigned symbol_name)
 function_instance_descriptor (int file_name, int symbol_name)
void set_symbol_name (unsigned new_name)
bool operator< (const function_instance_descriptor &other) const

Private Attributes

unsigned file_name_
unsigned symbol_name_

Detailed Description

Descriptor for a function_instance which can be used to disambiguate it from
other instances.  This consists of the symbol name and the file name indices
from string_table.   

Constructor & Destructor Documentation

◆ function_instance_descriptor() [1/2]

autofdo::function_instance_descriptor::function_instance_descriptor ( unsigned file_name,
unsigned symbol_name )
inline

References file_name(), file_name_, symbol_name(), and symbol_name_.

Referenced by operator<().

◆ function_instance_descriptor() [2/2]

autofdo::function_instance_descriptor::function_instance_descriptor ( int file_name,
int symbol_name )
inline

Member Function Documentation

◆ file_name()

unsigned autofdo::function_instance_descriptor::file_name ( ) const
inline

◆ operator<()

bool autofdo::function_instance_descriptor::operator< ( const function_instance_descriptor & other) const
inline

◆ set_symbol_name()

void autofdo::function_instance_descriptor::set_symbol_name ( unsigned new_name)
inline

References symbol_name_.

◆ symbol_name()

unsigned autofdo::function_instance_descriptor::symbol_name ( ) const
inline

Field Documentation

◆ file_name_

unsigned autofdo::function_instance_descriptor::file_name_
private

◆ symbol_name_

unsigned autofdo::function_instance_descriptor::symbol_name_
private

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