| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | potentially-direct-selector.m | 1 // RUN: %clang_cc1 %s -Wpotentially-direct-selector -verify 2 // RUN: %clang_cc1 %s -Wstrict-potentially-direct-selector -verify=expected,strict 23 -(void)inBase NS_DIRECT; // expected-note + {{direct method}} 24 +(void)inBaseClass NS_DIRECT; // expected-note + {{direct method}} 28 -(void)inBaseImpl NS_DIRECT { // expected-note + {{direct method}} 35 -(void)inBaseCat NS_DIRECT; // expected-note + {{direct method}} 39 -(void)inBaseCatImpl NS_DIRECT { // expected-note + {{direct method}} 45 -(void)inDerived NS_DIRECT; // expected-note + {{direct method}} 46 +(void)inDerivedClass NS_DIRECT; // expected-note + {{direct method}} 50 -(void)inDerivedImpl NS_DIRECT { // expected-note + {{direct method}} [all …]
|
| H A D | category-direct-properties.m | 6 @property(nonatomic, readonly, direct) int direct_normal; 8 @property(nonatomic, readonly, direct) int direct_direct; 18 …ibute__((objc_direct)) { // expected-error {{direct method implementation was previously declared … 29 @property(nonatomic, readonly, direct) int direct_normal; 31 @property(nonatomic, readonly, direct) int direct_direct; 37 @property(nonatomic, readwrite, direct) int normal_direct; 62 …ibute__((objc_direct)) { // expected-error {{direct method implementation was previously declared … 82 …ty(nonatomic, readonly, direct) int direct_direct; // expected-error {{direct property declaration… 103 …ty(nonatomic, readonly, direct) int direct_direct; // expected-error {{direct property declaration… 150 …ty(nonatomic, readonly, direct) int direct_direct; // expected-error {{direct property declaration… [all …]
|
| H A D | method-direct.m | 20 - (void)otherRootDirect __attribute__((objc_direct)); // expected-note {{direct method 'otherRootDi… 98 + (void)someRootDirectMethod { // expected-note {{direct method 'someRootDirectMethod' declared her… 101 …omeRootDirectMethod]; // expected-error {{messaging a Class with a method that is possibly direct}} 117 …tribute__((objc_direct)) // expected-error {{direct method implementation was previously declared … 120 …tribute__((objc_direct)) // expected-error {{direct method implementation was previously declared … 123 - (void)direct1 { // expected-note {{direct method 'direct1' declared here}} 125 - (void)direct2 { // expected-note {{direct method 'direct2' declared here}} 144 [super otherRootDirect]; // expected-error {{messaging super with a direct method}} 147 [super otherOtherClassRootDirect]; // expected-error {{messaging super with a direct method}} 152 @dynamic foo; // expected-error {{direct property cannot be @dynamic}} [all …]
|
| H A D | method-direct-properties.m | 9 @property(nonatomic, direct) int propertyWithNonDirectGetter; // expected-note {{previous declarati… 15 @property(nonatomic, readonly, direct) int getDirect_setDynamic; // expected-note {{previous … 16 @property(nonatomic, readonly, direct) int getDirect_setDirect; // expected-note {{previous … 17 @property(nonatomic, readonly, direct) int getDirect_setDirectMembers; // expected-note {{previous … 25 @property(nonatomic, readonly, direct) int directProperty; // expected-note {{previous declara… 26 @property(nonatomic, readonly, direct) int synthDirectProperty; // expected-note {{previous declara… 40 @property(nonatomic, readwrite, direct) int getDirect_setDirect; // expected-note {{previous declar… category 42 @property(nonatomic, readwrite, direct) int getDynamic_setDirect; // expected-note {{previous decla… category 69 - (int)getDirect_setDynamic; // expected-error {{cannot override a method that is declared direct b… 120 - (int)directProperty { // expected-error {{cannot override a method that is declared direct by a s… [all …]
|
| H A D | category-direct-members-protocol-conformance.m | 13 - (void)direct; // expected-note {{direct member declared here}} method 18 - (void)direct; method 21 …pected-error {{category 'Cat1' cannot conform to protocol 'P' because of direct members declared i… 48 - (void)direct __attribute__((objc_direct)); // expected-note {{direct member declared here}} 50 - (void)directRecursive __attribute__((objc_direct)); // expected-note {{direct member declared her… 54 …rror {{category 'CatExpDirect' cannot conform to protocol 'P' because of direct members declared i… 64 …or {{class extension cannot conform to protocol 'PRecursive1' because of direct members declared i… 77 @property (nonatomic, readonly) I *name; // expected-note {{direct member declared here}} 81 …ed-error {{class extension cannot conform to protocol 'PProp' because of direct members declared i… 93 @property (nonatomic, readonly, class, direct) I *name; // expected-note {{direct member declared h… [all …]
|
| H A D | objc-literal-comparison.m | 39 …if (obj == @"") return; // expected-warning{{direct comparison of a string literal has undefined b… 40 …if (obj != @"") return; // expected-warning{{direct comparison of a string literal has undefined b… 41 …if (@"" == obj) return; // expected-warning{{direct comparison of a string literal has undefined b… 63 …if ([BaseObject new] == @"") return; // expected-warning{{direct comparison of a string literal ha… 65 …if ([BadEqualReturnString new] == @"") return; // expected-warning{{direct comparison of a string … 66 …if ([BadEqualArgString new] == @"") return; // expected-warning{{direct comparison of a string lit… 68 …if (@"" < @"") return; // expected-warning{{direct comparison of a string literal has undefined be… 69 …if (@"" > @"") return; // expected-warning{{direct comparison of a string literal has undefined be… 70 …if (@"" <= @"") return; // expected-warning{{direct comparison of a string literal has undefined b… 71 …if (@"" >= @"") return; // expected-warning{{direct comparison of a string literal has undefined b… [all …]
|
| H A D | method-direct-one-definition.m | 12 - (void)A_Cat { // expected-error {{direct method was declared in a category but is implemented in … 43 - (void)B_primary { // expected-error {{direct method was declared in the primary interface but is … 45 - (void)B_extension { // expected-error {{direct method was declared in an extension but is impleme… 49 - (void)B_OtherCat { // expected-error {{direct method was declared in a category but is implemente… 51 …ttribute__((objc_direct)) { // expected-error {{direct method declaration conflicts with previous … 62 … // expected-error {{method declaration conflicts with previous direct declaration of met… 63 - (void)C2 __attribute__((objc_direct)); // expected-error {{direct method declaration conflicts wi…
|
| H A D | dynamic-direct-properties.m | 6 @property(direct) int direct_property; // expected-note {{previous declaration is here}} 11 @dynamic direct_property; // expected-error {{direct property cannot be @dynamic}} 16 @property(direct) int direct_category_property; // expected-note {{previous declaration is here}} 21 @dynamic direct_category_property; // expected-error {{direct property cannot be @dynamic}}
|
| H A D | deprecated-objc-introspection.m | 4 // Test deprecated direct usage of the 'isa' pointer. 29 …[(*x).isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor o… 30 …[x->isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of … 81 …(void)v->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o… 82 …(void)w->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o… 83 …(void)x->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o… 84 …(void)y->isa; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of o…
|
| H A D | disable-direct-method.m | 1 // RUN: %clang_cc1 -verify -fobjc-disable-direct-methods-for-testing %s 29 @property (direct) int direct_property;
|
| H A D | opaque-is-access.m | 21 …[(*x).isa self]; // expected-error {{direct access to Objective-C's isa is deprecated in favor of … 22 …[x->isa self]; // expected-error {{direct access to Objective-C's isa is deprecated in favor of …
|
| H A D | method-direct-arc.m | 8 + (void)directMethod __attribute__((objc_direct)); // expected-note {{direct method 'directMethod' … 27 …class] directMethod]; // expected-error {{messaging a Class with a method that is possibly direct}}
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | LDSDIRInstructions.td | 34 class LDSDIR_getIns<bit direct> { 35 dag ret = !if(direct, 41 class LDSDIR_Common<string opName, string asm = "", bit direct> : InstSI< 43 LDSDIR_getIns<direct>.ret, 60 let is_direct = direct; 63 class LDSDIR_Pseudo<string opName, bit direct> : 64 LDSDIR_Common<opName, "", direct>, 70 class LDSDIR_getAsm<bit direct> { 71 string ret = !if(direct,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | llvm.amdgcn.lds.direct.load.ll | 24 %p0 = call float @llvm.amdgcn.lds.direct.load(i32 %arg0) 27 %p1 = call float @llvm.amdgcn.lds.direct.load(i32 %arg1) 28 %p2 = call float @llvm.amdgcn.lds.direct.load(i32 %arg2) 29 %p3 = call float @llvm.amdgcn.lds.direct.load(i32 %arg1) 30 %p4 = call float @llvm.amdgcn.lds.direct.load(i32 %arg2) 40 declare float @llvm.amdgcn.lds.direct.load(i32) #1
|
| H A D | direct-indirect-call.ll | 12 define internal void @direct() { 13 ; CHECK-LABEL: define {{[^@]+}}@direct 31 ; CHECK-NEXT: call void @direct() 34 call void @direct()
|
| H A D | wqm-gfx11.ll | 31 ; Test that s_wqm is executed before lds.direct.load. 50 %a = call float @llvm.amdgcn.lds.direct.load(i32 %arg_0) #1 51 %b = call float @llvm.amdgcn.lds.direct.load(i32 %arg_1) #1 52 %c = call float @llvm.amdgcn.lds.direct.load(i32 %arg_2) #1 62 declare float @llvm.amdgcn.lds.direct.load(i32) #1
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
| H A D | regbankselect-amdgcn.lds.direct.load.mir | 17 …-9]+]]:vgpr(s32) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.lds.direct.load), [[COPY]](s3… 19 %1:_(s32) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.lds.direct.load), %0 35 …-9]+]]:vgpr(s32) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.lds.direct.load), [[V_READFIR… 37 %1:_(s32) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.lds.direct.load), %0
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MSP430/ |
| H A D | calls.ll | 6 declare i32 @direct(i32 %a) 10 ; CHECK: call #direct 11 %1 = call i32 @direct(i32 %a)
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | objc_direct.ll | 16 ; clang -O0 -g -gdwarf-5 direct.m -c 23 ; ModuleID = 'direct.bc' 24 source_filename = "direct.m" 40 !1 = !DIFile(filename: "direct.m", directory: "/", checksumkind: CSK_MD5, checksum: "6b49fad130344b…
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | fast-isel-switch-phi.ll | 7 br i1 %c, label %switch, label %direct 15 direct: 20 %var.phi = phi i32 [ %var, %direct ], [ 0, %switch ], [ 0, %switch ]
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | direct-properties.m | 5 @property(direct, readonly) int i; 10 @property(direct, readonly) int i;
|
| H A D | disable-direct-method.m | 1 …-opaque-pointers -emit-llvm -triple x86_64-apple-darwin10 -fobjc-disable-direct-methods-for-testin… 4 @property (direct) int direct_property;
|
| H A D | direct-method.m | 15 @property(direct, readonly) int intProperty; 16 @property(direct, readonly) int intProperty2; 168 @property(nonatomic, readonly, direct) int getDirect_setDynamic; 174 @property(nonatomic, readwrite, direct) int getDynamic_setDirect; 230 @property(direct, readonly) int intProperty;
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Transform/IR/ |
| H A D | TransformInterfaces.cpp | 41 const TransformOpMapping &operationMapping = getMapping(value).direct; in getPayloadOps() 82 mappings.direct.insert({value, std::move(storedTargets)}).second; in setPayloadOps() 99 for (Operation *op : mappings.direct[value]) in removePayloadOps() 101 mappings.direct.erase(value); in removePayloadOps() 107 auto it = mappings.direct.find(value); in updatePayloadOps() 108 assert(it != mappings.direct.end() && "unknown handle"); in updatePayloadOps()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | mc-instrlat.ll | 22 …"true" "target-cpu"="ppc64" "target-features"="+altivec,-bpermd,-crypto,-direct-move,-extdiv,-powe… 23 …e"="8" "target-cpu"="ppc64" "target-features"="+altivec,-bpermd,-crypto,-direct-move,-extdiv,-powe…
|