pub trait CallingConventionBase: Sync {
type Arch: Architecture;
Show 14 methods
// Required methods
fn caller_saved_registers(
&self
) -> Vec<<Self::Arch as Architecture>::Register>;
fn callee_saved_registers(
&self
) -> Vec<<Self::Arch as Architecture>::Register>;
fn int_arg_registers(&self) -> Vec<<Self::Arch as Architecture>::Register>;
fn float_arg_registers(&self) -> Vec<<Self::Arch as Architecture>::Register>;
fn arg_registers_shared_index(&self) -> bool;
fn reserved_stack_space_for_arg_registers(&self) -> bool;
fn stack_adjusted_on_return(&self) -> bool;
fn is_eligible_for_heuristics(&self) -> bool;
fn return_int_reg(&self) -> Option<<Self::Arch as Architecture>::Register>;
fn return_hi_int_reg(
&self
) -> Option<<Self::Arch as Architecture>::Register>;
fn return_float_reg(&self) -> Option<<Self::Arch as Architecture>::Register>;
fn global_pointer_reg(
&self
) -> Option<<Self::Arch as Architecture>::Register>;
fn implicitly_defined_registers(
&self
) -> Vec<<Self::Arch as Architecture>::Register>;
fn are_argument_registers_used_for_var_args(&self) -> bool;
}