Lines Matching refs:swap
1 ; Test 64-bit compare and swap.
6 define i64 @f1(i64 %cmp, i64 %swap, i64 *%src) {
10 %pairval = cmpxchg i64 *%src, i64 %cmp, i64 %swap seq_cst seq_cst
16 define i64 @f2(i64 %cmp, i64 %swap, i64 *%src) {
21 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
28 define i64 @f3(i64 %cmp, i64 %swap, i64 *%src) {
34 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
40 define i64 @f4(i64 %cmp, i64 %swap, i64 *%src) {
45 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
51 define i64 @f5(i64 %cmp, i64 %swap, i64 *%src) {
56 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
63 define i64 @f6(i64 %cmp, i64 %swap, i64 *%src) {
69 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
75 define i64 @f7(i64 %cmp, i64 %swap, i64 %src, i64 %index) {
82 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
88 define i64 @f8(i64 %dummy, i64 %swap, i64 *%ptr) {
93 %pairval = cmpxchg i64 *%ptr, i64 1001, i64 %swap seq_cst seq_cst
98 ; Check that a constant %swap value is loaded into a register first.