Table of Contents

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 Value

Pointer to the value to update (e.g. destination and the left hand operand)

cmp Value

Comparand for the operation

value Value

Right hand side operand

Returns

AtomicCmpXchg

AtomicRMW