Struct llvm_ir::instruction::AtomicRMW[][src]

pub struct AtomicRMW {
    pub operation: RMWBinOp,
    pub address: Operand,
    pub value: Operand,
    pub dest: Name,
    pub volatile: bool,
    pub atomicity: Atomicity,
    pub debugloc: Option<DebugLoc>,
}

Atomic read-modify-write. See LLVM 12 docs on the 'atomicrmw' instruction

Fields

operation: RMWBinOpaddress: Operandvalue: Operanddest: Namevolatile: boolatomicity: Atomicitydebugloc: Option<DebugLoc>

Trait Implementations

impl Clone for AtomicRMW[src]

impl Debug for AtomicRMW[src]

impl Display for AtomicRMW[src]

impl From<AtomicRMW> for Instruction[src]

impl HasDebugLoc for AtomicRMW[src]

impl HasResult for AtomicRMW[src]

impl PartialEq<AtomicRMW> for AtomicRMW[src]

impl StructuralPartialEq for AtomicRMW[src]

impl TryFrom<Instruction> for AtomicRMW[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for AtomicRMW[src]

Auto Trait Implementations

impl RefUnwindSafe for AtomicRMW[src]

impl Send for AtomicRMW[src]

impl Sync for AtomicRMW[src]

impl Unpin for AtomicRMW[src]

impl UnwindSafe for AtomicRMW[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.