Home
last modified time | relevance | path

Searched refs:arc (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Darc-no-arc-exceptions.m5 // The front-end should emit clang.arc.no_objc_arc_exceptions in -fobjc-arc-exceptions
12 // CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !
13 // CHECK: call void @not() [[NUW:#[0-9]+]], !clang.arc.no_objc_arc_exceptions !
15 // NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
23 // CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !
24 // CHECK: call void @not() [[NUW]], !clang.arc.no_objc_arc_exceptions !
26 // NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
38 // CHECK: to label %{{.*}} unwind label %{{.*}}, !clang.arc.no_objc_arc_exceptions !
40 // NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
54 // NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
[all …]
H A Darc-rv-attr.m15 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
30 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
48 // CHECK: [[T0:%.*]] = call [[A]]* @makeA() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.obj…
49 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
72 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
92 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
107 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
125 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
145 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
164 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use({{.*}} [[T0]])
[all …]
H A Darc-unsafeclaim.m50 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
76 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
107 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
138 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
159 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
185 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
213 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
243 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
259 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
275 // ATTACHED-CALL: call void (...) @llvm.objc.clang.arc.noop.use([[A]]* [[T0]])
[all …]
H A Darc-literals.m1 …ters -I %S/Inputs -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
17 …// CHECK: {{call.*objc_msgSend.*i32 17.* [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAu…
19 …// CHECK: {{call.*objc_msgSend.*i32 25.* [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAu…
21 …// CHECK: {{call.*objc_msgSend.*i64 42.* [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAu…
23 …// CHECK: {{call.*objc_msgSend.*i8 signext 97.* [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.r…
58 // CHECK: call void (...) @llvm.objc.clang.arc.use(i8* [[V0]], i8* [[V1]])
101 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use(i8* [[T4]])
102 …// CHECK-NEXT: call void (...) @llvm.objc.clang.arc.use(i8* [[V0]], i8* [[V1]], i8* [[V2]], i8* [[…
132 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use([[B]]* [[V0]])
144 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use(i8* [[T3]])
[all …]
H A Dempty-collection-literals.m1 …ple-macosx10.10.0 -fobjc-runtime=macosx-10.10.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
2 …ple-macosx10.11.0 -fobjc-runtime=macosx-10.11.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
4 …riple arm64-apple-ios8.0 -fobjc-runtime=ios-8.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
5 …riple arm64-apple-ios9.0 -fobjc-runtime=ios-9.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
7 …v7k-apple-watchos2.0 -fobjc-runtime=watchos-1.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
8 …v7k-apple-watchos2.0 -fobjc-runtime=watchos-2.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
10 …iple arm64-apple-tvos8.0 -fobjc-runtime=ios-8.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
11 …iple arm64-apple-tvos9.0 -fobjc-runtime=ios-9.0 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-…
/llvm-project-15.0.7/llvm/test/Verifier/
H A Doperand-bundles.ll70 ; CHECK-NEXT: call %0* @foo0() [ "clang.arc.attachedcall"() ]
71 ; CHECK-NEXT: Multiple "clang.arc.attachedcall" operand bundles
78 ; CHECK-NEXT: call %0* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* null) ]
80 ; CHECK-NEXT: call %0* @foo0() [ "clang.arc.attachedcall"(i64 0) ]
82 ; CHECK-NEXT: call %0* @foo0() [ "clang.arc.attachedcall"(i8 ()* @foo1) ]
90 call %0* @foo0() [ "clang.arc.attachedcall"() ]
91 …call %0* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturnValue), …
95 call %0* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* null) ]
96 call %0* @foo0() [ "clang.arc.attachedcall"(i64 0) ]
97 call %0* @foo0() [ "clang.arc.attachedcall"(i8 ()* @foo1) ]
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/ObjCARC/
H A Dcontract-rv-attr.ll1 ; RUN: opt -objc-arc-contract -S < %s | FileCheck %s
2 ; RUN: opt -passes=objc-arc-contract -S < %s | FileCheck %s
5 ; CHECK: %[[CALL:.*]] = notail call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.ret…
9 …%call1 = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturn…
18 …%call1 = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.unsafeClaimAutoreleasedR…
23 ; CHECK: %[[V0:.*]] = invoke i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAuto…
28 ; CHECK: %[[V2:.*]] = invoke i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAuto…
41 …%call1 = invoke i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedRetu…
50 …%call3 = invoke i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedRetu…
58 ; "clang.arc.attachedcall" is ignored if the return type of the called function is void.
[all …]
H A Dintrinsic-use-isolated.ll1 ; RUN: opt -objc-arc-contract -S < %s | FileCheck %s
3 ; This file makes sure that clang.arc.used is removed even if no other ARC
6 declare void @llvm.objc.clang.arc.use(...) nounwind
8 ; Kill calls to @llvm.objc.clang.arc.use(...)
10 ; CHECK-NOT: clang.arc.use
13 call void (...) @llvm.objc.clang.arc.use(i8* %a, i8* %b) nounwind
H A Dcontract-attached-call-no-marker.ll1 ; RUN: opt -objc-arc-contract -S < %s | FileCheck %s
2 ; RUN: opt -passes=objc-arc-contract -S < %s | FileCheck %s
5 ; CHECK: %[[CALL:.*]] = notail call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.ret…
9 …%call1 = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturn…
14 ; CHECK: %[[CALL:.*]] = notail call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.uns…
18 …%call1 = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.unsafeClaimAutoreleasedR…
H A Dclang-arc-use-barrier.ll1 ; RUN: opt -objc-arc -S %s | FileCheck %s
5 ; Make sure ARC optimizer doesn't sink @obj_retain past @llvm.objc.clang.arc.use.
8 ; CHECK: call void (...) @llvm.objc.clang.arc.use(
10 ; CHECK: call void (...) @llvm.objc.clang.arc.use(
23 call void (...) @llvm.objc.clang.arc.use(%0* %3)
30 call void (...) @llvm.objc.clang.arc.use(%0* %6)
44 declare void @llvm.objc.clang.arc.use(...) local_unnamed_addr
H A Dintrinsic-use.ll1 ; RUN: opt -basic-aa -objc-arc -S < %s | FileCheck %s
10 declare void @llvm.objc.clang.arc.use(...)
11 declare void @llvm.objc.clang.arc.noop.use(...)
16 ; Ensure that we honor clang.arc.use as a use and don't miscompile
26 ; CHECK-NEXT: call void (...) @llvm.objc.clang.arc.use(i8* %y)
51 call void (...) @llvm.objc.clang.arc.use(i8* %y) nounwind
57 call void (...) @llvm.objc.clang.arc.use(i8* %val1) nounwind
97 call void (...) @llvm.objc.clang.arc.use(i8* %y) nounwind
103 call void (...) @llvm.objc.clang.arc.use(i8* %val1) nounwind
114 ; call to @llvm.objc.clang.arc.noop.use is a no-op.
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinline-retainRV-call.ll7 …%call = call i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturn…
13 ; CHECK: call i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturn…
16 …%call = call i8* @callee0_autoreleaseRV() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainA…
21 ; CHECK: %[[CALL:.*]] = call i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAut…
31 ; CHECK: invoke i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedRetu…
72 ; CHECK: call i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturn…
81 ; CHECK: call i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.unsafeClaimAutoreleasedR…
90 ; CHECK: invoke i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedRetu…
120 …%call = call i8* @callee2_nocall() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutorele…
137 …%1 = call i8* @foo0() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturnVal…
[all …]
/llvm-project-15.0.7/clang/test/PCH/
H A Darc.m3 // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include %S/Inputs/arc.h -fsyn…
6 …mit-pch -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -x objective-c-header -o %t %S/Inputs/ar…
7 // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only …
9 // Test error when pch's -fobjc-arc state is different.
11 …ng_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -x objective-c-header -o %t %S/Inputs/arc.h
12 // RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-o…
/llvm-project-15.0.7/llvm/test/Transforms/CanonicalizeFreezeInLoops/
H A Dfunc_from_mcf_r.ll6 %struct.arc = type { i32 }
7 %struct.g = type { i64, %struct.arc, i64, i64, i64 }
10 @h = global %struct.arc* null
21 %tmp4 = load %struct.arc*, %struct.arc** @h, align 8
26 %tmp6 = phi %struct.arc* [ %tmp4, %bb2 ], [ %tmp31, %bb28 ]
31 %tmp10 = getelementptr inbounds %struct.arc, %struct.arc* %tmp6, i64 0, i32 0
60 …%tmp31 = getelementptr inbounds %struct.arc, %struct.arc* getelementptr inbounds (%struct.g, %stru…
61 store %struct.arc* %tmp31, %struct.arc** @h, align 8
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Darc-system-header.m1 // RUN: %clang_cc1 -fobjc-arc -isystem %S/Inputs %s -DNO_USE
2 // RUN: %clang_cc1 -fobjc-arc -isystem %S/Inputs %s -verify
4 #include <arc-system-header.h>
10 // expected-note@arc-system-header.h:1 {{inline function performs a conversion which is forbidden i…
11 // expected-note@arc-system-header.h:5 {{inline function performs a conversion which is forbidden i…
16 … // expected-note@arc-system-header.h:14 {{declaration uses type that is ill-formed in ARC}}
21 … // expected-note@arc-system-header.h:19 {{declaration uses type that is ill-formed in ARC}}
45 // expected-note@arc-system-header.h:41 4 {{declaration uses type that is ill-formed in ARC}}
46 // expected-note@arc-system-header.h:41 2 {{property 'prop' is declared unavailable here}}
/llvm-project-15.0.7/llvm/test/Transforms/GVNHoist/
H A Dld_hoist_st_sink.ll6 %struct.node = type { i64, %struct.node*, %struct.node*, %struct.node*, i64, %struct.arc*, i64, i64…
7 %struct.arc = type { i64, i64, i64 }
31 ; CHECK-NOT: load %struct.arc
32 %1 = load %struct.arc*, %struct.arc** %a, align 8
33 %cost = getelementptr inbounds %struct.arc, %struct.arc* %1, i64 0, i32 0
57 ; CHECK-NOT: load %struct.arc*, %struct.arc**
58 %7 = load %struct.arc*, %struct.arc** %a4, align 8
59 %cost5 = getelementptr inbounds %struct.arc, %struct.arc* %7, i64 0, i32 0
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dupgrade-clang-arc-use.ll1 ; Test upgrade of clang.arc.use by upgrading to llvm.objc.clang.arc.use.
9 ; CHECK: call void (...) @llvm.objc.clang.arc.use(
10 call void (...) @clang.arc.use(%0* %1)
14 declare void @clang.arc.use(...)
H A Dupgrade-arc-attachedcall-bundle.ll1 ; Test that nullary clang.arc.attachedcall operand bundles are "upgraded".
10 %tmp0 = call i8* @foo() [ "clang.arc.attachedcall"() ]
16 ; CHECK-NEXT: %tmp0 = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAuto…
18 …%tmp0 = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.retainAutoreleasedReturnV…
/llvm-project-15.0.7/llvm/test/Transforms/SCCP/
H A Dclang-arc-rv.ll4 ; "clang.arc.attachedcall".
17 ; CHECK-NEXT: [[R:%.*]] = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.unsaf…
18 ; CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use(i8* [[R]])
21 …%r = call i8* @foo() [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.unsafeClaimAutoreleasedRetur…
22 call void (...) @llvm.objc.clang.arc.noop.use(i8* %r)
27 declare void @llvm.objc.clang.arc.noop.use(...)
/llvm-project-15.0.7/clang/test/Driver/
H A Dobjc-weak.m3 // RUN: %clang -target x86_64-apple-macosx10.7 -S -### %s -fobjc-arc -fobjc-weak 2>&1 | FileCheck %…
4 // RUN: %clang -target x86_64-apple-macosx10.7 -S -### %s -fno-objc-weak -fobjc-weak -fobjc-arc 2>…
5 // ARC-WEAK: -fobjc-arc
8 // RUN: %clang -target x86_64-apple-macos10.7 -S -### %s -fobjc-arc -fno-objc-weak 2>&1 | FileCheck…
9 // RUN: %clang -target x86_64-apple-macos10.7 -S -### %s -fobjc-weak -fno-objc-weak -fobjc-arc 2>&…
10 // ARC-NO-WEAK: -fobjc-arc
13 // RUN: %clang -target x86_64-apple-macosx10.5 -S -### %s -fobjc-arc -fobjc-weak 2>&1 | FileCheck %…
14 // RUN: %clang -target x86_64-apple-macosx10.5 -S -### %s -fno-objc-weak -fobjc-weak -fobjc-arc 2>…
H A Darc-exceptions.m1 // RUN: %clang -### -x objective-c -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
3 // RUN: not grep "fobjc-arc-exceptions" %t.log
4 // RUN: %clang -### -x objective-c++ -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
5 // RUN: grep "fobjc-arc-exceptions" %t.log
H A Dno-arc-exception-silence.m1 // RUN: %clang -Werror -fobjc-arc -fobjc-arc-exceptions -fno-objc-arc -Xclang -verify -c -o /dev/nu…
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp172 src->addDstEdge(arc.get()); in readGCNO()
174 if (arc->onTree()) in readGCNO()
291 arc->src.count += arc->count; in readGCDA()
300 src.addSrcEdge(arc.get()); in readGCDA()
697 count += arc->count; in collectSourceLine()
702 count += arc->count; in collectSourceLine()
704 for (GCOVArc *arc : b->succ) in collectSourceLine()
705 arc->cycleCount = arc->count; in collectSourceLine()
725 if (arc->count != 0) in collectSourceLine()
917 exitCount += arc->count; in printFunctionDetails()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Darc-globals.mm1 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc
9 // CHECK: call noundef i8* @_Z9getObjectv{{.*}} [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.re…
10 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use
16 // CHECK: call noundef i8* @_Z9getObjectv{{.*}} [ "clang.arc.attachedcall"(i8* (i8*)* @llvm.objc.re…
17 // CHECK-NEXT: call void (...) @llvm.objc.clang.arc.noop.use
/llvm-project-15.0.7/clang/test/AST/
H A Dpragma-attribute-objc-subject-match-rules.m1 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump "-DSUBJECT=objc…
2 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump -ast-dump-filte…
3 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump "-DSUBJECT=objc…
4 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump -ast-dump-filte…
5 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump -ast-dump-filte…
6 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump -ast-dump-filte…
7 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump -ast-dump-filte…
8 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump -ast-dump-filte…
9 // RUN: %clang_cc1 -fblocks -fobjc-arc -Wno-objc-root-class -fsyntax-only -ast-dump -ast-dump-filte…

12345678910>>...20