Struct cretonne_codegen::ir::AbiParam[][src]

pub struct AbiParam {
    pub value_type: Type,
    pub purpose: ArgumentPurpose,
    pub extension: ArgumentExtension,
    pub location: ArgumentLoc,
}

Function parameter or return value descriptor.

This describes the value type being passed to or from a function along with flags that affect how the argument is passed.

Fields

Type of the argument value.

Special purpose of argument, or Normal.

Method for extending argument to a full register.

ABI-specific location of this argument, or Unassigned for arguments that have not yet been legalized.

Methods

impl AbiParam
[src]

Create a parameter with default flags.

Create a special-purpose parameter that is not (yet) bound to a specific register.

Create a parameter for a special-purpose register.

Convert self to a parameter with the uext flag set.

Convert self to a parameter type with the sext flag set.

Return an object that can display self with correct register names.

Trait Implementations

impl Copy for AbiParam
[src]

impl Clone for AbiParam
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AbiParam
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AbiParam
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for AbiParam
[src]

impl Hash for AbiParam
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for AbiParam
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for AbiParam

impl Sync for AbiParam