Enum cretonne_codegen::ir::ArgumentExtension [] [src]

pub enum ArgumentExtension {
    None,
    Uext,
    Sext,
}

Function argument extension options.

On some architectures, small integer function arguments are extended to the width of a general-purpose register.

Variants

No extension, high bits are indeterminate.

Unsigned extension: high bits in register are 0.

Signed extension: high bits in register replicate sign bit.

Trait Implementations

impl Copy for ArgumentExtension
[src]

impl Clone for ArgumentExtension
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ArgumentExtension
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for ArgumentExtension
[src]

impl Debug for ArgumentExtension
[src]

[src]

Formats the value using the given formatter. Read more

impl Hash for ArgumentExtension
[src]

[src]

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

1.3.0
[src]

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

Auto Trait Implementations