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>,
}Expand description
Atomic read-modify-write. See LLVM 12 docs on the ‘atomicrmw’ instruction
Fields
operation: RMWBinOpaddress: Operandvalue: Operanddest: Namevolatile: boolatomicity: Atomicitydebugloc: Option<DebugLoc>Trait Implementations
Performs the conversion.
Returns the DebugLoc associated with the given Instruction,
Terminator, GlobalVariable, or Function; or None if it doesn’t
have a DebugLoc. Read more
Auto Trait Implementations
impl RefUnwindSafe for AtomicRMWimpl UnwindSafe for AtomicRMWBlanket Implementations
Mutably borrows from an owned value. Read more