Enum cranelift_codegen::ir::ArgumentExtension
source · pub enum ArgumentExtension {
None,
Uext,
Sext,
}Expand description
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§
source§impl Clone for ArgumentExtension
impl Clone for ArgumentExtension
source§fn clone(&self) -> ArgumentExtension
fn clone(&self) -> ArgumentExtension
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more