GCC Middle and Back End API Reference
|
#include <function-abi.h>
Public Member Functions | |
function_abi_aggregator () | |
void | note_callee_abi (const function_abi &abi) |
HARD_REG_SET | caller_save_regs (const function_abi &) const |
Private Attributes | |
HARD_REG_SET | m_abi_clobbers [NUM_ABI_IDS] |
This class collects information about the ABIs of functions that are called in a particular region of code. It is mostly intended to be used as a local variable during an IR walk.
|
inline |
HARD_REG_SET function_abi_aggregator::caller_save_regs | ( | const function_abi & | caller_abi | ) | const |
Return the set of registers that the caller of the recorded functions must save in order to honor the requirements of CALLER_ABI.
References CLEAR_HARD_REG_SET, function_abis, hard_reg_set_empty_p(), i, function_abi::id(), m_abi_clobbers, function_abi::mode_clobbers(), predefined_function_abi::mode_clobbers(), and NUM_ABI_IDS.
Referenced by update_equiv_regs_prescan().
|
inline |
References function_abi::full_and_partial_reg_clobbers(), function_abi::id(), and m_abi_clobbers.
Referenced by update_equiv_regs_prescan().
|
private |
Referenced by caller_save_regs(), and note_callee_abi().