/external/clang/test/SemaObjC/ |
D | selector-1.m | 12 SEL func() 19 SEL s = @selector((retain)); 20 SEL s1 = @selector((meth1:)); 21 SEL s2 = @selector((retainArgument::)); 22 SEL s3 = @selector((retainArgument:::::)); 23 SEL s4 = @selector((retainArgument:with:)); 24 SEL s5 = @selector((meth1:with:with:)); 25 SEL s6 = @selector((getEnum:enum:bool:)); 26 SEL s7 = @selector((char:float:double:unsigned:short:long:)); 27 SEL s9 = @selector((:enum:bool:)); [all …]
|
D | undeclared-selector.m | 3 typedef struct objc_selector *SEL; typedef 20 SEL d = @selector(methodD); /* Ok */ 21 SEL e = @selector(methodE); 26 SEL e = @selector(methodE); /* Ok */ 31 SEL e = @selector(methodE); /* Ok */ 38 SEL a = @selector(methodA); /* Ok */ 39 SEL b = @selector(methodB); /* Ok */ 40 SEL c = @selector(methodC); // expected-warning {{undeclared selector 'methodC'}} 41 SEL d = @selector(methodD); /* Ok */ 42 SEL e = @selector(methodE); /* Ok */
|
D | warn-incompatible-builtin-types.m | 10 SEL s1, s2; 24 s1 = i; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'id'}} 25 i = s1; // expected-warning {{incompatible pointer types assigning to 'id' from 'SEL'}} 29 s1 = c; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Class'}} 31 c = s1; // expected-warning {{incompatible pointer types assigning to 'Class' from 'SEL'}} 37 f = s1; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'SEL'}} 41 s1 = f; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Foo *'}}
|
D | arc-peformselector.m | 15 SEL sel1; 17 - (id)performSelector:(SEL)aSelector; argument 18 - (id)performSelector:(SEL)aSelector withObject:(id)object; argument 19 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2; argument 35 - (id)performSelector:(SEL)aSelector { return 0; } argument 36 - (id)performSelector:(SEL)aSelector withObject:(id)object { return 0; } argument 37 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2 { return 0; } argument
|
/external/llvm/test/CodeGen/Mips/llvm-ir/ |
D | select-int.ll | 12 ; RUN: -check-prefixes=ALL,SEL,SEL-32 26 ; RUN: -check-prefixes=ALL,SEL,SEL-64 49 ; SEL: andi $[[T0:[0-9]+]], $4, 1 50 ; SEL: seleqz $[[T1:[0-9]+]], $6, $[[T0]] 51 ; SEL: selnez $[[T2:[0-9]+]], $5, $[[T0]] 52 ; SEL: or $2, $[[T2]], $[[T1]] 84 ; SEL: andi $[[T0:[0-9]+]], $4, 1 85 ; SEL: seleqz $[[T1:[0-9]+]], $6, $[[T0]] 86 ; SEL: selnez $[[T2:[0-9]+]], $5, $[[T0]] 87 ; SEL: or $2, $[[T2]], $[[T1]] [all …]
|
D | select-flt.ll | 12 ; RUN: -check-prefixes=ALL,SEL-32,32R6 26 ; RUN: -check-prefixes=ALL,SEL-64,64R6 30 ; RUN: -check-prefixes=ALL,MM32R6,SEL-32 52 ; SEL-32: mtc1 $5, $[[F0:f[0-9]+]] 53 ; SEL-32: mtc1 $6, $[[F1:f[0-9]+]] 54 ; SEL-32: mtc1 $4, $f0 55 ; SEL-32: sel.s $f0, $[[F1]], $[[F0]] 61 ; SEL-64: mtc1 $4, $f0 62 ; SEL-64: sel.s $f0, $f14, $f13 91 ; SEL-32: mtc1 $6, $f0 [all …]
|
D | select-dbl.ll | 12 ; RUN: -check-prefixes=ALL,SEL-32,32R6 26 ; RUN: -check-prefixes=ALL,SEL-64,64R6 30 ; RUN: -check-prefixes=ALL,MM32R6,SEL-32 54 ; SEL-32: mtc1 $7, $[[F0:f[0-9]+]] 55 ; SEL-32: mthc1 $6, $[[F0]] 56 ; SEL-32: ldc1 $[[F1:f[0-9]+]], 16($sp) 57 ; SEL-32: mtc1 $4, $f0 58 ; SEL-32: sel.d $f0, $[[F1]], $[[F0]] 72 ; SEL-64: mtc1 $4, $f0 73 ; SEL-64: sel.d $f0, $f14, $f13 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/llvm-ir/ |
D | select-int.ll | 12 ; RUN: -check-prefixes=ALL,SEL,SEL-32 26 ; RUN: -check-prefixes=ALL,SEL,SEL-64 50 ; SEL: andi $[[T0:[0-9]+]], $4, 1 51 ; SEL: seleqz $[[T1:[0-9]+]], $6, $[[T0]] 52 ; SEL: selnez $[[T2:[0-9]+]], $5, $[[T0]] 53 ; SEL: or $2, $[[T2]], $[[T1]] 86 ; SEL: andi $[[T0:[0-9]+]], $4, 1 87 ; SEL: seleqz $[[T1:[0-9]+]], $6, $[[T0]] 88 ; SEL: selnez $[[T2:[0-9]+]], $5, $[[T0]] 89 ; SEL: or $2, $[[T2]], $[[T1]] [all …]
|
/external/clang/test/Parser/ |
D | selector-1.m | 7 SEL s = @selector(retain); 8 SEL s1 = @selector(meth1:); 9 SEL s2 = @selector(retainArgument::); 10 SEL s3 = @selector(retainArgument:::::); 11 SEL s4 = @selector(retainArgument:with:); 12 SEL s5 = @selector(meth1:with:with:); 13 SEL s6 = @selector(getEnum:enum:bool:); 14 SEL s7 = @selector(char:float:double:unsigned:short:long:); 15 SEL s9 = @selector(:enum:bool:);
|
/external/antlr/runtime/ObjC/Framework/examples/fuzzy/ |
D | Fuzzy.h | 41 SEL synpred9_FuzzySelector; 42 SEL synpred2_FuzzySelector; 43 SEL synpred7_FuzzySelector; 44 SEL synpred4_FuzzySelector; 45 SEL synpred8_FuzzySelector; 46 SEL synpred6_FuzzySelector; 47 SEL synpred5_FuzzySelector; 48 SEL synpred3_FuzzySelector; 49 SEL synpred1_FuzzySelector;
|
D | FuzzyLexer.h | 46 SEL synpred9_FuzzySelector; 47 SEL synpred7_FuzzySelector; 48 SEL synpred2_FuzzySelector; 49 SEL synpred4_FuzzySelector; 50 SEL synpred8_FuzzySelector; 51 SEL synpred6_FuzzySelector; 52 SEL synpred5_FuzzySelector; 53 SEL synpred3_FuzzySelector; 54 SEL synpred1_FuzzySelector;
|
/external/llvm/test/Transforms/InstCombine/ |
D | abs_abs.ll | 14 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 %x, i32 [[NEG]] 15 ; CHECK-NEXT: ret i32 [[SEL]] 29 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 %x, i32 [[NEG]] 30 ; CHECK-NEXT: ret i32 [[SEL]] 44 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 [[NEG]], i32 %x 45 ; CHECK-NEXT: ret i32 [[SEL]] 59 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 [[NEG]], i32 %x 60 ; CHECK-NEXT: ret i32 [[SEL]] 74 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 %x, i32 [[NEG]] 75 ; CHECK-NEXT: ret i32 [[SEL]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | cast-select.ll | 7 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 0, i32 [[Z:%.*]] 8 ; CHECK-NEXT: [[R:%.*]] = zext i32 [[SEL]] to i64 20 ; CHECK-NEXT: [[SEL:%.*]] = select <2 x i1> [[CMP]], <2 x i8> [[Z:%.*]], <2 x i8> <i8 42, i8 7> 21 ; CHECK-NEXT: [[R:%.*]] = zext <2 x i8> [[SEL]] to <2 x i32> 33 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i8 42, i8 [[Z:%.*]] 34 ; CHECK-NEXT: [[R:%.*]] = sext i8 [[SEL]] to i64 46 ; CHECK-NEXT: [[SEL:%.*]] = select <2 x i1> [[CMP]], <2 x i8> [[Z:%.*]], <2 x i8> <i8 42, i8 7> 47 ; CHECK-NEXT: [[R:%.*]] = sext <2 x i8> [[SEL]] to <2 x i32> 59 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 42, i32 [[Z:%.*]] 60 ; CHECK-NEXT: [[R:%.*]] = trunc i32 [[SEL]] to i16 [all …]
|
D | select-obo-peo-ops.ll | 460 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 4, i32 [[ADD]] 461 ; CHECK-NEXT: ret i32 [[SEL]] 475 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 4, i32 [[ADD]] 476 ; CHECK-NEXT: ret i32 [[SEL]] 490 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 4, i32 [[ADD]] 491 ; CHECK-NEXT: ret i32 [[SEL]] 505 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 4, i32 [[ADD]] 506 ; CHECK-NEXT: ret i32 [[SEL]] 520 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 -2147483648, i32 [[ADD]] 521 ; CHECK-NEXT: ret i32 [[SEL]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/X86/ |
D | select.ll | 13 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], i32 [[X:%.*]], i32 [[Y:%.*]] 14 ; CHECK-NEXT: ret i32 [[SEL]] 35 ; CHECK-NEXT: [[SEL:%.*]] = phi float [ [[DIV]], [[SELECT_TRUE_SINK]] ], [ 2.000000e+00, [[ENTRY… 36 ; CHECK-NEXT: ret float [[SEL]] 54 ; CHECK-NEXT: [[SEL:%.*]] = phi float [ 4.000000e+00, [[ENTRY:%.*]] ], [ [[DIV]], [[SELECT_FALSE… 55 ; CHECK-NEXT: ret float [[SEL]] 76 ; CHECK-NEXT: [[SEL:%.*]] = phi float [ [[DIV1]], [[SELECT_TRUE_SINK]] ], [ [[DIV2]], [[SELECT_F… 77 ; CHECK-NEXT: ret float [[SEL]] 94 ; CHECK-NEXT: [[SEL:%.*]] = select i1 [[CMP]], float [[DIV]], float 2.000000e+00, !unpredictable… 95 ; CHECK-NEXT: ret float [[SEL]] [all …]
|
/external/clang/test/Rewriter/ |
D | objc-modern-numeric-literal.mm | 59 // CHECK: NSNumber *theLetterZ = ((NSNumber *(*)(Class, SEL, char))(void *)objc_msgSend)(objc_getC… 60 // CHECK: NSNumber *fortyTwo = ((NSNumber *(*)(Class, SEL, int))(void *)objc_msgSend)(objc_getClas… 61 // CHECK: NSNumber *fortyTwoUnsigned = ((NSNumber *(*)(Class, SEL, unsigned int))(void *)objc_msgS… 62 // CHECK: NSNumber *fortyTwoLong = ((NSNumber *(*)(Class, SEL, long))(void *)objc_msgSend)(objc_ge… 63 // CHECK: NSNumber *fortyTwoLongLong = ((NSNumber *(*)(Class, SEL, long long))(void *)objc_msgSend… 64 // CHECK: NSNumber *piFloat = ((NSNumber *(*)(Class, SEL, float))(void *)objc_msgSend)(objc_getCla… 65 // CHECK: NSNumber *piDouble = ((NSNumber *(*)(Class, SEL, double))(void *)objc_msgSend)(objc_getC… 66 // CHECK: NSNumber *yesNumber = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getCl… 67 // CHECK: NSNumber *noNumber = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getCla… 68 // CHECK: NSNumber *trueNumber = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getC… [all …]
|
D | objc-modern-boxing.mm | 4 …tax-only -Werror -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -U__declspec… 64 // CHECK: NSNumber *theLetterZ = ((NSNumber *(*)(Class, SEL, char))(void *)objc_msgSend)(objc_getC… 65 // CHECK: NSNumber *fortyTwo = ((NSNumber *(*)(Class, SEL, int))(void *)objc_msgSend)(objc_getClas… 66 // CHECK: NSNumber *fortyTwoUnsigned = ((NSNumber *(*)(Class, SEL, unsigned int))(void *)objc_msgS… 67 // CHECK: NSNumber *fortyTwoLong = ((NSNumber *(*)(Class, SEL, long))(void *)objc_msgSend)(objc_ge… 68 // CHECK: NSNumber *fortyTwoLongLong = ((NSNumber *(*)(Class, SEL, long long))(void *)objc_msgSend… 69 // CHECK: NSNumber *piFloat = ((NSNumber *(*)(Class, SEL, float))(void *)objc_msgSend)(objc_getCla… 70 // CHECK: NSNumber *piDouble = ((NSNumber *(*)(Class, SEL, double))(void *)objc_msgSend)(objc_getC… 71 // CHECK: NSNumber *nsb = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getClass("N… 72 // CHECK: NSString *duplicateString = ((NSString *(*)(Class, SEL, const char *))(void *)objc_msgSe…
|
/external/clang/test/CodeGenObjC/ |
D | encode-test.m | 66 __attribute__((objc_gc(weak))) SEL selector; 69 - (SEL**) meth : (SEL) arg : (SEL*****) arg1 : (SEL*)arg2 : (SEL**) arg3; argument 74 - (SEL**) meth : (SEL) arg : (SEL*****) arg1 : (SEL*)arg2 : (SEL**) arg3 {} argument 182 const char g15[] = @encode(SEL);
|
D | nsvalue-objc-boxable-mac.m | 24 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 27 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 41 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 44 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 58 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 61 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 75 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 80 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8*{{.*}}[… 94 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 97 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8*{{.*}}[… [all …]
|
D | nsvalue-objc-boxable-ios-arc.m | 24 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 27 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 43 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 46 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 62 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 65 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 81 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 86 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8*{{.*}}[… 102 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 105 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8*{{.*}}[… [all …]
|
D | nsvalue-objc-boxable-ios.m | 24 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 27 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 41 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 44 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 58 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 61 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8* {{.*}}… 75 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 80 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8*{{.*}}[… 94 // CHECK: [[SEL:%.*]] = load i8*, i8** [[VALUE_SEL]] 97 …// CHECK: call {{.*objc_msgSend.*}}(i8* [[RECV]], i8* [[SEL]], i8* [[PARAM_CAST]], i8*{{.*}}[… [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/AMDGPU/ |
D | cttz-ctlz.ll | 9 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]] 10 ; SI-NEXT: ret i64 [[SEL]] 29 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTLZ]] 30 ; SI-NEXT: ret i32 [[SEL]] 49 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i16 16, i16 [[CTLZ]] 50 ; SI-NEXT: ret i16 [[SEL]] 69 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTTZ]] 70 ; SI-NEXT: ret i64 [[SEL]] 89 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTTZ]] 90 ; SI-NEXT: ret i32 [[SEL]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/AMDGPU/ |
D | cttz-ctlz.ll | 9 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]] 10 ; SI-NEXT: ret i64 [[SEL]] 29 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTLZ]] 30 ; SI-NEXT: ret i32 [[SEL]] 49 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i16 16, i16 [[CTLZ]] 50 ; SI-NEXT: ret i16 [[SEL]] 69 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTTZ]] 70 ; SI-NEXT: ret i64 [[SEL]] 89 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTTZ]] 90 ; SI-NEXT: ret i32 [[SEL]] [all …]
|
/external/antlr/runtime/ObjC/Framework/ |
D | TreeVisitorAction.h | 37 SEL preAction; 38 SEL postAction; 42 @property (assign, setter=setPreAction:) SEL preAction; 43 @property (assign, setter=setPostAction:) SEL postAction; 48 - (void)setPreAction:(SEL)anAction; 49 - (void)setPostAction:(SEL)anAction;
|
/external/clang/test/SemaObjCXX/ |
D | sel-address.mm | 4 void f(const SEL& v2) {} 5 void g(SEL* _Nonnull); 9 SEL s = @selector(dealloc); 10 SEL* ps = &s; 14 SEL* ps2 = &@selector(dealloc);
|