| /llvm-project-15.0.7/llvm/test/Transforms/EarlyCSE/ |
| H A D | atomics.ll | 13 %load0 = load i32, ptr %P1 15 %load1 = load i32, ptr %P1 27 %b = load i32, ptr %P1 84 store i32 0, ptr %P1, align 4 86 store i32 0, ptr %P1, align 4 98 store i32 0, ptr %P1, align 4 100 store i32 0, ptr %P1, align 4 112 store i32 0, ptr %P1, align 4 114 store i32 0, ptr %P1, align 4 126 store i32 0, ptr %P1, align 4 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/GVN/PRE/ |
| H A D | atomic.ll | 114 %load0 = load i32, i32* %P1 116 %load1 = load i32, i32* %P1 119 ; CHECK: load i32, i32* %P1 120 ; CHECK: load i32, i32* %P1 127 %b = load i32, i32* %P1 137 %b = load i32, i32* %P1 181 store i32 0, i32* %P1 373 %b = load i32, i32* %P1 420 ; CHECK: load i32, i32* %P1 430 %b = load i32, i32* %P1 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | assume-builder-counter.ll | 18 define void @test(i32* %P, i32* %P1, i32* %P2, i32* %P3) { 26 ; COUNTER1-NEXT: call void @func_strbool(i32* [[P1]]) 29 ; COUNTER1-NEXT: call void @llvm.assume(i1 true) [ "noundef"(i32* [[P1]]), "align"(i32* [[P1]], … 47 ; COUNTER2-NEXT: call void @func_strbool(i32* [[P1]]) 70 ; COUNTER3-NEXT: call void @llvm.assume(i1 true) [ "noundef"(i32* [[P1]]), "align"(i32* [[P1]], … 83 call void @func_cold(i32* dereferenceable(12) %P1) 84 call void @func(i32* %P1, i32* %P) 85 call void @func_strbool(i32* %P1) 87 call void @func_many(i32* align 8 %P1) 88 call void @func_many(i32* align 8 noundef %P1) [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/omega/ |
| H A D | p.delft2-0.c | 1 if (P1 >= 0 && P1 <= 3 && P2 >= 0 && P2 <= 3) 2 for (int c0 = P1 - 1; c0 <= 3; c0 += 1) 6 … if (P1 >= 1 && c0 + 1 == P1 && 4 * P1 >= 2 * c2 + 9 * floord(4 * P1 - 2 * c2 - 1, 9) + 7) { 7 …s0(P1 - 1, P2, c2, c3, ((-4 * P1 + 2 * c2 + 9) % 9) + 1, -4 * P2 + 2 * c3 - 9 * floord(-4 * P2 + 2… 8 } else if (P1 == 0 && c0 == 3 && c2 % 4 == 0) {
|
| H A D | p.delft2-0.in | 1 …P1, 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 … 3 [P1, P2] -> { [i0, i1, i2, i3, i4, i5] -> atomic[o0] : o0 <= 4; [i0, i1, i2, i3, i4, i5] -> separat…
|
| /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) && 62 if (P1.IsXCOFF && P1.HasType) 63 return std::tie(P1.Addr, P1.Type, P1.Name) < 66 if (P1.IsXCOFF) 67 return std::tie(P1.Addr, P1.XCOFFSymInfo, P1.Name) < 70 return std::tie(P1.Addr, P1.Name, P1.Type) <
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pair.astuple/ |
| H A D | tuple_size.pass.cpp | 22 typedef std::pair<int, short> P1; in main() typedef 23 static_assert((std::tuple_size<P1>::value == 2), ""); in main() 26 typedef std::pair<int, short> const P1; in main() typedef 27 static_assert((std::tuple_size<P1>::value == 2), ""); in main() 30 typedef std::pair<int, short> volatile P1; in main() typedef 31 static_assert((std::tuple_size<P1>::value == 2), ""); in main() 34 typedef std::pair<int, short> const volatile P1; in main() typedef 35 static_assert((std::tuple_size<P1>::value == 2), ""); in main()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | conditional-expr-3.m | 5 @protocol P1 protocol 18 void barP1(id<P1> x); 29 void f2(id<P1> x) { 34 …id<P1> l = a; // expected-warning {{initializing 'id<P1>' with an expression of incompatible type … 46 bar(cond ? (id<P0, P1>) x : a); 50 bar(cond ? a : (id<P0, P1>) x); 53 void f8(int cond, id<P0,P1> x0, id<P0,P2> x1) { 54 …barP0(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 …barP1(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2… [all …]
|
| H A D | objcbridge-attribute.m | 58 @protocol P1 @end protocol 87 (void)(id<P1, P2>)cf; // okay 93 (void)(id<P1, P2>)cf; // ok 94 (void)(id<P1, 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) { 131 (void)(id<P1>)cf; // ok 132 (void)(id<P1, P2>)cf; // ok 133 (void)(id<P1, P2, P3>)cf; // ok [all …]
|
| H A D | class-conforming-protocol-1.m | 3 @protocol P1 @end protocol 9 - (INTF<P1>*) METH1; // expected-error {{duplicate declaration of method 'METH1'}} 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;
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | objc-type-printing.m | 3 @protocol P1 @end protocol 8 - (INTF<P1>*) METH; 14 INTF<P1>* p1; 15 INTF<P1, P1>* p2; 16 INTF<P1, P3>* p3; 17 INTF<P1, P3, P2>* p4; 18 INTF<P2,P2, P3, P1>* p5;
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | conditional-expr.mm | 5 @protocol P1 protocol 18 void barP1(id<P1> x); 29 void f2(id<P1> x) { 34 …id<P1> l = a; // expected-error {{cannot initialize a variable of type 'id<P1>' with an lvalue of … 46 bar(cond ? (id<P0, P1>) x : a); 50 bar(cond ? a : (id<P0, P1>) x); 53 void f8(int cond, id<P0,P1> x0, id<P0,P2> x1) { 54 …barP0(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 …barP1(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2… [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.spec/ |
| H A D | make_pair.pass.cpp | 23 typedef std::pair<int, short> P1; in main() typedef 24 P1 p1 = std::make_pair(3, static_cast<short>(4)); in main() 31 typedef std::pair<std::unique_ptr<int>, short> P1; in main() typedef 32 P1 p1 = std::make_pair(std::unique_ptr<int>(new int(3)), static_cast<short>(4)); in main() 37 typedef std::pair<std::unique_ptr<int>, short> P1; in main() typedef 38 P1 p1 = std::make_pair(nullptr, static_cast<short>(4)); in main() 45 typedef std::pair<int, short> P1; in main() typedef 46 constexpr P1 p1 = std::make_pair(3, static_cast<short>(4)); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
| H A D | assign_rv_pair_U_V.pass.cpp | 64 typedef std::pair<Derived, short> P1; in test() typedef 66 P1 p1(Derived(), static_cast<short>(4)); in test() 93 using P1 = std::pair<MoveAssignable, long>; in test() typedef 95 static_assert(!std::is_assignable<P1&, P2&&>::value, ""); in test() 107 using P1 = std::pair<MoveAssignable&, long>; in test() typedef 109 static_assert(!std::is_assignable<P1&, P2&&>::value, ""); in test() 114 using P1 = std::pair<CopyAssignable&, long>; in test() typedef 116 static_assert(std::is_assignable<P1&, P2&&>::value, ""); in test() 122 using P1 = std::pair<MoveAssignable&&, long>; in test() typedef 124 static_assert(std::is_assignable<P1&, P2&&>::value, ""); in test() [all …]
|
| H A D | copy_ctor.pass.cpp | 23 typedef std::pair<int, short> P1; in main() typedef 24 P1 p1(3, static_cast<short>(4)); in main() 25 P1 p2 = p1; in main() 31 typedef std::pair<int, short> P1; in main() typedef 32 constexpr P1 p1(3, static_cast<short>(4)); in main() 33 constexpr P1 p2 = p1; in main()
|
| H A D | rv_pair_U_V.pass.cpp | 31 using P1 = std::pair<T1, int>; in test_pair_rv() typedef 35 static_assert(std::is_constructible<P1, UP1>::value == CanCopy, ""); in test_pair_rv() 36 static_assert(test_convertible<P1, UP1>() == CanConvert, ""); in test_pair_rv() 82 typedef std::pair<std::unique_ptr<Derived>, int> P1; in main() typedef 84 P1 p1(std::unique_ptr<Derived>(), 4); in main() 91 using P1 = DPair<long, long>; in main() typedef 93 P1 p1(42, 101); in main() 186 P1 p1(std::move(p2)); in main() 197 P1 p1(std::move(p2)); in main() 206 using P1 = std::pair<NonCopyConstructible, long>; in main() typedef [all …]
|
| H A D | const_pair_U_V.pass.cpp | 28 using P1 = std::pair<T1, int>; in test_pair_const() typedef 58 typedef std::pair<int, int> P1; in test() typedef 60 const P1 p1(3, 4); in test() 67 using P1 = DPair<long, long>; in test() typedef 69 P1 p1(42, 101); in test() 167 typedef std::pair<int, int> P1; in test() typedef 169 constexpr P1 p1(3, 4); in test() 175 using P1 = std::pair<int, int>; in test() typedef 177 constexpr P1 p1(42, 101); in test() 183 using P1 = std::pair<int, int>; in test() typedef [all …]
|
| H A D | swap.pass.cpp | 29 typedef std::pair<int, short> P1; in test() typedef 30 P1 p1(3, static_cast<short>(4)); in test() 31 P1 p2(5, static_cast<short>(6)); in test() 39 typedef std::pair<int, S> P1; in test() typedef 40 P1 p1(3, S(4)); in test() 41 P1 p2(5, S(6)); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
| H A D | is_equal.pass.cpp | 48 auto& P1 = R1.getController(); in main() local 56 assert(P1.checkIsEqualCalledEq(1)); in main() 61 assert(P1.checkIsEqualCalledEq(1)); in main() 65 auto& P1 = R1.getController(); in main() local 73 assert(P1.checkIsEqualCalledEq(1)); in main() 78 assert(P1.checkIsEqualCalledEq(1)); in main() 82 auto& P1 = R1.getController(); in main() local 90 assert(P1.checkIsEqualCalledEq(1)); in main() 95 assert(P1.checkIsEqualCalledEq(1)); in main()
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | protocols.m | 28 @protocol P1 protocol 43 @protocol P3<P1, P2> 44 -(id <P1>) print0; 54 Protocol *P1 = @protocol(P1); 59 Pbool([P0 conformsTo: P1]); 60 Pbool([P1 conformsTo: P0]); 61 Pbool([P1 conformsTo: P2]); 62 Pbool([P2 conformsTo: P1]); 63 Pbool([P3 conformsTo: P1]); 64 Pbool([P1 conformsTo: P3]); [all …]
|
| /llvm-project-15.0.7/llvm/unittests/XRay/ |
| H A D | ProfileTest.cpp | 64 Profile P0, P1; in TEST() local 71 P1 = P0; in TEST() 73 P1, UnorderedElementsAre(AllOf( in TEST() 88 Profile P0, P1; in TEST() local 95 P1 = std::move(P0); in TEST() 97 P1, UnorderedElementsAre(AllOf( in TEST() 113 Profile P0, P1; in TEST() local 125 EXPECT_FALSE(errorToBool(P1.addBlock( in TEST() 128 EXPECT_FALSE(errorToBool(P1.addBlock( in TEST() 163 Profile P0, P1; in TEST() local [all …]
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | rewrite-modern-ivars.mm | 5 @protocol P1 @end protocol 9 id<P, P1> Q_IVAR; 14 id<P, P1> (^ext_block)(id<P>, INTF<P,P1>*, INTF*); 17 INTF<P> *(*imp_fptr)(void (^_block)(id<P>, INTF<P,P1>*)); field 27 id<P, P1> Q_IVAR; 38 id<P, P1> (^ext_block)(id<P>, MISC_INTF<P,P1>*, MISC_INTF*); 62 MISC_INTF<P> *(*imp_fptr)(void (^_block)(id<P>, MISC_INTF<P,P1>*));
|
| /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/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | shared-ptr-array-mismatch.cpp | 18 std::shared_ptr<int> P1{new int}; in f1() local 37 std::shared_ptr<A> P1(new A); in f2() local 45 std::shared_ptr<int> P1{new int}, P2{new int[10]}, P3{new int[10]}; in f3() local 51 std::shared_ptr<int> P1; member 56 S() : P1{new int[10]} {} in S() 74 std::shared_ptr<T> P1{new T[10]}; in f_tmpl() local 88 CHAR_PTR_TYPE P1{new char[10]}; in f6() local
|
| /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) { 6 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 12 define <4 x float> @test_30u5(<4 x float>* %P1, <4 x float>* %P2) { 13 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 19 define <4 x float> @test_3u73(<4 x float>* %P1, <4 x float>* %P2) { 20 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 26 define <4 x float> @test_3774(<4 x float>* %P1, <4 x float>* %P2) { 27 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1] 33 define <4 x float> @test_4450(<4 x float>* %P1, <4 x float>* %P2) { 34 %V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1]
|