Enum cranelift_codegen::machinst::inst_common::AtomicRmwOp [−][src]
#[repr(u8)] pub enum AtomicRmwOp { Add, Sub, And, Or, Xor, Xchg, }
Atomic memory update operations. As of 21 Aug 2020 these are used for the aarch64 and x64 targets.
Variants
Add
Sub
And
Or
Exclusive Or
Exchange (swap operands)
Implementations
impl AtomicRmwOp
[src]
impl AtomicRmwOp
[src]pub fn from(ir_op: AtomicRmwOp) -> Self
[src]
Converts an ir::AtomicRmwOp
to the corresponding inst_common::AtomicRmwOp
.
Trait Implementations
impl Clone for AtomicRmwOp
[src]
impl Clone for AtomicRmwOp
[src]fn clone(&self) -> AtomicRmwOp
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<AtomicRmwOp> for AtomicRmwOp
[src]
impl PartialEq<AtomicRmwOp> for AtomicRmwOp
[src]