GCC Middle and Back End API Reference
function_abi Class Reference

#include <function-abi.h>

Collaboration diagram for function_abi:

Public Member Functions

 function_abi (const predefined_function_abi &base_abi)
 
 function_abi (const predefined_function_abi &base_abi, const_hard_reg_set mask)
 
const predefined_function_abibase_abi () const
 
unsigned int id () const
 
HARD_REG_SET full_reg_clobbers () const
 
HARD_REG_SET full_and_partial_reg_clobbers () const
 
HARD_REG_SET mode_clobbers (machine_mode mode) const
 
bool clobbers_full_reg_p (unsigned int regno) const
 
bool clobbers_at_least_part_of_reg_p (unsigned int regno) const
 
bool clobbers_reg_p (machine_mode mode, unsigned int regno) const
 
bool operator== (const function_abi &other) const
 
bool operator!= (const function_abi &other) const
 

Protected Attributes

const predefined_function_abim_base_abi
 
HARD_REG_SET m_mask
 

Detailed Description

Describes either a predefined ABI or the ABI of a particular function.
In the latter case, the ABI might make use of extra function-specific
information, such as for -fipa-ra.   

Constructor & Destructor Documentation

◆ function_abi() [1/2]

function_abi::function_abi ( const predefined_function_abi & base_abi)
inline

◆ function_abi() [2/2]

function_abi::function_abi ( const predefined_function_abi & base_abi,
const_hard_reg_set mask )
inline

Member Function Documentation

◆ base_abi()

const predefined_function_abi & function_abi::base_abi ( ) const
inline

◆ clobbers_at_least_part_of_reg_p()

bool function_abi::clobbers_at_least_part_of_reg_p ( unsigned int regno) const
inline

◆ clobbers_full_reg_p()

bool function_abi::clobbers_full_reg_p ( unsigned int regno) const
inline

◆ clobbers_reg_p()

bool function_abi::clobbers_reg_p ( machine_mode mode,
unsigned int regno ) const
inline

◆ full_and_partial_reg_clobbers()

◆ full_reg_clobbers()

◆ id()

unsigned int function_abi::id ( ) const
inline

◆ mode_clobbers()

HARD_REG_SET function_abi::mode_clobbers ( machine_mode mode) const
inline

◆ operator!=()

bool function_abi::operator!= ( const function_abi & other) const
inline

References operator==().

◆ operator==()

bool function_abi::operator== ( const function_abi & other) const
inline

References m_base_abi, and m_mask.

Referenced by operator!=().

Field Documentation

◆ m_base_abi

◆ m_mask


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