Lines Matching +full:end +full:- +full:success

1 ; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - %s | FileCheck %s
4 ; CHECK-LABEL: test_return:
6 ; CHECK: ldrex [[LOADED:r[0-9]+]], [r0]
8 ; CHECK: bne [[FAILED:LBB[0-9]+_[0-9]+]]
12 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]:
13 ; CHECK: strex [[STATUS:r[0-9]+]], {{r[0-9]+}}, [r0]
14 ; CHECK: cbz [[STATUS]], [[SUCCESS:LBB[0-9]+_[0-9]+]]
21 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
27 ; CHECK: [[SUCCESS]]:
28 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
34 %success = extractvalue { i32, i1 } %pair, 1
35 %conv = zext i1 %success to i32
40 ; CHECK-LABEL: test_return_bool:
42 ; CHECK: uxtb [[OLDBYTE:r[0-9]+]], r1
44 ; CHECK: ldrexb [[LOADED:r[0-9]+]], [r0]
46 ; CHECK: bne [[FAIL:LBB[0-9]+_[0-9]+]]
50 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]:
51 ; CHECK: strexb [[STATUS:r[0-9]+]], {{r[0-9]+}}, [r0]
52 ; CHECK: cbz [[STATUS]], [[SUCCESS:LBB[0-9]+_[0-9]+]]
62 ; CHECK: movs [[TMP:r[0-9]+]], #0
66 ; CHECK: [[SUCCESS]]:
67 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
68 ; CHECK: movs [[TMP:r[0-9]+]], #1
74 %success = extractvalue { i8, i1 } %pair, 1
75 %failure = xor i1 %success, 1
80 ; CHECK-LABEL: test_conditional:
82 ; CHECK: ldrex [[LOADED:r[0-9]+]], [r0]
84 ; CHECK: bne [[FAILED:LBB[0-9]+_[0-9]+]]
88 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]:
89 ; CHECK: strex [[STATUS:r[0-9]+]], r2, [r0]
90 ; CHECK: cbz [[STATUS]], [[SUCCESS:LBB[0-9]+_[0-9]+]]
97 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
102 ; CHECK: [[SUCCESS]]:
103 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
108 %success = extractvalue { i32, i1 } %pair, 1
109 br i1 %success, label %true, label %false
113 br label %end
117 br label %end
119 end: