Lines Matching refs:ui
10 unsigned int ui; variable
23 (void) __sync_fetch_and_add (&ui, 1); // CHECK: atomicrmw add i32* {{.*}} seq_cst, align 4 in test_op_ignore()
32 (void) __sync_fetch_and_sub (&ui, 1); // CHECK: atomicrmw sub i32* {{.*}} seq_cst, align 4 in test_op_ignore()
41 (void) __sync_fetch_and_or (&ui, 1); // CHECK: atomicrmw or i32* {{.*}} seq_cst, align 4 in test_op_ignore()
50 (void) __sync_fetch_and_xor (&ui, 1); // CHECK: atomicrmw xor i32* {{.*}} seq_cst, align 4 in test_op_ignore()
61 (void) __sync_fetch_and_nand (&ui, 1); // CHECK: atomicrmw nand i32* {{.*}} seq_cst, align 4 in test_op_ignore()
70 (void) __sync_fetch_and_and (&ui, 1); // CHECK: atomicrmw and i32* {{.*}} seq_cst, align 4 in test_op_ignore()
83 ui = __sync_fetch_and_add (&ui, 11); // CHECK: atomicrmw add in test_fetch_and_op()
92 ui = __sync_fetch_and_sub (&ui, 11); // CHECK: atomicrmw sub in test_fetch_and_op()
101 ui = __sync_fetch_and_or (&ui, 11); // CHECK: atomicrmw or in test_fetch_and_op()
110 ui = __sync_fetch_and_xor (&ui, 11); // CHECK: atomicrmw xor in test_fetch_and_op()
119 ui = __sync_fetch_and_nand (&ui, 11); // CHECK: atomicrmw nand in test_fetch_and_op()
128 ui = __sync_fetch_and_and (&ui, 11); // CHECK: atomicrmw and in test_fetch_and_op()
141 ui = __sync_add_and_fetch (&ui, uc); // CHECK: atomicrmw add in test_op_and_fetch()
150 ui = __sync_sub_and_fetch (&ui, uc); // CHECK: atomicrmw sub in test_op_and_fetch()
159 ui = __sync_or_and_fetch (&ui, uc); // CHECK: atomicrmw or in test_op_and_fetch()
168 ui = __sync_xor_and_fetch (&ui, uc); // CHECK: atomicrmw xor in test_op_and_fetch()
192 ui = __sync_nand_and_fetch (&ui, uc); // CHECK: atomicrmw nand in test_op_and_fetch()
218 ui = __sync_and_and_fetch (&ui, uc); // CHECK: atomicrmw and in test_op_and_fetch()
246 ui = __sync_val_compare_and_swap (&ui, uc, sc); in test_compare_and_swap()
259 ui = __sync_bool_compare_and_swap (&sc, uc, sc); in test_compare_and_swap()
263 ui = __sync_bool_compare_and_swap (&uc, uc, sc); in test_compare_and_swap()
267 ui = __sync_bool_compare_and_swap (&ss, uc, sc); in test_compare_and_swap()
271 ui = __sync_bool_compare_and_swap (&us, uc, sc); in test_compare_and_swap()
275 ui = __sync_bool_compare_and_swap (&si, uc, sc); in test_compare_and_swap()
279 ui = __sync_bool_compare_and_swap (&ui, uc, sc); in test_compare_and_swap()
283 ui = __sync_bool_compare_and_swap (&sll, uc, sc); in test_compare_and_swap()
287 ui = __sync_bool_compare_and_swap (&ull, uc, sc); in test_compare_and_swap()
299 ui = __sync_lock_test_and_set (&ui, 1); // CHECK: atomicrmw xchg i32* {{.*}} seq_cst, align 4 in test_lock()
310 __sync_lock_release (&ui); // CHECK: store atomic {{.*}} release, align 4 in test_lock()
316 …ui = __atomic_fetch_min(&ui, 5, __ATOMIC_RELAXED); // CHECK: atomicrmw umin {{.*}} monotonic, alig… in test_atomic()
318 …ui = __atomic_fetch_max(&ui, 5, __ATOMIC_ACQUIRE); // CHECK: atomicrmw umax {{.*}} acquire, align 4 in test_atomic()