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: RMWBinOp
address: Operand
value: Operand
dest: Name
volatile: bool
atomicity: Atomicity
debugloc: 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 AtomicRMW
impl UnwindSafe for AtomicRMW
Blanket Implementations
Mutably borrows from an owned value. Read more