Home
last modified time | relevance | path

Searched refs:objc_retain (Results 1 – 25 of 68) sorted by relevance

123

/external/llvm/test/Transforms/ObjCARC/
Dallocas.ll3 declare i8* @objc_retain(i8*)
47 ; CHECK: @objc_retain(i8* %x)
48 ; CHECK: @objc_retain(i8* %x)
56 tail call i8* @objc_retain(i8* %x)
57 tail call i8* @objc_retain(i8* %x)
68 ; CHECK: @objc_retain(i8* %x)
69 ; CHECK: @objc_retain(i8* %x)
78 tail call i8* @objc_retain(i8* %x)
79 tail call i8* @objc_retain(i8* %x)
91 ; CHECK: @objc_retain(i8* %x)
[all …]
Dintrinsic-use.ll5 declare i8* @objc_retain(i8*)
21 ; CHECK: @objc_retain(i8* %x)
23 ; CHECK-NEXT: @objc_retain(i8* %y)
27 ; CHECK-NEXT: @objc_retain(i8* [[VAL1]])
33 ; CHECK-NEXT: @objc_retain(i8* [[VAL2]])
37 ; CHECK-NEXT: @objc_retain(i8* %x)
46 %0 = call i8* @objc_retain(i8* %x) nounwind
47 %1 = call i8* @objc_retain(i8* %y) nounwind
51 %2 = call i8* @objc_retain(i8* %val1) nounwind
57 %3 = call i8* @objc_retain(i8* %val2) nounwind
[all …]
Dbasic.ll5 declare i8* @objc_retain(i8*)
34 ; CHECK: @objc_retain
40 %0 = call i8* @objc_retain(i8* %a) nounwind
65 %0 = call i8* @objc_retain(i8* %a) nounwind
90 ; CHECK: @objc_retain(i8* %a)
96 %0 = call i8* @objc_retain(i8* %a) nounwind
120 ; CHECK: @objc_retain(i8* %a)
126 %0 = call i8* @objc_retain(i8* %a) nounwind
154 ; CHECK: tail call i8* @objc_retain(i8* %x) [[NUW]]
162 tail call i8* @objc_retain(i8* %x) nounwind
[all …]
Dcfg-hazards.ll8 declare i8* @objc_retain(i8*)
14 ; CHECK: call i8* @objc_retain(
22 %tmp1 = call i8* @objc_retain(i8* %digits) nounwind
39 ; CHECK: call i8* @objc_retain(
47 %tmp1 = call i8* @objc_retain(i8* %digits) nounwind
64 ; CHECK: call i8* @objc_retain(
72 %tmp1 = call i8* @objc_retain(i8* %digits) nounwind
92 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) [[NUW:#[0-9]+]]
101 %outer = call i8* @objc_retain(i8* %a) nounwind
102 %inner = call i8* @objc_retain(i8* %a) nounwind
[all …]
Dcontract.ll5 declare i8* @objc_retain(i8*)
20 %0 = call i8* @objc_retain(i8* %x) nounwind
35 ; Merge objc_retain and objc_autorelease into objc_retainAutorelease.
42 %0 = tail call i8* @objc_retain(i8* %x) nounwind
55 %0 = tail call i8* @objc_retain(i8* %x) nounwind
68 tail call i8* @objc_retain(i8* %x) nounwind
86 tail call i8* @objc_retain(i8* %x) nounwind
96 ; CHECK: tail call i8* @objc_retain(i8* %p) [[NUW]]
102 tail call i8* @objc_retain(i8* %p) nounwind
137 ; CHECK: tail call i8* @objc_retain(i8* %p)
[all …]
Dsplit-backedge.ll7 ; CHECK: call i8* @objc_retain(i8* %call) [[NUW:#[0-9]+]]
8 ; CHECK: call i8* @objc_retain(i8* %call) [[NUW]]
9 ; CHECK: call i8* @objc_retain(i8* %cond) [[NUW]]
22 %t0 = call i8* @objc_retain(i8* %call) nounwind
23 %t1 = call i8* @objc_retain(i8* %call) nounwind
29 %t2 = call i8* @objc_retain(i8* %cond) nounwind
45 declare i8* @objc_retain(i8*)
Dempty-block.ll6 declare i8* @objc_retain(i8*)
15 ; CHECK: @objc_retain
23 %2 = tail call i8* @objc_retain(i8* %1) nounwind
30 %3 = tail call i8* @objc_retain(i8* %1) nounwind
44 %2 = tail call i8* @objc_retain(i8* %1) nounwind
51 %3 = tail call i8* @objc_retain(i8* %1) nounwind
Drv.ll5 declare i8* @objc_retain(i8*)
90 %0 = call i8* @objc_retain(i8* %call) nounwind
129 ; CHECK: call i8* @objc_retain(i8* %p)
151 ; CHECK: tail call i8* @objc_retain(i8* %p) [[NUW]]
155 %1 = call i8* @objc_retain(i8* %p)
164 ; CHECK: tail call i8* @objc_retain(i8* %p)
169 %1 = call i8* @objc_retain(i8* %p)
178 ; CHECK: tail call i8* @objc_retain(i8* %p)
183 %1 = call i8* @objc_retain(i8* %p)
203 ; Convert objc_retainAutoreleasedReturnValue to objc_retain if its
[all …]
Dcontract-storestrong.ll5 declare i8* @objc_retain(i8*)
18 %0 = tail call i8* @objc_retain(i8* %p) nounwind
29 ; CHECK-NEXT: %0 = tail call i8* @objc_retain(i8* %p) [[NUW]]
37 %0 = tail call i8* @objc_retain(i8* %p) nounwind
48 ; CHECK-NEXT: %0 = tail call i8* @objc_retain(i8* %p) [[NUW]]
56 %0 = tail call i8* @objc_retain(i8* %p) nounwind
68 ; CHECK-NEXT: %x0 = tail call i8* @objc_retain(i8* %newValue) [[NUW]]
77 %x0 = tail call i8* @objc_retain(i8* %newValue) nounwind
89 ; CHECK-NEXT: %x0 = tail call i8* @objc_retain(i8* %newValue) [[NUW]]
98 %x0 = tail call i8* @objc_retain(i8* %newValue) nounwind
[all …]
Dcontract-end-of-use-list.ll14 %retained1 = call i8* @objc_retain(i8* %call)
19 ; CHECK: %retained2 = call i8* @objc_retain(i8* %retained1)
20 %retained2 = call i8* @objc_retain(i8* %retained1)
30 declare extern_weak i8* @objc_retain(i8*)
Dnested.ll13 declare i8* @objc_retain(i8*)
29 ; CHECK: call i8* @objc_retain
30 ; CHECK-NOT: @objc_retain
36 %0 = call i8* @objc_retain(i8* %a) nounwind
39 %1 = call i8* @objc_retain(i8* %0) nounwind
93 ; CHECK: call i8* @objc_retain
94 ; CHECK-NOT: @objc_retain
104 %1 = call i8* @objc_retain(i8* %0) nounwind
158 ; CHECK: call i8* @objc_retain
159 ; CHECK-NOT: @objc_retain
[all …]
Dunsafe-claim-rv.ll20 declare i8* @objc_retain(i8*)
25 %0 = tail call i8* @objc_retain(i8* %X)
30 %1 = tail call i8* @objc_retain(i8* nonnull %0)
42 ; CHECK: tail call i8* @objc_retain
Dtail-call-invariant-enforcement.ll4 declare i8* @objc_retain(i8* %x)
38 ; Always tail call objc_retain.
41 ; CHECK: %tmp0 = tail call i8* @objc_retain(i8* %x) [[NUW]]
42 ; CHECK: %tmp1 = tail call i8* @objc_retain(i8* %x) [[NUW]]
46 %tmp0 = call i8* @objc_retain(i8* %x)
47 %tmp1 = tail call i8* @objc_retain(i8* %x)
Dmove-and-merge-autorelease.ll30 declare i8* @objc_retain(i8*)
45 %tmp23 = call i8* @objc_retain(i8* %tmp22) nounwind
54 %tmp34 = call i8* @objc_retain(i8* %tmp31) nounwind
58 %tmp41 = call i8* @objc_retain(i8* %tmp40) nounwind
67 %tmp52 = call i8* @objc_retain(i8* %tmp51) nounwind
88 %tmp73 = call i8* @objc_retain(i8* %tmp72) nounwind
101 %tmp84 = call i8* @objc_retain(i8* %tmp83) nounwind
/external/swiftshader/third_party/LLVM/test/Transforms/ObjCARC/
Dcfg-hazards.ll8 declare i8* @objc_retain(i8*)
13 ; CHECK: call i8* @objc_retain(
21 %tmp1 = call i8* @objc_retain(i8* %digits) nounwind
38 ; CHECK: call i8* @objc_retain(
46 %tmp1 = call i8* @objc_retain(i8* %digits) nounwind
63 ; CHECK: call i8* @objc_retain(
71 %tmp1 = call i8* @objc_retain(i8* %digits) nounwind
91 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) nounwind
100 %outer = call i8* @objc_retain(i8* %a) nounwind
101 %inner = call i8* @objc_retain(i8* %a) nounwind
[all …]
Dbasic.ll5 declare i8* @objc_retain(i8*)
35 %0 = call i8* @objc_retain(i8* %a) nounwind
60 ; CHECK: @objc_retain(i8* %a)
66 %0 = call i8* @objc_retain(i8* %a) nounwind
93 ; CHECK: @objc_retain(i8* %a)
99 %0 = call i8* @objc_retain(i8* %a) nounwind
127 ; TODO: @objc_retain(i8* %a)
133 %0 = call i8* @objc_retain(i8* %a) nounwind
152 ; TODO: @objc_retain(i8* %a)
161 %0 = call i8* @objc_retain(i8* %a) nounwind
[all …]
Drv.ll5 declare i8* @objc_retain(i8*)
90 %0 = call i8* @objc_retain(i8* %call) nounwind
129 ; CHECK: call i8* @objc_retain(i8* %p)
139 ; Turn objc_retain into objc_retainAutoreleasedReturnValue if its operand
146 call i8* @objc_retain(i8* %p)
162 ; CHECK: tail call i8* @objc_retain(i8* %p) nounwind
166 %1 = call i8* @objc_retain(i8* %p)
175 ; CHECK: tail call i8* @objc_retain(i8* %p)
180 %1 = call i8* @objc_retain(i8* %p)
189 ; CHECK: tail call i8* @objc_retain(i8* %p)
[all …]
Dcontract.ll5 declare i8* @objc_retain(i8*)
19 %0 = call i8* @objc_retain(i8* %x) nounwind
34 ; Merge objc_retain and objc_autorelease into objc_retainAutorelease.
41 %0 = tail call i8* @objc_retain(i8* %x) nounwind
54 %0 = tail call i8* @objc_retain(i8* %x) nounwind
67 tail call i8* @objc_retain(i8* %x) nounwind
85 tail call i8* @objc_retain(i8* %x) nounwind
95 ; CHECK: tail call i8* @objc_retain(i8* %p) nounwind
101 tail call i8* @objc_retain(i8* %p) nounwind
136 ; CHECK: tail call i8* @objc_retain(i8* %p)
[all …]
Dempty-block.ll6 declare i8* @objc_retain(i8*)
15 ; CHECK: @objc_retain
23 %2 = tail call i8* @objc_retain(i8* %1) nounwind
30 %3 = tail call i8* @objc_retain(i8* %1) nounwind
44 %2 = tail call i8* @objc_retain(i8* %1) nounwind
51 %3 = tail call i8* @objc_retain(i8* %1) nounwind
Dcontract-storestrong.ll5 declare i8* @objc_retain(i8*)
16 %0 = tail call i8* @objc_retain(i8* %p) nounwind
27 ; CHECK-NEXT: %0 = tail call i8* @objc_retain(i8* %p) nounwind
35 %0 = tail call i8* @objc_retain(i8* %p) nounwind
46 ; CHECK-NEXT: %0 = tail call i8* @objc_retain(i8* %p) nounwind
54 %0 = tail call i8* @objc_retain(i8* %p) nounwind
Dnested.ll13 declare i8* @objc_retain(i8*)
25 ; CHECK: call i8* @objc_retain
26 ; CHECK-NOT: @objc_retain
32 %0 = call i8* @objc_retain(i8* %a) nounwind
35 %1 = call i8* @objc_retain(i8* %0) nounwind
89 ; CHECK: call i8* @objc_retain
90 ; CHECK-NOT: @objc_retain
100 %1 = call i8* @objc_retain(i8* %0) nounwind
154 ; CHECK: call i8* @objc_retain
155 ; CHECK-NOT: @objc_retain
[all …]
Dmove-and-merge-autorelease.ll30 declare i8* @objc_retain(i8*)
45 %tmp23 = call i8* @objc_retain(i8* %tmp22) nounwind
54 %tmp34 = call i8* @objc_retain(i8* %tmp31) nounwind
58 %tmp41 = call i8* @objc_retain(i8* %tmp40) nounwind
67 %tmp52 = call i8* @objc_retain(i8* %tmp51) nounwind
88 %tmp73 = call i8* @objc_retain(i8* %tmp72) nounwind
101 %tmp84 = call i8* @objc_retain(i8* %tmp83) nounwind
Dretain-not-declared.ll11 ; declaration even if no objc_retain declaration exists.
28 ; Properly create the @objc_retain declaration when it doesn't already exist.
32 ; CHECK: @objc_retain(
33 ; CHECK: @objc_retain(
Dpost-inlining.ll5 declare i8* @objc_retain(i8*)
17 %0 = tail call i8* @objc_retain(i8* %call.i) nounwind
30 %0 = tail call i8* @objc_retain(i8* %call.i) nounwind
/external/clang/test/CodeGenObjCXX/
Darc.mm26 // CHECK-NEXT: [[T4:%.*]] = call i8* @objc_retain(i8* [[T3]])
88 // CHECK-NEXT: [[T1:%.*]] = call i8* @objc_retain(i8* [[T0]])
129 // CHECK-NOT: call i8* @objc_retain
133 // CHECK-NOT: call i8* @objc_retain
137 // CHECK-NOT: call i8* @objc_retain
143 // CHECK-NOT: call i8* @objc_retain
147 // CHECK-NOT: call i8* @objc_retain
167 // CHECK: call i8* @objc_retain
171 // CHECK: call i8* @objc_retain
175 // CHECK: call i8* @objc_retain
[all …]

123