Method AtomicCmpXchg
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
AtomicCmpXchg(Value, Value, Value)
Creates an atomic Compare exchange instruction
public AtomicCmpXchg AtomicCmpXchg(Value ptr, Value cmp, Value value)
Parameters
ptr
ValuePointer to the value to update (e.g. destination and the left hand operand)
cmp
ValueComparand for the operation
value
ValueRight hand side operand