| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | z_Windows_NT-586_util.cpp | 22 old_value = TCR_1(*p); in __kmp_test_then_or8() 30 return old_value; in __kmp_test_then_or8() 36 old_value = TCR_1(*p); in __kmp_test_then_and8() 44 return old_value; in __kmp_test_then_and8() 50 old_value = TCR_4(*p); in __kmp_test_then_or32() 59 return old_value; in __kmp_test_then_or32() 74 return old_value; in __kmp_test_then_and32() 88 return old_value; in __kmp_test_then_add8() 102 return old_value; in __kmp_test_then_add64() 119 return old_value; in __kmp_test_then_or64() [all …]
|
| H A D | kmp_atomic.cpp | 819 old_value.vvv = (kmp_int##BITS *)&old_value.cmp; \ 846 old_value.vvv = (kmp_int##BITS *)&old_value.cmp; \ 3260 return old_value; 3426 kmp_int8 old_value, new_value; in __kmpc_atomic_1() local 3428 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1() 3436 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1() 3473 kmp_int16 old_value, new_value; in __kmpc_atomic_2() local 3475 old_value = *(kmp_int16 *)lhs; in __kmpc_atomic_2() 3522 kmp_int32 old_value, new_value; in __kmpc_atomic_4() local 3524 old_value = *(kmp_int32 *)lhs; in __kmpc_atomic_4() [all …]
|
| H A D | z_Linux_util.cpp | 276 old_value = TCR_1(*p); in __kmp_test_then_or8() 284 return old_value; in __kmp_test_then_or8() 290 old_value = TCR_1(*p); in __kmp_test_then_and8() 298 return old_value; in __kmp_test_then_and8() 304 old_value = TCR_4(*p); in __kmp_test_then_or32() 312 return old_value; in __kmp_test_then_or32() 326 return old_value; in __kmp_test_then_and32() 341 return old_value; in __kmp_test_then_add8() 355 return old_value; in __kmp_test_then_add64() 369 return old_value; in __kmp_test_then_or64() [all …]
|
| H A D | kmp_alloc.cpp | 270 volatile void *old_value = TCR_SYNC_PTR(th->th.th_local.bget_list); in __kmp_bget_dequeue() local 272 CCAST(void *, old_value), nullptr)) { in __kmp_bget_dequeue() 274 old_value = TCR_SYNC_PTR(th->th.th_local.bget_list); in __kmp_bget_dequeue() 276 p = CCAST(void *, old_value); in __kmp_bget_dequeue() 332 volatile void *old_value = TCR_PTR(th->th.th_local.bget_list); in __kmp_bget_enqueue() local 335 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue() 338 CCAST(void *, old_value), buf)) { in __kmp_bget_enqueue() 340 old_value = TCR_PTR(th->th.th_local.bget_list); in __kmp_bget_enqueue() 343 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue()
|
| H A D | z_Windows_NT_util.cpp | 317 int old_value = KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init); in __kmp_suspend_initialize_thread() local 320 if (old_value == new_value) in __kmp_suspend_initialize_thread() 323 if (old_value == -1 || in __kmp_suspend_initialize_thread() 324 !__kmp_atomic_compare_store(&th->th.th_suspend_init, old_value, -1)) { in __kmp_suspend_initialize_thread()
|
| /llvm-project-15.0.7/compiler-rt/lib/BlocksRuntime/ |
| H A D | runtime.c | 109 if (OSAtomicCompareAndSwapLong(old_value, old_value+1, (volatile long int *)where)) { 110 return old_value+1; 118 int old_value = *(volatile int *)where; in latching_incr_int() local 122 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) { in latching_incr_int() 123 return old_value+1; in latching_incr_int() 135 if ((old_value & BLOCK_REFCOUNT_MASK) == 0) { 138 if (OSAtomicCompareAndSwapLong(old_value, old_value-1, (volatile long int *)where)) { 139 return old_value-1; 147 int old_value = *(volatile int *)where; in latching_decr_int() local 154 if (OSAtomicCompareAndSwapInt(old_value, old_value-1, (volatile int *)where)) { in latching_decr_int() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | inline-asm-label.ll | 12 define dso_local signext i32 @NoBarrier_CompareAndSwap(i32* %ptr, i32 signext %old_value, i32 signe… 33 … %old_value.addr = alloca i3… 37 store i32 %old_value, i32* %old_value.addr, align 4 40 %1 = load i32, i32* %old_value.addr, align 4 48 define dso_local signext i32 @NoBarrier_CompareAndSwapExtMne(i32* %ptr, i32 signext %old_value, i32… 69 … %old_value.addr = alloca i3… 73 store i32 %old_value, i32* %old_value.addr, align 4 76 %1 = load i32, i32* %old_value.addr, align 4
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ |
| H A D | ranges_replace_copy.pass.cpp | 98 int old_value; member 113 …std::ranges::replace_copy(std::move(first), std::move(last), std::move(result), d.old_value, d.new… in test() 126 std::ranges::replace_copy(range, result, d.old_value, d.new_value); in test() 136 …test<InIter, Sent, OutIter, 4>({.input = {1, 2, 3, 4}, .old_value = 2, .new_value = 5, .expected =… in tests() 138 test<InIter, Sent, OutIter, 0>({.input = {}, .old_value = 2, .new_value = 5, .expected = {}}); in tests() 140 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .old_value = 1, .new_value = 2, .expected =… in tests() 142 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .old_value = 2, .new_value = 3, .expected =… in tests() 144 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .old_value = 1, .new_value = 1, .expected =… in tests() 149 …{.input = {1, 2, 3, 4, 5, 6, 7}, .old_value = 2, .new_value = 3, .expected = {1, 3, 3, 4, 5, 6, 7}… in tests() 151 test<InIter, Sent, OutIter, 1>({.input = {1}, .old_value = 1, .new_value = 5, .expected = {5}}); in tests() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Atomic.cpp | 46 sys::cas_flag old_value) { in CompareAndSwap() argument 49 if (result == old_value) in CompareAndSwap() 53 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap() 55 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap()
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/ |
| H A D | replace_copy.pass.cpp | 30 const T& old_value, const T& new_value, T trash) in operator ()() 36 auto i = std::replace_copy(first, last, expected_first, old_value, new_value); in operator ()() 37 auto k = std::replace_copy(exec, first, last, out_first, old_value, new_value); in operator ()() 54 test(T trash, const T& old_value, const T& new_value, Predicate pred, Convert convert) in test() argument 64 expected.end(), out.size(), pred, old_value, new_value, trash); in test() 66 expected.end(), out.size(), pred, old_value, new_value, trash); in test()
|
| H A D | replace.pass.cpp | 64 Iterator2 actual_e, Predicate pred, const T& value, const T& old_value) in operator ()() 71 replace(expected_b, expected_e, old_value, value); in operator ()() 72 replace(exec, actual_b, actual_e, old_value, value); in operator ()()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Predicate.h | 95 const T old_value = m_value; in SetValue() local 98 Broadcast(old_value, broadcast_type); in SetValue() 210 void Broadcast(T old_value, PredicateBroadcastType broadcast_type) { in Broadcast() argument 213 ((broadcast_type == eBroadcastOnChange) && old_value != m_value); in Broadcast() 217 __FUNCTION__, old_value, broadcast_type, m_value, broadcast); in Broadcast()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | ThreadPlanTracer.h | 41 bool old_value = m_enabled; in EnableTracing() local 43 if (old_value == false && value == true) in EnableTracing() 45 else if (old_value == true && value == false) in EnableTracing() 48 return old_value; in EnableTracing()
|
| H A D | ThreadPlan.h | 397 bool old_value = m_is_controlling_plan; in SetIsControllingPlan() local 399 return old_value; in SetIsControllingPlan()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | ValueObjectCast.cpp | 65 Value old_value(m_value); in UpdateValue() local 75 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue() 76 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
| H A D | ValueObjectVariable.cpp | 161 Value old_value(m_value); in UpdateValue() local 226 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue() 227 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue() 236 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue() 237 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
| H A D | ValueObjectMemory.cpp | 166 Value old_value(m_value); in UpdateValue() local 204 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue() 205 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
| H A D | ValueObjectDynamicValue.cpp | 202 Value old_value(m_value); in UpdateValue() local 253 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue() 254 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_interceptors_mac.cpp | 110 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() 111 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() 113 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() 117 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \ 119 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \ 121 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_mac.cpp | 110 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() 111 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() 113 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() 117 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \ 119 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \ 121 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
|
| /llvm-project-15.0.7/lldb/include/lldb/Breakpoint/ |
| H A D | BreakpointName.h | 121 bool old_value = m_permissions[permission]; in SetPermission() local 124 return old_value; in SetPermission()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Atomic.h | 38 cas_flag old_value);
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_linux.cpp | 308 uptr old_value = *tls_ptr; in AndroidTestTlsSlot() local 317 *tls_ptr = old_value; in AndroidTestTlsSlot()
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | CommandInterpreter.h | 493 const bool old_value = m_batch_command_mode; in SetBatchCommandMode() local 495 return old_value; in SetBatchCommandMode()
|
| /llvm-project-15.0.7/mlir/test/Dialect/MemRef/ |
| H A D | ops.mlir | 331 ^bb0(%old_value : f32): 333 %out = arith.addf %c1, %old_value : f32
|