Lines Matching refs:UNOPT
2 …fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck -check-prefix=CHECK-UNOPT -check-prefix=CHEC…
620 // CHECK-UNOPT-LABEL: define void @test18(
621 // CHECK-UNOPT: [[X:%.*]] = alloca i8*,
622 // CHECK-UNOPT-NEXT: [[BLOCK:%.*]] = alloca [[BLOCK_T:<{.*}>]],
623 // CHECK-UNOPT-NEXT: store i8* null, i8** [[X]]
624 // CHECK-UNOPT-NEXT: call void @llvm.objc.storeStrong(i8** [[X]],
625 // CHECK-UNOPT: %[[BLOCK_DESCRIPTOR:.*]] = getelementptr inbounds [[BLOCK_T]], [[BLOCK_T]]* [[BLOCK…
626 // CHECK-UNOPT: store %[[STRUCT_BLOCK_DESCRIPTOR]]* bitcast ({ i64, i64, i8*, i8*, i8*, i64 }* @[[B…
627 // CHECK-UNOPT: [[SLOT:%.*]] = getelementptr inbounds [[BLOCK_T]], [[BLOCK_T]]* [[BLOCK]], i32…
628 // CHECK-UNOPT-NEXT: [[T0:%.*]] = load i8*, i8** [[X]],
629 // CHECK-UNOPT-NEXT: [[T1:%.*]] = call i8* @llvm.objc.retain(i8* [[T0]])
630 // CHECK-UNOPT-NEXT: store i8* [[T1]], i8** [[SLOT]],
631 // CHECK-UNOPT-NEXT: bitcast
632 // CHECK-UNOPT-NEXT: call void @test18_helper(
633 // CHECK-UNOPT-NEXT: call void @llvm.objc.storeStrong(i8** [[SLOT]], i8* null) [[NUW:#[0-9]+]]
634 // CHECK-UNOPT-NEXT: call void @llvm.objc.storeStrong(i8** [[X]], i8* null) [[NUW]]
635 // CHECK-UNOPT-NEXT: ret void
652 // CHECK-UNOPT-LABEL: define internal void @__testUnsafeUnretainedLifetimeInCopyAndDestroyHelpers_b…
708 // CHECK-UNOPT-LABEL: define void @test20(
709 // CHECK-UNOPT: [[XADDR:%.*]] = alloca i8*
710 // CHECK-UNOPT-NEXT: [[BLOCK:%.*]] = alloca <[[BLOCKTY:.*]]>
711 // CHECK-UNOPT: [[BLOCKCAPTURED:%.*]] = getelementptr inbounds <[[BLOCKTY]]>, <[[BLOCKTY]]>* [[BLOC…
712 // CHECK-UNOPT: [[CAPTURED:%.*]] = load i8*, i8** [[XADDR]]
713 // CHECK-UNOPT: [[RETAINED:%.*]] = call i8* @llvm.objc.retain(i8* [[CAPTURED]])
714 // CHECK-UNOPT: store i8* [[RETAINED]], i8** [[BLOCKCAPTURED]]
715 // CHECK-UNOPT: call void @llvm.objc.storeStrong(i8** [[BLOCKCAPTURED]], i8* null)
740 // CHECK-UNOPT: call void @llvm.objc.storeStrong(i8** %[[BLOCK_CAPTURED]], i8* null)
764 // CHECK-UNOPT: attributes [[NUW]] = { nounwind }