Home
last modified time | relevance | path

Searched refs:readonly (Results 1 – 25 of 2284) sorted by relevance

12345678910>>...92

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dcategory-direct-properties.m5 @property(nonatomic, readonly) int normal_normal;
6 @property(nonatomic, readonly, direct) int direct_normal;
28 @property(nonatomic, readonly) int normal_normal;
30 @property(nonatomic, readonly) int normal_direct;
72 @property(nonatomic, readonly) int normal_normal;
79 @property(nonatomic, readonly) int normal_normal;
93 @property(nonatomic, readonly) int normal_normal;
100 @property(nonatomic, readonly) int normal_normal;
114 @property(nonatomic, readonly) int normal_normal;
140 @property(nonatomic, readonly) int normal_normal;
[all …]
H A Datomic-property-synthesis-rules.m121 @property(readonly) int GetSet_ReadOnly;
122 @property(readonly) int Get_ReadOnly;
123 @property(readonly) int Set_ReadOnly;
124 @property(readonly) int None_ReadOnly;
131 @property(readonly) int GetSet_ReadWriteInExt;
132 @property(readonly) int Get_ReadWriteInExt;
133 @property(readonly) int Set_ReadWriteInExt;
134 @property(readonly) int None_ReadWriteInExt;
183 @property(readonly) int Get_ReadOnly_NoSynthesize;
184 @property(readonly) int Set_ReadOnly_NoSynthesize;
[all …]
H A Dproperty-in-class-extension-1.m9 @property (nonatomic, readonly) NSString* addingMemoryModel;
11 @property (nonatomic, copy, readonly) NSString* matchingMemoryModel;
13 @property (atomic, retain, readonly) NSString* addingNoNewMemoryModel;
15 @property (readonly) NSString* none;
16 @property (readonly) NSString* none1;
20 @property (readonly) __weak id weak_prop;
21 @property (readonly) __weak id weak_prop1;
23 @property (assign, readonly) NSString* assignProperty;
25 @property (readonly) NSString* readonlyProp;
54 @property (nonatomic, readonly) float propertyName2; // expected-note {{property declared here}}
[all …]
H A Dproperty-5.m12 @property(readonly) id ref;
13 @property(readonly) Base *p_base;
14 @property(readonly) NSData *nsdata;
15 @property(readonly) NSData * m_nsdata;
19 @property(readonly) NSData *ref;
20 @property(readonly) Data *p_base;
21 @property(readonly) MutableNSData * m_nsdata;
25 @property(readonly) id p_base;
29 @property(readonly) ConstData *p_base;
H A Dclass-property-inheritance.m7 @property(nullable, readonly, strong, class) MyObject *foo;
11 @property(nonnull, readonly, copy, class) MyObject *foo; // expected-warning {{'copy' attribute on …
17 @property(nullable, readonly, strong) MyObject *foo;
21 @property(nonnull, readonly, copy, class) MyObject *foo; // no-warning
25 @property(nullable, readonly, copy) MyObject *foo; // expected-warning {{'copy' attribute on proper…
30 @property(nullable, readonly, strong, class) MyObject *foo;
34 @property(nonnull, readonly, copy) MyObject *foo; // no-warning
38 @property(nonnull, readonly, copy, class) MyObject *foo; // expected-warning {{'copy' attribute on …
H A Diboutlet.m5 #define READONLY readonly
10 @property (getter = MyGetter, readonly, assign) IBOutlet NSView *myView; // expected-warning {{read…
12 IBInspectable @property (readonly) IBOutlet NSView *myView1; // expected-warning {{readonly IBOutle…
14 @property (getter = MyGetter2, READONLY) IBOutlet NSView *myView2; // expected-warning {{readonly I…
28 @property( readonly ) __attribute__((iboutlet)) UILabel *autoReadOnlyReadOnly; // expected-warning …
29 @property( readonly ) __attribute__((iboutlet)) UILabel *autoReadOnlyReadWrite;
30 @property( readonly ) __attribute__((iboutlet)) UILabel *synthReadOnlyReadWrite;
H A Darc-property-decl-attrs.m71 @property (readonly, retain) id foo;
72 @property (readonly, weak) id fee;
73 @property (readonly, strong) id frr;
110 @property(readonly, retain) id prop;
182 @property (copy, readonly) id prop;
217 @property (assign, nonatomic, readonly) id prop; // ok
231 @property (nonatomic, readonly) NSObject *prop;
257 // Allow strong readwrite property and a readonly one.
270 @property(readonly) NSObject *p;
271 @property(readonly) NSObject *p2;
[all …]
H A Dcontinuation-class-property.m5 @property (readonly, copy) id foos;
36 @property (readonly) NSRect foo; // expected-note {{property declared here}}
37 @property (readonly, strong) NSString *bar; // expected-note {{property declared here}}
49 @property (nonatomic, readonly, assign) struct evhttp_request *httpRequest;
50 @property (nonatomic, readonly, assign) struct S *httpRequest2;
51 @property (nonatomic, readonly, assign) struct S1 *httpRequest3;
52 @property (nonatomic, readonly, assign) struct S2 *httpRequest4;
67 @property (nonatomic, readonly) NSString *currentPictureURI;
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-property.m.result65 @property (nonatomic, readonly, assign) id delegate;
85 @property (nonatomic, readonly) int Length;
86 @property (nonatomic, readonly, strong) id object;
98 @property (nonatomic, getter=getM, readonly) BOOL m;
129 @property (nonatomic, readonly) int Length;
130 @property (nonatomic, readonly, strong) id object;
136 @property (nonatomic, getter=getM, readonly) BOOL m;
209 @property (nonatomic, readonly) double Ddelegate;
210 @property (nonatomic, readonly) float Fdelegate;
211 @property (nonatomic, readonly) int Idelegate;
[all …]
H A Dobjcmt-atomic-property.m.result82 @property (readonly) int Length;
83 @property (readonly, strong) id object;
95 @property (getter=getM, readonly) BOOL m;
96 @property (getter=getMA, readonly) BOOL MA;
97 @property (getter=getALL, readonly) BOOL ALL;
98 @property (getter=getMANY, readonly) BOOL MANY;
126 @property (readonly) int Length;
127 @property (readonly, strong) id object;
133 @property (getter=getM, readonly) BOOL m;
134 @property (getter=getMA, readonly) BOOL MA;
[all …]
H A Dobjcmt-ns-nonatomic-iosonly.m.result89 @property (NS_NONATOMIC_IOSONLY, readonly) int Length;
90 @property (NS_NONATOMIC_IOSONLY, readonly, strong) id object;
102 @property (NS_NONATOMIC_IOSONLY, getter=getM, readonly) BOOL m;
103 @property (NS_NONATOMIC_IOSONLY, getter=getMA, readonly) BOOL MA;
104 @property (NS_NONATOMIC_IOSONLY, getter=getALL, readonly) BOOL ALL;
105 @property (NS_NONATOMIC_IOSONLY, getter=getMANY, readonly) BOOL MANY;
133 @property (NS_NONATOMIC_IOSONLY, readonly) int Length;
134 @property (NS_NONATOMIC_IOSONLY, readonly, strong) id object;
140 @property (NS_NONATOMIC_IOSONLY, getter=getM, readonly) BOOL m;
141 @property (NS_NONATOMIC_IOSONLY, getter=getMA, readonly) BOOL MA;
[all …]
H A Dobjcmt-migrate-all.m.result89 @property (nonatomic, readonly) void *ReturnsInnerPointer;
98 @property (nonatomic, readonly) void *bytes;
107 @property (nonatomic, readonly) JSObjectRef JSObject;
108 @property (nonatomic, readonly) TTJSObjectRef JSObject1;
109 @property (nonatomic, readonly) JSObjectRef *JSObject2;
116 @property (readonly) SecTrustRef serverTrust NS_AVAILABLE;
117 @property (nonatomic, readonly) void *FOO NS_AVAILABLE;
118 @property (readonly) void * mitTrust NS_AVAILABLE;
120 @property (readonly) void * mittiTrust;
122 @property (readonly) SecTrustRef XserverTrust;
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/VE/Scalar/
H A Dload.ll3 ; Function Attrs: norecurse nounwind readonly
4 define fp128 @loadf128(fp128* nocapture readonly %0) {
16 ; Function Attrs: norecurse nounwind readonly
26 ; Function Attrs: norecurse nounwind readonly
36 ; Function Attrs: norecurse nounwind readonly
48 ; Function Attrs: norecurse nounwind readonly
58 ; Function Attrs: norecurse nounwind readonly
68 ; Function Attrs: norecurse nounwind readonly
79 ; Function Attrs: norecurse nounwind readonly
90 ; Function Attrs: norecurse nounwind readonly
[all …]
H A Dstore.ll3 ; Function Attrs: norecurse nounwind readonly
14 ; Function Attrs: norecurse nounwind readonly
24 ; Function Attrs: norecurse nounwind readonly
34 ; Function Attrs: norecurse nounwind readonly
45 ; Function Attrs: norecurse nounwind readonly
55 ; Function Attrs: norecurse nounwind readonly
65 ; Function Attrs: norecurse nounwind readonly
76 ; Function Attrs: norecurse nounwind readonly
86 ; Function Attrs: norecurse nounwind readonly
97 ; Function Attrs: norecurse nounwind readonly
[all …]
/llvm-project-15.0.7/clang/test/APINotes/Inputs/Frameworks/Simple.framework/Headers/
H A DSimple.h6 @property(class, nonatomic, readonly) id nonnullProperty;
7 @property(class, nonatomic, readonly) id nonnullNewProperty;
9 @property(class, nonatomic, readonly) id optionalProperty;
10 @property(class, nonatomic, readonly) id optionalNewProperty;
12 @property(nonatomic, readonly) id unspecifiedProperty;
13 @property(nonatomic, readonly) id unspecifiedNewProperty;
15 @property(nonatomic, readonly) id scalarProperty;
16 @property(nonatomic, readonly) id scalarNewProperty;
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/
H A Dinternal-noalias.ll10 …TUNIT____-SAME: (i32* noalias nocapture nofree readonly [[A:%.*]], i32* noalias nocapture nofree r…
12 … @noalias_args(i32* noalias nocapture nofree readonly align 4 [[A]], i32* noalias nocapture nofree…
13 …as_args_argmem(i32* noalias nocapture nofree readonly align 4 [[A]], i32* noalias nocapture nofree…
36 …re nofree noundef nonnull readonly align 4 dereferenceable(4) [[A:%.*]], i32* noalias nocapture no…
47 …re nofree noundef nonnull readonly align 4 dereferenceable(4) [[A:%.*]], i32* noalias nocapture no…
78 …apture nofree noundef nonnull readonly align 4 dereferenceable(4) [[A:%.*]], i32* nocapture nofree…
95 ; IS__TUNIT____-SAME: (i32* nocapture nofree readonly [[A:%.*]]) #[[ATTR1:[0-9]+]] {
99 … @noalias_args(i32* nocapture nofree readonly align 4 [[A]], i32* noalias nocapture nofree noundef…
226 ; IS__TUNIT____: attributes #[[ATTR3]] = { nofree nosync nounwind readonly }
234 ; IS__CGSCC____: attributes #[[ATTR5]] = { readonly }
[all …]
H A Dreadattrs.ll10 declare void @test1_1(i8* %x1_1, i8* readonly %y1_1, ...)
52 declare void @test4_1(i8* nocapture) readonly
55 ; CHECK: Function Attrs: readonly
138 ; CHECK-NOT: readonly
270 ; Byval but not readonly/none tests
276 ; CHECK: Function Attrs: readonly
360 declare i8* @maybe_returned_ptr(i8* readonly %ptr) readonly nounwind
362 declare void @val_use(i8 %ptr) readonly nounwind
365 ; IS__TUNIT____: Function Attrs: nounwind readonly
372 ; IS__CGSCC____: Function Attrs: nounwind readonly
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dmem-deref-bytes.ll13 define i32 @memcmp_const_size_set_deref(i8* nocapture readonly %d, i8* nocapture readonly %s) {
22 define i32 @memcmp_const_size_update_deref(i8* nocapture readonly %d, i8* nocapture readonly %s) {
31 define i32 @memcmp_const_size_update_deref2(i8* nocapture readonly %d, i8* nocapture readonly %s) {
40 define i32 @memcmp_const_size_update_deref3(i8* nocapture readonly %d, i8* nocapture readonly %s) {
49 define i32 @memcmp_const_size_update_deref4(i8* nocapture readonly %d, i8* nocapture readonly %s) {
58 define i32 @memcmp_const_size_update_deref5(i8* nocapture readonly %d, i8* nocapture readonly %s) {
85 define i32 @memcmp_const_size_no_update_deref(i8* nocapture readonly %d, i8* nocapture readonly %s)…
94 define i32 @memcmp_nonconst_size(i8* nocapture readonly %d, i8* nocapture readonly %s, i64 %n) {
103 define i8* @memcpy_const_size_set_deref(i8* nocapture readonly %d, i8* nocapture readonly %s) {
112 define i8* @memmove_const_size_set_deref(i8* nocapture readonly %d, i8* nocapture readonly %s) {
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/M68k/
H A Dreserved-regs.ll29 …fine void @foo(i32* nocapture readonly %a, i32* nocapture readonly %b, i32* nocapture readonly %c,…
30 …i32* nocapture readonly %a1, i32* nocapture readonly %b1, i32* nocapture readonly %c1, i32* nocapt…
31 …i32* nocapture readonly %a2, i32* nocapture readonly %b2, i32* nocapture readonly %c2, i32* nocapt…
32 …i32* nocapture readonly %a3, i32* nocapture readonly %b3, i32* nocapture readonly %c3, i32* nocapt…
/llvm-project-15.0.7/llvm/test/Transforms/FunctionAttrs/
H A Dreadattrs.ll27 declare void @test4_1(i8* nocapture) readonly
81 ; CHECK-NOT: readonly
90 ; CHECK: readonly
99 ; CHECK: readonly
116 ; CHECK-NOT: readonly
166 call void %f(i8* readnone %p) readonly
170 ; CHECK: define void @fptr_test2a(i8* nocapture readonly %p, void (i8*)* nocapture readonly %f)
172 call void %f(i8* nocapture readonly %p)
179 call void %f(i8* readonly %p)
183 ; CHECK: define void @fptr_test2c(i8* readonly %p, void (i8*)* nocapture readonly %f)
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/intrinsics/
H A Dsystem_user.ll7 define void @dc00(i8* nocapture readonly %p) local_unnamed_addr #0 {
14 define void @dc01(i8* nocapture readonly %p) local_unnamed_addr #0 {
22 define void @dc02(i8* nocapture readonly %p) local_unnamed_addr #0 {
30 define void @dc03(i8* nocapture readonly %p) local_unnamed_addr #0 {
46 define void @dc05(i8* nocapture readonly %p, i32 %q) local_unnamed_addr #0 {
54 define void @dc06(i8* nocapture readonly %p, i64 %q) local_unnamed_addr #0 {
61 declare void @llvm.hexagon.Y2.dccleana(i8* nocapture readonly) #2
62 declare void @llvm.hexagon.Y2.dccleaninva(i8* nocapture readonly) #2
63 declare void @llvm.hexagon.Y2.dcinva(i8* nocapture readonly) #2
65 declare void @llvm.hexagon.Y4.l2fetch(i8* nocapture readonly, i32) #2
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/ArgumentPromotion/
H A Dcontrol-flow.ll9 ; CHECK: Function Attrs: argmemonly nofree norecurse nosync nounwind readonly willreturn
11 ; CHECK-SAME: (i1 [[C:%.*]], i32* nocapture nofree readonly [[P:%.*]]) #[[ATTR0:[0-9]+]] {
32 ; IS__TUNIT____: Function Attrs: argmemonly nofree norecurse nosync nounwind readonly willreturn
34 ; IS__TUNIT____-SAME: (i1 [[C:%.*]], i32* nocapture nofree readonly [[P:%.*]]) #[[ATTR0]] {
39 ; IS__CGSCC____: Function Attrs: argmemonly nofree nosync nounwind readonly willreturn
41 ; IS__CGSCC____-SAME: (i1 [[C:%.*]], i32* nocapture nofree readonly [[P:%.*]]) #[[ATTR1:[0-9]+]] {
52 ; IS__TUNIT____: attributes #[[ATTR0]] = { argmemonly nofree norecurse nosync nounwind readonly wil…
53 ; IS__TUNIT____: attributes #[[ATTR1]] = { nofree nosync nounwind readonly willreturn }
55 ; IS__CGSCC____: attributes #[[ATTR0]] = { argmemonly nofree norecurse nosync nounwind readonly wil…
56 ; IS__CGSCC____: attributes #[[ATTR1]] = { argmemonly nofree nosync nounwind readonly willreturn }
[all …]
H A D2008-07-02-array-indexing.ll12 ; CHECK: Function Attrs: argmemonly nofree norecurse nosync nounwind readonly willreturn
14 ; CHECK-SAME: (i32* nocapture nofree noundef nonnull readonly align 4 dereferenceable(4) [[A:%.*]])…
41 ; IS__TUNIT____: Function Attrs: argmemonly nofree norecurse nosync nounwind readonly willreturn
43 ; IS__TUNIT____-SAME: (i32* nocapture nofree readonly [[A:%.*]]) #[[ATTR0]] {
44 ; IS__TUNIT____-NEXT: [[X:%.*]] = call i32 @callee(i32* nocapture nofree readonly align 4 [[A]])…
47 ; IS__CGSCC____: Function Attrs: argmemonly nofree nosync nounwind readonly willreturn
58 ; IS__TUNIT____: attributes #[[ATTR0]] = { argmemonly nofree norecurse nosync nounwind readonly wil…
59 ; IS__TUNIT____: attributes #[[ATTR1]] = { nofree nosync nounwind readonly willreturn }
61 ; IS__CGSCC____: attributes #[[ATTR0]] = { argmemonly nofree norecurse nosync nounwind readonly wil…
62 ; IS__CGSCC____: attributes #[[ATTR1]] = { argmemonly nofree nosync nounwind readonly willreturn }
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dsincos.ll6 declare float @sinf(float) readonly
8 declare double @sin(double) readonly
10 declare x86_fp80 @sinl(x86_fp80) readonly
22 %Y = call float @sinf(float %X) readonly
36 %Y = call double @sin(double %X) readonly
50 %Y = call x86_fp80 @sinl(x86_fp80 %X) readonly
54 declare float @cosf(float) readonly
56 declare double @cos(double) readonly
58 declare x86_fp80 @cosl(x86_fp80) readonly
71 %Y = call float @cosf(float %X) readonly
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dvsx-partword-int-loads-and-stores.ll4 ; Function Attrs: norecurse nounwind readonly
19 ; Function Attrs: norecurse nounwind readonly
35 ; Function Attrs: norecurse nounwind readonly
51 ; Function Attrs: norecurse nounwind readonly
67 ; Function Attrs: norecurse nounwind readonly
82 ; Function Attrs: norecurse nounwind readonly
98 ; Function Attrs: norecurse nounwind readonly
114 ; Function Attrs: norecurse nounwind readonly
130 ; Function Attrs: norecurse nounwind readonly
150 ; Function Attrs: norecurse nounwind readonly
[all …]

12345678910>>...92