Home
last modified time | relevance | path

Searched refs:P3 (Results 1 – 25 of 120) sorted by relevance

12345

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dclass-conforming-protocol-1.m5 @protocol P3 @end protocol
12 - (INTF<P2,P1,P3>*) METH2; // expected-error {{duplicate declaration of method 'METH2'}}
14 - (INTF<P2,P1,P3>*) METH3; // expected-note {{previous declaration is here}}
15 - (INTF<P3,P1,P2, P3>*) METH3; // expected-warning {{multiple declarations of method 'METH3' found …
19 INTF<P2,P1,P3>* p1;
H A Dobjcbridge-attribute.m60 @protocol P3 @end protocol
64 @interface NSError<P1, P2, P3> @end // expected-note 3 {{declared here}}
94 (void)(id<P1, P2, P3>)cf; // ok
95 (void)(id<P2, P3>)cf; // ok
99 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
107 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
121 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
133 (void)(id<P1, P2, P3>)cf; // ok
134 (void)(id<P1, P2, P3, P4>)cf; // ok
135 …P2, P3, P4, P5>)cf; // expected-warning {{'CFMyPersonalErrorRef' (aka 'struct __CFMyPersonalErrorR…
H A Dobjcbridge-attribute-arc.m57 @protocol P3 @end protocol
61 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}}
123 …1, P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka 'struct __CFMyErrorR…
126 …)(id<P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka 'struct __CFMyErro…
135 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
148 …(void)(CFErrorRef)P23; // expected-error {{cast of Objective-C pointer type 'id<P2,P3>' to C point…
153 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
177 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
205 …P3>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka 'struct __CFMyPerso…
208 …P3, P4>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka 'struct __CFMyP…
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dshared-ptr-array-mismatch.cpp23 std::shared_ptr< int > P3{new int[10]}; in f1() local
41 std::shared_ptr<A[]> P3(new A[10]); in f2() local
45 std::shared_ptr<int> P1{new int}, P2{new int[10]}, P3{new int[10]}; in f3() local
54 std::shared_ptr<int> P3{new int}, P4{new int[10]}; member
93 CHAR_PTR_INIT(P3, new char[10]); in f6()
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjc-type-printing.m5 @protocol P3 @end protocol
16 INTF<P1, P3>* p3;
17 INTF<P1, P3, P2>* p4;
18 INTF<P2,P2, P3, P1>* p5;
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dassume-builder-counter.ll18 define void @test(i32* %P, i32* %P1, i32* %P2, i32* %P3) {
20 ; COUNTER1-SAME: (i32* [[P:%.*]], i32* [[P1:%.*]], i32* [[P2:%.*]], i32* [[P3:%.*]]) {
31 ; COUNTER1-NEXT: call void @func_argattr(i32* [[P2]], i32* [[P3]])
32 ; COUNTER1-NEXT: call void @func_argattr2(i32* [[P2]], i32* [[P3]])
51 ; COUNTER2-NEXT: call void @func_argattr(i32* [[P2]], i32* [[P3]])
52 ; COUNTER2-NEXT: call void @func_argattr2(i32* [[P2]], i32* [[P3]])
72 ; COUNTER3-NEXT: call void @func_argattr(i32* [[P2]], i32* [[P3]])
73 …oundef"(i32* [[P2]]), "align"(i32* [[P2]], i64 8), "noundef"(i32* [[P3]]), "nonnull"(i32* [[P3]]) ]
74 ; COUNTER3-NEXT: call void @func_argattr2(i32* [[P2]], i32* [[P3]])
89 call void @func_argattr(i32* %P2, i32* %P3)
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dbuildvec_canonicalize.ll3 define void @VXOR(<4 x float>* %P1, <4 x i32>* %P2, <4 x float>* %P3) {
4 %tmp = load <4 x float>, <4 x float>* %P3 ; <<4 x float>> [#uses=1]
7 store <4 x float> %tmp4, <4 x float>* %P3
18 define void @VSPLTI(<4 x i32>* %P2, <8 x i16>* %P3) {
20 … store <8 x i16> < i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1 >, <8 x i16>* %P3
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dassign_rv_pair_U_V.pass.cpp99 using P3 = std::pair<MoveAssignable, long>; in test() typedef
101 static_assert(std::is_assignable<P3&, P4&&>::value, ""); in test()
126 using P3 = std::pair<CopyAssignable&&, long>; in test() typedef
128 static_assert(std::is_assignable<P3&, P4&&>::value, ""); in test()
138 using P3 = std::pair<NotAssignable&&, long>; in test() typedef
140 static_assert(!std::is_assignable<P3&, P4&&>::value, ""); in test()
H A Dassign_rv_pair.pass.cpp104 using P3 = std::pair<NotAssignable, NotAssignable>; in test() typedef
107 static_assert(!std::is_move_assignable<P3>::value, ""); in test()
121 using P3 = std::pair<MoveAssignable&&, int>; in test() typedef
123 static_assert(std::is_move_assignable<P3>::value, ""); in test()
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dprotocols.m43 @protocol P3<P1, P2> protocol
49 void *p = @protocol(P3);
56 Protocol *P3 = @protocol(P3);
63 Pbool([P3 conformsTo: P1]);
64 Pbool([P1 conformsTo: P3]);
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dobjcbridge-attribute-arc.mm42 @protocol P3 @end protocol
46 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}}
108 …id<P1, P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorRef …
111 …oid)(id<P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorRef…
120 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
133 …(void)(CFErrorRef)P23; // expected-error {{cast of Objective-C pointer type 'id<P2,P3>' to C point…
138 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
162 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
190 …2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka '__CFMyPersonalE…
193 … P3, P4>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka '__CFMyPersona…
[all …]
H A Dobjcbridge-attribute.mm42 @protocol P3 @end protocol
46 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}}
108 …id<P1, P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorRef …
111 …oid)(id<P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorRef…
120 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
133 …(void)(CFErrorRef)P23; // expected-error {{cast of Objective-C pointer type 'id<P2,P3>' to C point…
138 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
162 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
190 …2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka '__CFMyPersonalE…
193 … P3, P4>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka '__CFMyPersona…
[all …]
H A Dreferences.mm41 @protocol P3 @end protocol
43 @interface bar : foo <P1, P2, P3> {} @end
53 void f5d(foo<P3>&);
/llvm-project-15.0.7/clang/test/Modules/Inputs/
H A Dredecl-merge-right.h51 @protocol P4, P3;
52 @protocol P3;
53 @protocol P3;
54 @protocol P3;
H A Dcategory_left_sub.h5 @protocol P3
10 @interface Foo(LeftP3) <P3>
/llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/
H A DOverwriteStoreBegin.ll8 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[ARRAYIDX0]] to i8*
68 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[ARRAYIDX0]] to i8*
87 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
103 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
120 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
136 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
156 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
216 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
231 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
246 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[P:%.*]] to i8*
[all …]
H A Dmultiblock-memintrinsics.ll16 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[ARRAYIDX0]] to i8*
17 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* align 4 [[P3]], i8 0, i64 28, i1 false)
49 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[ARRAYIDX0]] to i8*
50 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* align 4 [[P3]], i8 0, i64 28, i1 false)
88 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[ARRAYIDX0]] to i8*
89 ; CHECK-NEXT: [[TMP0:%.*]] = getelementptr inbounds i8, i8* [[P3]], i64 4
129 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[ARRAYIDX0]] to i8*
130 ; CHECK-NEXT: [[TMP0:%.*]] = getelementptr inbounds i8, i8* [[P3]], i64 4
166 ; CHECK-NEXT: [[P3:%.*]] = bitcast i32* [[ARRAYIDX0]] to i8*
167 ; CHECK-NEXT: [[TMP0:%.*]] = getelementptr inbounds i8, i8* [[P3]], i64 4
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-protocol-conformance.m49 // Test5 - conforms to P3 because it implement's P3's property.
50 @protocol P3 protocol
58 @interface Test5 : NSObject<P3>
65 @protocol P5 <P3, P4>
69 @protocol P6 <P3, P4, P5>
H A Dobjcmt-protocol-conformance.m.result49 // Test5 - conforms to P3 because it implement's P3's property.
50 @protocol P3
58 @interface Test5 : NSObject<P3, P4>
65 @protocol P5 <P3, P4>
69 @protocol P6 <P3, P4, P5>
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/memory/pointer.conversion/
H A Dto_address.pass.cpp34 struct P3 { struct
35 TEST_CONSTEXPR explicit P3(int *p) : p_(p) { } in P3() function
40 struct std::pointer_traits<P3> { argument
41 static TEST_CONSTEXPR int *to_address(const P3& p) { return p.p_; } in to_address()
116 P3 p3(&i); in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/pointer.conversion/
H A Dto_address.pass.cpp36 struct P3 { struct
37 constexpr explicit P3(int *p) : p_(p) { } in P3() argument
42 struct std::pointer_traits<P3> { argument
43 static constexpr int *to_address(const P3& p) { return p.p_; } in to_address()
118 P3 p3(&i); in test()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DSymbolStringPoolTest.cpp26 auto P3 = SP.intern("goodbye"); in TEST() local
29 EXPECT_NE(P1, P3) << "Inequal pooled symbol strings comparing equal"; in TEST()
34 (void)(P1 < P3); in TEST()
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dreferences.mm31 @protocol P3 @end protocol
33 @interface bar : foo <P1, P2, P3> {} @end
38 void f5d(foo<P3>&);
/llvm-project-15.0.7/libc/utils/mathtools/
H A Dexpm1f.sollya33 > P3 := fpminimax(f, [|0,...,6|], [|24...|], [1/8, log(2)], relative);
35 > log2(supnorm(P3, f, [1/8, log(2)], relative, 2^(-50)));
38 > P3;
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/
H A Dstores_vectorize.ll19 ; CHECK-NEXT: store i64 5, i64* [[P3:%.*]], align 8
28 ; CHECK-NEXT: [[TMP2:%.*]] = bitcast i64* [[P3]] to <4 x i64>*
31 ; CHECK-NEXT: [[TMP5:%.*]] = bitcast i64* [[P3]] to <4 x i64>*
82 ; CHECK-NEXT: [[ARRAYIDX14:%.*]] = getelementptr inbounds i64, i64* [[P3]], i64 4
83 ; CHECK-NEXT: [[TMP0:%.*]] = bitcast i64* [[P3]] to <4 x i64>*
127 ; CHECK-NEXT: store i64 5, i64* [[P3:%.*]], align 8
152 ; CHECK-NEXT: [[TMP2:%.*]] = bitcast i64* [[P3]] to <4 x i64>*
155 ; CHECK-NEXT: [[TMP5:%.*]] = bitcast i64* [[P3]] to <4 x i64>*
206 ; CHECK-NEXT: store i64 5, i64* [[P3:%.*]], align 8
232 ; CHECK-NEXT: [[TMP2:%.*]] = bitcast i64* [[P3]] to <4 x i64>*
[all …]

12345