| /llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/omega/ |
| H A D | p.delft2-0.in | 1 …P2] -> { s0[In_1, P2, In_3, In_4, In_5, In_6] -> [In_1, P2, In_3, In_4, In_5, In_6] : (exists (e0 … 3 [P1, P2] -> { [i0, i1, i2, i3, i4, i5] -> atomic[o0] : o0 <= 4; [i0, i1, i2, i3, i4, i5] -> separat…
|
| H A D | p.delft2-0.c | 1 if (P1 >= 0 && P1 <= 3 && P2 >= 0 && P2 <= 3) 5 if (4 * P2 >= 2 * c3 + 9 * floord(4 * P2 - 2 * c3 - 1, 9) + 6) { 7 …s0(P1 - 1, P2, c2, c3, ((-4 * P1 + 2 * c2 + 9) % 9) + 1, -4 * P2 + 2 * c3 - 9 * floord(-4 * P2 + 2… 9 s0(3, P2, c2, c3, (-c2 / 4) + 3, -4 * P2 + 2 * c3 - 9 * floord(-4 * P2 + 2 * c3, 9));
|
| H A D | hpf-0.in | 1 …P2] -> { s0[In_1, In_1, In_3, In_3] -> [In_1, In_1, In_3, In_3] : exists (e0 = [(-2P2 - 2In_1 + In… 3 [P2, P1] -> { [i0, i1, i2, i3] -> separate[o0] : o0 >= 3; [i0, i1, i2, i3] -> atomic[o0] : o0 <= 2 }
|
| H A D | p.delft-0.in | 1 …P2, P1] -> { s0[In_1, In_1, In_3, In_3] -> [In_1, In_1, In_3, In_3] : exists (e0 = [(-2P2 - 2In_1 … 3 [P2, P1] -> { [i0, i1, i2, i3] -> separate[o0] : o0 >= 3; [i0, i1, i2, i3] -> atomic[o0] : o0 <= 2 }
|
| H A D | hpf-0.c | 1 if (P2 >= 0 && P2 <= 3 && P1 == P2) 2 for (int c0 = 0; c0 <= min(2, -P2 + 4); c0 += 1) 3 for (int c2 = (-P2 - c0 + 6) % 3; c2 <= 3; c2 += 3)
|
| H A D | p.delft-0.c | 1 if (P2 >= 0 && P2 <= 3 && P1 == P2) 2 for (int c0 = 0; c0 <= min(2, -P2 + 4); c0 += 1) 3 for (int c2 = (-P2 - c0 + 6) % 3; c2 <= 3; c2 += 3)
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-cast-align.c | 16 const volatile void *P2 = P; in test1() local 17 char *d = (char*) P2; in test1() 18 short *e = (short*) P2; in test1() 19 int *f = (int*) P2; in test1() 21 const char *g = (const char*) P2; in test1() 22 const short *h = (const short*) P2; in test1() 23 const int *i = (const int*) P2; in test1() 25 const volatile char *j = (const volatile char*) P2; in test1() 26 const volatile short *k = (const volatile short*) P2; in test1() 27 const volatile int *l = (const volatile int*) P2; in test1()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | objcbridge-attribute.m | 59 @protocol P2 @end protocol 87 (void)(id<P1, P2>)cf; // okay 93 (void)(id<P1, P2>)cf; // ok 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) { 132 (void)(id<P1, P2>)cf; // ok 133 (void)(id<P1, P2, P3>)cf; // ok [all …]
|
| H A D | class-conforming-protocol-1.m | 4 @protocol P2 @end protocol 11 - (INTF<P2,P1>*) METH2; // expected-note {{previous declaration is here}} 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 D | objcbridge-attribute-arc.m | 56 @protocol P2 @end protocol 61 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}} 107 …id)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka 'struct __CFErrorR… 110 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges… 120 …)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka 'struct __CFMyErro… 126 …oid)(id<P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka 'struct __CFMyE… 129 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka 'struct __CFMyErrorRef *') bri… 135 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) { 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) { [all …]
|
| H A D | conditional-expr-3.m | 7 @protocol P2 protocol 19 void barP2(id<P2> x); 53 void f8(int cond, id<P0,P1> x0, id<P0,P2> x1) { 54 …0(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2>')}} 57 void f9(int cond, id<P0,P1> x0, id<P0,P2> x1) { 58 …1(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2>')}} 61 void f10(int cond, id<P0,P1> x0, id<P0,P2> x1) { 62 …2(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2>')}}
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
| H A D | assign_rv_pair_U_V.pass.cpp | 65 typedef std::pair<ConstexprTestTypes::MoveOnly, long> P2; in test() typedef 67 P2 p2; in test() 94 using P2 = std::pair<MoveAssignable&, int>; in test() typedef 95 static_assert(!std::is_assignable<P1&, P2&&>::value, ""); in test() 108 using P2 = std::pair<MoveAssignable&, int>; in test() typedef 109 static_assert(!std::is_assignable<P1&, P2&&>::value, ""); in test() 115 using P2 = std::pair<CopyAssignable&, int>; in test() typedef 116 static_assert(std::is_assignable<P1&, P2&&>::value, ""); in test() 123 using P2 = std::pair<MoveAssignable&&, int>; in test() typedef 124 static_assert(std::is_assignable<P1&, P2&&>::value, ""); in test() [all …]
|
| H A D | rv_pair_U_V.pass.cpp | 32 using P2 = std::pair<int, T1>; in test_pair_rv() typedef 37 static_assert(std::is_constructible<P2, UP2>::value == CanCopy, ""); in test_pair_rv() 38 static_assert(test_convertible<P2, UP2>() == CanConvert, ""); in test_pair_rv() 83 typedef std::pair<std::unique_ptr<Base>, long> P2; in main() typedef 85 P2 p2 = std::move(p1); in main() 92 using P2 = std::pair<int, int>; in main() typedef 94 P2 p2(std::move(p1)); in main() 181 using P2 = std::pair<NotCopyOrMoveConstructible&, int>; in main() typedef 185 P2 p2{obj, 3}; in main() 196 P2 p2{std::move(obj), 3}; in main() [all …]
|
| H A D | const_pair_U_V.pass.cpp | 29 using P2 = std::pair<int, T1>; in test_pair_const() typedef 59 typedef std::pair<double, long> P2; in test() typedef 61 const P2 p2 = p1; in test() 68 using P2 = std::pair<int, int>; in test() typedef 70 P2 p2(p1); in test() 168 typedef std::pair<double, long> P2; in test() typedef 170 constexpr P2 p2 = p1; in test() 176 using P2 = std::pair<ExplicitT, ExplicitT>; in test() typedef 178 constexpr P2 p2(p1); in test() 184 using P2 = std::pair<ImplicitT, ImplicitT>; in test() typedef [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
| H A D | is_equal.pass.cpp | 52 auto& P2 = R2.getController(); in main() local 57 assert(P2.checkIsEqualCalledEq(0)); in main() 60 assert(P2.checkIsEqualCalledEq(1)); in main() 69 auto& P2 = R2.getController(); in main() local 74 assert(P2.checkIsEqualCalledEq(0)); in main() 77 assert(P2.checkIsEqualCalledEq(1)); in main() 86 auto& P2 = R2.getController(); in main() local 91 assert(P2.checkIsEqualCalledEq(0)); in main() 94 assert(P2.checkIsEqualCalledEq(1)); in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/MCDisassembler/ |
| H A D | MCDisassembler.h | 57 friend bool operator<(const SymbolInfoTy &P1, const SymbolInfoTy &P2) { 58 assert((P1.IsXCOFF == P2.IsXCOFF && P1.HasType == P2.HasType) && 64 std::tie(P2.Addr, P2.Type, P2.Name); 68 std::tie(P2.Addr, P2.XCOFFSymInfo, P2.Name); 71 std::tie(P2.Addr, P2.Name, P2.Type);
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | uniqueptr-delete-release.cpp | 33 auto P2 = P; in Positives() local 34 delete P2.release(); in Positives() 40 delete (P2.release()); in Positives() 96 NotUniquePtr P2; in Negatives() local 97 delete P2.release(); in Negatives() 100 delete (P2.release)(); in Negatives() 112 std::unique_ptr<int, D> P2; in NegativeDeleterT() local 113 delete P2.release(); in NegativeDeleterT()
|
| /llvm-project-15.0.7/llvm/test/Analysis/BasicAA/ |
| H A D | modref.ll | 49 %P2 = getelementptr i8, i8* %P, i32 127 52 %A = load i8, i8* %P2 61 %P2 = getelementptr i8, i8* %P, i32 126 66 %A = load i8, i8* %P2 79 %P2 = getelementptr i8, i8* %P, i32 2 82 store i8 2, i8* %P2 93 %P2 = getelementptr i8, i8* %P, i32 2 94 store i8 %Y, i8* %P2 191 call i32 @func_argmemonly(i32* %P2) 199 define i32 @test10(i32* %P, i32* %P2) { [all …]
|
| /llvm-project-15.0.7/clang/test/Misc/ |
| H A D | diagnostic-crash.cpp | 17 template <bool del, class R, class T, class P1, class P2, class A1> 20 template <bool del, class T, class P1, class P2, class A1> 21 class AAAAAAAResultCallback_2_1< del, void, T, P1, P2, A1> : 26 template <class T1, class T2, class R, class P1, class P2, class A1> 27 inline typename AAAAAAAResultCallback_2_1<true, R, T1, P1, P2, A1>::base* 28 NewCallback(T1* obj, R(T2::* member)(P1, P2, A1), const P1& p1, const P2& p2) {} in NewCallback() argument
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | vec_perf_shuffle.ll | 5 define <4 x float> @test_uu72(<4 x float>* %P1, <4 x float>* %P2) { 7 %V2 = load <4 x float>, <4 x float>* %P2 ; <<4 x float>> [#uses=1] 12 define <4 x float> @test_30u5(<4 x float>* %P1, <4 x float>* %P2) { 14 %V2 = load <4 x float>, <4 x float>* %P2 ; <<4 x float>> [#uses=1] 19 define <4 x float> @test_3u73(<4 x float>* %P1, <4 x float>* %P2) { 21 %V2 = load <4 x float>, <4 x float>* %P2 ; <<4 x float>> [#uses=1] 26 define <4 x float> @test_3774(<4 x float>* %P1, <4 x float>* %P2) { 28 %V2 = load <4 x float>, <4 x float>* %P2 ; <<4 x float>> [#uses=1] 33 define <4 x float> @test_4450(<4 x float>* %P1, <4 x float>* %P2) { 35 %V2 = load <4 x float>, <4 x float>* %P2 ; <<4 x float>> [#uses=1]
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | objcbridge-attribute-arc.mm | 41 @protocol P2 @end protocol 46 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}} 92 …(void)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *… 95 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka '__CFErrorRef *') bridges to NSE… 105 …oid)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorRef… 111 …(void)(id<P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorR… 114 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bridges to… 120 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) { 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) { [all …]
|
| H A D | objcbridge-attribute.mm | 41 @protocol P2 @end protocol 46 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}} 92 …(void)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *… 95 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka '__CFErrorRef *') bridges to NSE… 105 …oid)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorRef… 111 …(void)(id<P2, P3>)cf; // expected-error {{cast of C pointer type 'CFMyErrorRef' (aka '__CFMyErrorR… 114 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bridges to… 120 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) { 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) { [all …]
|
| /llvm-project-15.0.7/llvm/test/FileCheck/ |
| H A D | allow-unused-prefixes.txt | 1 ; RUN: %ProtectFileCheckOutput not FileCheck --allow-unused-prefixes=false --check-prefixes=P1,P2 -… 2 ; RUN: %ProtectFileCheckOutput not FileCheck --allow-unused-prefixes=false --check-prefixes=P1,P2,P… 3 ; RUN: FileCheck --allow-unused-prefixes=true --check-prefixes=P1,P2 --input-file %S/Inputs/one-ch… 4 ; RUN: FileCheck --allow-unused-prefixes=false --allow-unused-prefixes=true --check-prefixes=P1,P2 … 5 ; RUN: not FileCheck --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-chec… 7 ; MISSING-ONE: error: no check strings found with prefix 'P2:' 8 ; MISSING-MORE: error: no check strings found with prefixes 'P2:', 'P3:'
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | partial-reinitialization2.c | 6 struct P2 { int a, b, c; } g2 = { 1, 2, 3 }; struct 7 struct LP2 { struct P2 p2; }; 8 struct LP2P2 { struct P2 p1, p2; }; 9 union UP2 { struct P2 p2; }; 43 struct P2 get235(void) in get235() 45 struct P2 p = { 2, 3, 5 }; in get235()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | TypesTest.cpp | 53 PointerType *P2 = PointerType::get(Int8, 1); in TEST() local 54 EXPECT_FALSE(P2->isOpaque()); in TEST() 55 PointerType *P2C = PointerType::getWithSamePointeeType(P2, 1); in TEST() 56 EXPECT_EQ(P2, P2C); in TEST() 58 PointerType *P2C0 = PointerType::getWithSamePointeeType(P2, 0); in TEST() 59 EXPECT_NE(P2, P2C0); in TEST()
|