Home | History | Annotate | Download | only in ARM

Lines Matching full:check

4 ; CHECK-LABEL: test_cmpxchg_weak:
8 ; CHECK-NEXT: BB#0:
9 ; CHECK-NEXT: dmb ish
10 ; CHECK-NEXT: ldrex [[LOADED:r[0-9]+]], [r0]
11 ; CHECK-NEXT: cmp [[LOADED]], r1
12 ; CHECK-NEXT: bne [[LDFAILBB:LBB[0-9]+_[0-9]+]]
13 ; CHECK-NEXT: BB#1:
14 ; CHECK-NEXT: strex [[SUCCESS:r[0-9]+]], r2, [r0]
15 ; CHECK-NEXT: cmp [[SUCCESS]], #0
16 ; CHECK-NEXT: bne [[FAILBB:LBB[0-9]+_[0-9]+]]
17 ; CHECK-NEXT: BB#2:
18 ; CHECK-NEXT: dmb ish
19 ; CHECK-NEXT: str r3, [r0]
20 ; CHECK-NEXT: bx lr
21 ; CHECK-NEXT: [[LDFAILBB]]:
22 ; CHECK-NEXT: clrex
23 ; CHECK-NEXT: [[FAILBB]]:
24 ; CHECK-NEXT: str r3, [r0]
25 ; CHECK-NEXT: bx lr
33 ; CHECK-LABEL: test_cmpxchg_weak_to_bool:
38 ; CHECK-NEXT: BB#0:
39 ; CHECK-NEXT: dmb ish
40 ; CHECK-NEXT: ldrex [[LOADED:r[0-9]+]], [r1]
41 ; CHECK-NEXT: cmp [[LOADED]], r2
42 ; CHECK-NEXT: bne [[LDFAILBB:LBB[0-9]+_[0-9]+]]
43 ; CHECK-NEXT: BB#1:
44 ; CHECK-NEXT: strex [[SUCCESS:r[0-9]+]], r3, [r1]
45 ; CHECK-NEXT: mov r0, #0
46 ; CHECK-NEXT: cmp [[SUCCESS]], #0
47 ; CHECK-NEXT: bxne lr
48 ; CHECK-NEXT: dmb ish
49 ; CHECK-NEXT: mov r0, #1
50 ; CHECK-NEXT: bx lr
51 ; CHECK-NEXT: [[LDFAILBB]]:
52 ; CHECK-NEXT: clrex
53 ; CHECK-NEXT: mov r0, #0
54 ; CHECK-NEXT: bx lr