| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.spec/ |
| H A D | comparison.pass.cpp | 32 assert( (p1 == p2)); in main() 33 assert(!(p1 != p2)); in main() 34 assert(!(p1 < p2)); in main() 35 assert( (p1 <= p2)); in main() 36 assert(!(p1 > p2)); in main() 37 assert( (p1 >= p2)); in main() 43 assert(!(p1 == p2)); in main() 44 assert( (p1 != p2)); in main() 45 assert( (p1 < p2)); in main() 46 assert( (p1 <= p2)); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/ |
| H A D | rel.pass.cpp | 61 assert((p1 < p2) == !(p1 > p2)); in main() 62 assert((p1 < p2) == (p1 <= p2)); in main() 63 assert((p1 < p2) == !(p1 >= p2)); in main() 68 assert((p1 < p2) == !(p1 > p2)); in main() 69 assert((p1 < p2) == (p1 <= p2)); in main() 75 assert((p1 < p2) == !(p1 > p2)); in main() 76 assert((p1 < p2) == (p1 <= p2)); in main() 82 assert((p1 < p2) == !(p1 > p2)); in main() 83 assert((p1 < p2) == (p1 <= p2)); in main() 89 assert((p1 < p2) == (p1 > p2)); in main() [all …]
|
| H A D | eq.pass.cpp | 53 assert(!(p1 == p2)); in main() 54 assert(p1 != p2); in main() 59 assert(!(p1 == p2)); in main() 60 assert(p1 != p2); in main() 65 assert(!(p1 == p2)); in main() 66 assert(p1 != p2); in main() 71 assert(!(p1 == p2)); in main() 72 assert(p1 != p2); in main() 77 assert(p1 == p2); in main() 78 assert(!(p1 != p2)); in main() [all …]
|
| H A D | cmp_nullptr.pass.cpp | 59 const std::unique_ptr<int> p2; in main() local 60 assert( (p2 == nullptr)); in main() 61 assert( (nullptr == p2)); in main() 62 assert(!(p2 < nullptr)); in main() 63 assert(!(nullptr < p2)); in main() 64 assert( (p2 <= nullptr)); in main() 65 assert( (nullptr <= p2)); in main() 66 assert(!(p2 > nullptr)); in main() 67 assert(!(nullptr > p2)); in main() 68 assert( (p2 >= nullptr)); in main() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | protocol-id-test-3.m | 13 return p2; 21 return p2; 27 return p2; 46 return p2; 53 return p2; 59 return p2; 76 return p2; 81 return p2; 87 return p2; 92 Iunc(p2); [all …]
|
| H A D | incompatible-protocol-qualified-types.m | 11 …NTF <MyProto1> * Func(INTF <MyProto1, MyProto2> *p2) // expected-note{{passing argument to paramet… 13 return p2; 17 INTF <MyProto1> * Func1(INTF <MyProto1, MyProto2> *p2) 19 return p2; 22 INTF <MyProto1, MyProto2> * Func2(INTF <MyProto1> *p2) 24 …Func(p2); // expected-warning {{incompatible pointer types passing 'INTF<MyProto1> *' to parameter… 25 …return p2; // expected-warning {{incompatible pointer types returning 'INTF<MyProto1> *' from a fu… 30 INTF <MyProto1> * Func3(INTF <MyProto2> *p2) 32 …return p2; // expected-warning {{incompatible pointer types returning 'INTF<MyProto2> *' from a fu… 36 INTF <MyProto1, MyProto2> * Func4(INTF <MyProto2, MyProto1> *p2) [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/cert/ |
| H A D | env34-c.c | 35 char *p, *p2; in getenv_test2() local 50 char *p, *p2, *p3; in getenv_test3() local 90 *p2; in getenv_test5() 96 char *p, *p2; in getenv_test6() local 118 *p2; in getenv_test6() 124 char *p, *p2; in getenv_test7() local 163 char *p, *p2; in getenv_test9() local 216 char *p, *p2; in setlocale_test1() local 233 char *p, *p2; in setlocale_test2() local 254 char *p, *p2; in strerror_test1() local [all …]
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-generated-matchers.h | 447 p2##_type const p2;\ 471 p2##_type const p2;\ 511 p2##_type const p2;\ 538 p2##_type const p2;\ 584 p2##_type const p2;\ 613 p2##_type const p2;\ 691 p2##_type const p2;\ 775 p2##_type const p2;\ 866 p2##_type const p2;\ 962 p2##_type const p2;\ [all …]
|
| H A D | gmock-generated-actions.h | 916 p2##_type p2;\ 925 p2##_type p2;\ 984 p2##_type p2;\ 994 p2##_type p2;\ 1061 p2##_type p2;\ 1072 p2##_type p2;\ 1154 p2##_type p2;\ 1243 p2##_type p2;\ 1340 p2##_type p2;\ 1443 p2##_type p2;\ [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/ |
| H A D | swap.pass.cpp | 31 path p2(value2); in main() local 36 swap(p1, p2); in main() 37 ASSERT_NOEXCEPT(swap(p1, p2)); in main() 40 assert(p2.native() == ps1); in main() 41 swap(p1, p2); in main() 43 assert(p2.native() == ps2); in main() 49 path p2(value2); in main() local 55 swap(p1, p2); in main() 59 assert(p2.native() == ps1); in main() 60 swap(p1, p2); in main() [all …]
|
| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | resolve102.f90 | 6 PROCEDURE(sub) :: p2 local 18 subroutine sub(p2) 19 procedure(p) :: p2 local 33 subroutine sub(p2) 52 Subroutine sub(p2) 76 procedure(p1) p2 local 77 procedure(p2) p1 79 call p2 85 procedure(p1) p2 local 87 procedure(p2) p3 [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/ |
| H A D | tsan_mman_test.cpp | 24 EXPECT_NE(p2, (char*)0); in TEST() 25 EXPECT_NE(p2, p); in TEST() 30 ((char*)p2)[i] = 42; in TEST() 33 Free(p2); in TEST() 42 EXPECT_NE(p2, (char*)0); in TEST() 43 EXPECT_NE(p2, p); in TEST() 47 user_free(thr, pc, p2); in TEST() 72 EXPECT_EQ(p2, (void*)0); in TEST() 83 user_free(thr, pc, p2); in TEST() 93 user_free(thr, pc, p2); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
| H A D | swap.pass.cpp | 38 std::shared_ptr<A> p2(ptr2); in main() local 39 p1.swap(p2); in main() 43 assert(p2.get() == ptr1); in main() 56 std::shared_ptr<A> p2; in main() local 57 p1.swap(p2); in main() 61 assert(p2.get() == ptr1); in main() 75 p1.swap(p2); in main() 79 assert(p2.get() == ptr1); in main() 92 std::shared_ptr<A> p2; in main() local 93 p1.swap(p2); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
| H A D | swap.pass.cpp | 39 std::shared_ptr<A> p2(ptr2); in main() local 40 swap(p1, p2); in main() 44 assert(p2.get() == ptr1); in main() 57 std::shared_ptr<A> p2; in main() local 58 swap(p1, p2); in main() 62 assert(p2.get() == ptr1); in main() 76 swap(p1, p2); in main() 80 assert(p2.get() == ptr1); in main() 93 std::shared_ptr<A> p2; in main() local 94 swap(p1, p2); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
| H A D | cmp_nullptr.pass.cpp | 59 const std::shared_ptr<int> p2; in main() local 60 assert( (p2 == nullptr)); in main() 61 assert( (nullptr == p2)); in main() 62 assert(!(p2 < nullptr)); in main() 63 assert(!(nullptr < p2)); in main() 64 assert( (p2 <= nullptr)); in main() 65 assert( (nullptr <= p2)); in main() 66 assert(!(p2 > nullptr)); in main() 67 assert(!(nullptr > p2)); in main() 68 assert( (p2 >= nullptr)); in main() [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/Disassembler/Hexagon/ |
| H A D | cr.txt | 6 # CHECK: p3 = !fastcorner9(p2,p1) 8 # CHECK: p1 = fastcorner9(p2,p3) 12 # CHECK: p1 = any8(p2) 14 # CHECK: p1 = all8(p2) 46 # CHECK: p1 = and(p3,p2) 50 # CHECK: p1 = or(p3,p2) 54 # CHECK: p1 = xor(p2,p3) 58 # CHECK: p1 = and(p2,!p3) 60 # CHECK: p1 = or(p2,or(p3,p3)) 66 # CHECK: p1 = not(p2) [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/ |
| H A D | path.compare.pass.cpp | 87 const path p2(TC.RHS); in test_compare_basic() local 115 assert((p1 == p2) == (E == 0)); in test_compare_basic() 116 assert((p1 != p2) == (E != 0)); in test_compare_basic() 117 assert((p1 < p2) == (E < 0)); in test_compare_basic() 123 ASSERT_NOEXCEPT(p1 == p2); in test_compare_basic() 124 ASSERT_NOEXCEPT(p1 != p2); in test_compare_basic() 125 ASSERT_NOEXCEPT(p1 < p2); in test_compare_basic() 126 ASSERT_NOEXCEPT(p1 <= p2); in test_compare_basic() 127 ASSERT_NOEXCEPT(p1 > p2); in test_compare_basic() 128 ASSERT_NOEXCEPT(p1 >= p2); in test_compare_basic() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/ |
| H A D | fpos.pass.cpp | 63 std::streampos p2(42); in main() local 67 assert(p2 != q1); in main() 69 assert(p2 != q2); in main() 73 std::streampos p2 = p1 + o1; in main() local 74 assert(p2 == 84); in main() 78 assert(p2 == 84); in main() 82 std::streampos p2 = p1 - o1; in main() local 83 assert(p2 == 42); in main() 87 assert(p2 == 42); in main() 91 std::streampos p2 = o1 + p1; in main() local [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/AArch64/SME/ |
| H A D | mova.s | 66 mova z17.b, p2/m, za0h.b[w14, 1] 72 mova z29.b, p2/m, za0h.b[w12, 6] 84 mova z7.b, p2/m, za0h.b[w13, 12] 140 mov z17.b, p2/m, za0h.b[w14, 1] 146 mov z29.b, p2/m, za0h.b[w12, 6] 158 mov z7.b, p2/m, za0h.b[w13, 12] 215 mova z17.b, p2/m, za0v.b[w14, 1] 221 mova z29.b, p2/m, za0v.b[w12, 6] 233 mova z7.b, p2/m, za0v.b[w13, 12] 382 mova z7.h, p2/m, za1h.h[w13, 4] [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | hf16call32_body.ll | 56 %p2.addr = alloca float, align 4 58 store float %p2, float* %p2.addr, align 4 80 %p2.addr = alloca double, align 8 82 store double %p2, double* %p2.addr, align 8 105 %p2.addr = alloca float, align 4 107 store float %p2, float* %p2.addr, align 4 132 store double %p2, double* %p2.addr, align 8 208 store float %p2, float* %p2.addr, align 4 233 store double %p2, double* %p2.addr, align 8 259 store float %p2, float* %p2.addr, align 4 [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
| H A D | assign_rv_pair.pass.cpp | 57 P p2; in test() local 58 p2 = std::move(p1); in test() 59 assert(p2.first.value == 3); in test() 60 assert(p2.second == 4); in test() 69 P p2(x2, std::move(y2)); in test() local 70 p1 = std::move(p2); in test() 83 P p2; in test() local 84 p = std::move(p2); in test() 87 assert(p2.first.moved == 0); in test() 94 P p2; in test() local [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | path-resolution.modulemap | 19 // Next, move the whole tree p1 -> p2. 22 // RUN: mv %t/p1 %t/p2 23 // RUN: cd %t/p2 29 // RUN: mkdir %t/p2/c 31 // RUN: grep "<CH>" %s > %t/p2/c/c.h 37 // (unrelated) a.modulemap in the path p2/p2. 39 // RUN: rm %t/p2/a.modulemap 40 // RUN: mkdir -p %t/p2/p2 41 // RUN: touch %t/p2/p2/a.modulemap 46 // p2/p2/a.modulemap via the path c/../p2/a.modulemap, which is not the correct [all …]
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | noderef.c | 28 int *p2; in test() local 31 x = *((int NODEREF *)p2); // expected-warning{{dereferencing expression marked as 'noderef'}} in test() 38 p2 = *q2; // expected-warning{{dereferencing q2; was declared with a 'noderef' type}} in test() 54 *q2 = p2; // expected-warning{{dereferencing q2; was declared with a 'noderef' type}} in test() 75 …p2 = &s->a; // expected-warning{{casting to dereferenceable pointer removes 'noderef' attribute}} in test() 102 p2 = q2[0]; // expected-warning{{dereferencing q2; was declared with a 'noderef' type}} in test() 134 …p2 = p, p2 = *q; // expected-warning 2 {{casting to dereferenceable pointer removes 'noderef' a… in test() 192 q = (int NODEREF **)&p2; in test() 194 q = &p2; in test() 235 int *p2 [[clang::noderef]]; // expected-warning {{'noderef' attribute ignored}} in test_standard_syntax() local [all …]
|
| /llvm-project-15.0.7/libc/AOR_v20.02/string/aarch64/ |
| H A D | strcmp-sve.S | 37 cmpeq p2.b, p1/z, z0.b, z1.b /* compare strings */ 39 nands p2.b, p1/z, p2.b, p3.b /* ~(eq & ~zero) -> ne | zero */ 43 1: brkb p2.b, p1/z, p2.b /* find first such */ 44 lasta w0, p2, z0.b /* extract each char */ 45 lasta w1, p2, z1.b 53 cmpeq p2.b, p0/z, z0.b, z1.b /* compare strings, as above */ 55 nands p2.b, p0/z, p2.b, p3.b
|
| /llvm-project-15.0.7/llvm/test/Transforms/StraightLineStrengthReduce/ |
| H A D | slsr-gep.ll | 14 ; p2 = p1 + s; 15 ; foo(*p2); 31 call void @foo(i32* %p2) 44 ; p2 = p1 + (long)s; 45 ; foo(*p2); 63 call void @foo(i32* %p2) 77 ; p2 = p1 + 5s; 78 ; foo(*p2); 96 call void @foo(i32* %p2) 165 ; p2 = &input[s << 126] [all …]
|