Struct cretonne_codegen::ir::immediates::Imm64
[−]
[src]
pub struct Imm64(_);
64-bit immediate integer operand.
An Imm64
operand can also be used to represent immediate values of smaller integer types by
sign-extending to i64
.
Methods
impl Imm64
[src]
pub fn new(x: i64) -> Self
[src]
Create a new Imm64
representing the signed number x
.
pub fn wrapping_neg(self) -> Self
[src]
Return self negated.
Trait Implementations
impl Copy for Imm64
[src]
impl Clone for Imm64
[src]
fn clone(&self) -> Imm64
[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 Imm64
[src]
fn eq(&self, __arg_0: &Imm64) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Imm64) -> bool
[src]
This method tests for !=
.
impl Eq for Imm64
[src]
impl Debug for Imm64
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Hash for Imm64
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Into<i64> for Imm64
[src]
impl From<i64> for Imm64
[src]
impl Display for Imm64
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more