Home
last modified time | relevance | path

Searched refs:objc_retainBlock (Results 1 – 20 of 20) sorted by relevance

/external/llvm/test/Transforms/ObjCARC/
Dretain-block-escape-analysis.ll5 declare i8* @objc_retainBlock(i8*)
17 ; an objc_retainBlock that is needed. ;
28 ; CHECK: tail call i8* @objc_retainBlock
29 %t3 = tail call i8* @objc_retainBlock(i8* %t1), !clang.arc.copy_on_escape !0
45 ; CHECK: tail call i8* @objc_retainBlock
46 %t3 = tail call i8* @objc_retainBlock(i8* %t1), !clang.arc.copy_on_escape !0
62 ; CHECK: tail call i8* @objc_retainBlock
63 %t3 = tail call i8* @objc_retainBlock(i8* %t1), !clang.arc.copy_on_escape !0
81 ; CHECK: tail call i8* @objc_retainBlock
82 %t3 = tail call i8* @objc_retainBlock(i8* %t1), !clang.arc.copy_on_escape !0
[all …]
Dretain-block.ll11 declare i8* @objc_retainBlock(i8*)
21 %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) nounwind, !clang.arc.copy_on_escape !0
31 ; CHECK: %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) [[NUW:#[0-9]+]]
36 %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) nounwind
46 ; CHECK: %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) [[NUW]], !clang.arc.copy_on_escape !0
51 %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) nounwind, !clang.arc.copy_on_escape !0
61 ; CHECK: %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) [[NUW]], !clang.arc.copy_on_escape !0
66 %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) nounwind, !clang.arc.copy_on_escape !0
84 %tmp2 = tail call i8* @objc_retainBlock(i8* %tmp) nounwind, !clang.arc.copy_on_escape !0
98 ; CHECK-NEXT: tail call i8* @objc_retainBlock(i8* %tmp) [[NUW]]
[all …]
Dretain-block-side-effects.ll4 ; objc_retainBlock stores into %repeater so the load from after the
7 ; CHECK: %tmp16 = call i8* @objc_retainBlock(i8* %tmp15) [[NUW:#[0-9]+]]
30 %tmp16 = call i8* @objc_retainBlock(i8* %tmp15) nounwind
39 declare i8* @objc_retainBlock(i8*)
Dretain-block-alloca.ll12 ; CHECK: %3 = call i8* @objc_retainBlock(i8* %2) [[NUW:#[0-9]+]]
33 %3 = call i8* @objc_retainBlock(i8* %2) nounwind
43 ; Same as test, but the objc_retainBlock has a clang.arc.copy_on_escape
47 ; CHECK-NOT: @objc_retainBlock
70 %3 = call i8* @objc_retainBlock(i8* %2) nounwind, !clang.arc.copy_on_escape !0
84 declare i8* @objc_retainBlock(i8*)
Dretain-block-load.ll16 ; CHECK: declare i8* @objc_retainBlock(i8*)
35 %tmp1 = call i8* @objc_retainBlock(i8* %tmp) nounwind, !clang.arc.copy_on_escape !0
47 declare i8* @objc_retainBlock(i8*)
Dexpand.ll11 declare i8* @objc_retainBlock(i8*)
86 ; CHECK: call i8* @objc_retainBlock(i8* %x)
91 %0 = call i8* @objc_retainBlock(i8* %x) nounwind
Descape.ll13 ; CHECK: %tmp7 = call i8* @objc_retainBlock(i8* %tmp6) [[NUW:#[0-9]+]], !clang.arc.copy_on_escape !0
49 %tmp7 = call i8* @objc_retainBlock(i8* %tmp6) nounwind, !clang.arc.copy_on_escape !0
69 ; CHECK-NOT: @objc_retainBlock
104 %tmp7 = call i8* @objc_retainBlock(i8* %tmp6) nounwind, !clang.arc.copy_on_escape !0
126 declare i8* @objc_retainBlock(i8*)
Dno-objc-arc-exceptions.ll42 %t3 = call i8* @objc_retainBlock(i8* %t2) nounwind, !clang.arc.copy_on_escape !4
63 ; shouldn't eliminate anything, but *CAN* strength reduce the objc_retainBlock
97 %t3 = call i8* @objc_retainBlock(i8* %t2) nounwind, !clang.arc.copy_on_escape !4
117 declare i8* @objc_retainBlock(i8*)
Darc-annotations.ll15 declare i8* @objc_retainBlock(i8*)
Dbasic.ll12 declare i8* @objc_retainBlock(i8*)
601 ; CHECK: call i8* @objc_retainBlock
613 %0 = call i8* @objc_retainBlock(i8* %a) nounwind
1360 ; Optimize objc_retainBlock.
1372 …%0 = call i8* @objc_retainBlock(i8* bitcast (%block1* @__block_holder_tmp_1 to i8*)) nounwind, !cl…
1379 ; Don't optimize objc_retainBlock, but do strength reduce it.
1387 %0 = call i8* @objc_retainBlock(i8* %p) nounwind, !clang.arc.copy_on_escape !0
1394 ; Don't optimize objc_retainBlock, because there's no copy_on_escape metadata.
1397 ; CHECK: @objc_retainBlock
1402 %0 = call i8* @objc_retainBlock(i8* bitcast (%block1* @__block_holder_tmp_1 to i8*)) nounwind
Drv.ll13 declare i8* @objc_retainBlock(i8*)
Dnested.ll21 declare i8* @objc_retainBlock(i8*)
796 %foo5 = call i8* @objc_retainBlock(i8* %foo4) nounwind
815 %foo21 = call i8* @objc_retainBlock(i8* %foo20) nounwind
Dallocas.ll10 declare i8* @objc_retainBlock(i8*)
/external/clang/test/CodeGenObjC/
Darc-block-copy-escape.m12 // CHECK: call i8* @objc_retainBlock(i8* {{%.*}}) [[NUW:#[0-9]+]], !clang.arc.copy_on_escape
19 // CHECK: call i8* @objc_retainBlock(i8* {{%.*}}) [[NUW]]
Darc-blocks.m16 // CHECK-NEXT: [[T2:%.*]] = call i8* @objc_retainBlock(i8* [[T1]]) [[NUW:#[0-9]+]]
340 // CHECK-NEXT: [[T1:%.*]] = call i8* @objc_retainBlock(i8* [[T0]])
361 // objc_retainBlock/release instead of _Block_object_assign/destroy.
374 // CHECK-NEXT: [[T2:%.*]] = call i8* @objc_retainBlock(i8* [[T1]])
405 // CHECK-NEXT: [[T1:%.*]] = call i8* @objc_retainBlock(i8* [[T0]])
435 // CHECK-NEXT: [[T2:%.*]] = call i8* @objc_retainBlock(i8* [[T1]])
453 // CHECK-NEXT: [[T2:%.*]] = call i8* @objc_retainBlock(i8* [[T1]])
514 // CHECK-NEXT: [[T2:%.*]] = call i8* @objc_retainBlock(i8* [[T1]])
588 // CHECK-NEXT: [[T2:%.*]] = call i8* @objc_retainBlock(i8* [[T1]])
606 // CHECK-NEXT: [[T2:%.*]] = call i8* @objc_retainBlock(i8* [[T1]])
/external/clang/test/CodeGenObjCXX/
Dlambda-expressions.mm21 // ARC: call i8* @objc_retainBlock
36 // ARC: call i8* @objc_retainBlock
Darc-special-member-functions.mm98 // CHECK-NEXT: [[T3:%.*]] = call i8* @objc_retainBlock(i8* [[T2]])
109 // CHECK: call i8* @objc_retainBlock
/external/clang/lib/CodeGen/
DCodeGenModule.h205 llvm::Constant *objc_retainBlock; member
DCGObjC.cpp1918 CGM.getARCEntrypoints().objc_retainBlock, in EmitARCRetainBlock()
1928 assert(call->getCalledValue() == CGM.getARCEntrypoints().objc_retainBlock); in EmitARCRetainBlock()
/external/clang/docs/
DAutomaticReferenceCounting.rst2227 .. _arc.runtime.objc_retainBlock:
2229 ``id objc_retainBlock(id value);``
2265 and not an ``objc_retainBlock`` operation will be emitted if the argument is