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
None
No extension, high bits are indeterminate.
Uext
Unsigned extension: high bits in register are 0.
Sext
Signed extension: high bits in register replicate sign bit.
Trait Implementations
impl Copy for ArgumentExtension
[src]
impl Clone for ArgumentExtension
[src]
fn clone(&self) -> ArgumentExtension
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ArgumentExtension
[src]
fn eq(&self, __arg_0: &ArgumentExtension) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for ArgumentExtension
[src]
impl Debug for ArgumentExtension
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more