Table of Contents

Method AtomicXchg

Namespace
Ubiquity.NET.Llvm.Instructions
Assembly
Ubiquity.NET.Llvm.dll

AtomicXchg(Value, Value)

Creates an atomic exchange (Read, Modify, Write) instruction

public AtomicRMW AtomicXchg(Value ptr, Value val)

Parameters

ptr Value

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

val Value

Right hand side operand

Returns

AtomicRMW

AtomicRMW