Lines Matching full:cmpxchg
152 <p><code>cmpxchg</code> and <code>atomicrmw</code> are essentially like an
154 <code>cmpxchg</code>), but no other memory operation can happen on any thread
155 between the load and store. Note that LLVM's cmpxchg does not provide quite
311 and stores. No fences are required. <code>cmpxchg</code> and
519 lock-free <code>cmpxchg</code>; such an operation can be used to implement
530 to be able to optimize loops involving cmpxchg etc.).</p>
536 cmpxchg uses the <code>LOCK CMPXCHG</code> instruction.
540 a loop with <code>LOCK CMPXCHG</code>. Depending on the users of the
548 <code>cmpxchg</code> and <code>atomicrmw</code> can be represented using
552 weak <code>cmpxchg</code> which would not require a loop.</p>