Lines Matching refs:sc

5 signed char sc;  variable
18 (void) __sync_fetch_and_add (&sc, 1); // CHECK: atomicrmw add i8* {{.*}} seq_cst, align 1 in test_op_ignore()
27 (void) __sync_fetch_and_sub (&sc, 1); // CHECK: atomicrmw sub i8* {{.*}} seq_cst, align 1 in test_op_ignore()
36 (void) __sync_fetch_and_or (&sc, 1); // CHECK: atomicrmw or i8* {{.*}} seq_cst, align 1 in test_op_ignore()
45 (void) __sync_fetch_and_xor (&sc, 1); // CHECK: atomicrmw xor i8* {{.*}} seq_cst, align 1 in test_op_ignore()
56 (void) __sync_fetch_and_nand (&sc, 1); // CHECK: atomicrmw nand i8* {{.*}} seq_cst, align 1 in test_op_ignore()
65 (void) __sync_fetch_and_and (&sc, 1); // CHECK: atomicrmw and i8* {{.*}} seq_cst, align 1 in test_op_ignore()
78 sc = __sync_fetch_and_add (&sc, 11); // CHECK: atomicrmw add in test_fetch_and_op()
87 sc = __sync_fetch_and_sub (&sc, 11); // CHECK: atomicrmw sub in test_fetch_and_op()
96 sc = __sync_fetch_and_or (&sc, 11); // CHECK: atomicrmw or in test_fetch_and_op()
105 sc = __sync_fetch_and_xor (&sc, 11); // CHECK: atomicrmw xor in test_fetch_and_op()
114 sc = __sync_fetch_and_nand (&sc, 11); // CHECK: atomicrmw nand in test_fetch_and_op()
123 sc = __sync_fetch_and_and (&sc, 11); // CHECK: atomicrmw and in test_fetch_and_op()
136 sc = __sync_add_and_fetch (&sc, uc); // CHECK: atomicrmw add in test_op_and_fetch()
145 sc = __sync_sub_and_fetch (&sc, uc); // CHECK: atomicrmw sub in test_op_and_fetch()
154 sc = __sync_or_and_fetch (&sc, uc); // CHECK: atomicrmw or in test_op_and_fetch()
163 sc = __sync_xor_and_fetch (&sc, uc); // CHECK: atomicrmw xor in test_op_and_fetch()
172 sc = __sync_nand_and_fetch (&sc, uc); // CHECK: atomicrmw nand in test_op_and_fetch()
213 sc = __sync_and_and_fetch (&sc, uc); // CHECK: atomicrmw and in test_op_and_fetch()
226 sc = __sync_val_compare_and_swap (&sc, uc, sc); in test_compare_and_swap()
230 uc = __sync_val_compare_and_swap (&uc, uc, sc); in test_compare_and_swap()
234 ss = __sync_val_compare_and_swap (&ss, uc, sc); in test_compare_and_swap()
238 us = __sync_val_compare_and_swap (&us, uc, sc); in test_compare_and_swap()
242 si = __sync_val_compare_and_swap (&si, uc, sc); in test_compare_and_swap()
246 ui = __sync_val_compare_and_swap (&ui, uc, sc); in test_compare_and_swap()
250 sll = __sync_val_compare_and_swap (&sll, uc, sc); in test_compare_and_swap()
254 ull = __sync_val_compare_and_swap (&ull, 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()
294 sc = __sync_lock_test_and_set (&sc, 1); // CHECK: atomicrmw xchg i8* {{.*}} seq_cst, align 1 in test_lock()
305 __sync_lock_release (&sc); // CHECK: store atomic {{.*}} release, align 1 in test_lock()