| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/ |
| H A D | static_pointer_cast.pass.cpp | 49 assert(pB.get() == pA.get()); in main() 50 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 55 assert(pB.get() == pA.get()); in main() 56 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 61 assert(pB.get() == pA.get()); in main() 62 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 68 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 74 assert(pB.get() == pA.get()); in main() 75 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 80 assert(pB.get() == pA.get()); in main() [all …]
|
| H A D | const_pointer_cast.pass.cpp | 48 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() local 49 assert(pB.get() == pA.get()); in main() 50 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 54 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() local 55 assert(pB.get() == pA.get()); in main() 56 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 61 std::shared_ptr<A[8]> pB = std::const_pointer_cast<A[8]>(pA); in main() local 62 assert(pB.get() == pA.get()); in main() 63 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
|
| H A D | dynamic_pointer_cast.pass.cpp | 49 const std::shared_ptr<B> pB(new A); in main() local 50 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main() 51 assert(pA.get() == pB.get()); in main() 52 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 55 const std::shared_ptr<B> pB(new B); in main() local 56 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main() 62 const std::shared_ptr<B[8]> pB(new B[8]); in main() local 63 std::shared_ptr<A[8]> pA = std::dynamic_pointer_cast<A[8]>(pB); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
| H A D | shared_ptr.pass.cpp | 53 pB = pA; in main() 56 assert(pB.use_count() == 2); in main() 59 assert(pB.get() == ptrA); in main() 72 pB = pA; in main() 78 assert(pB.get() == ptrA); in main() 90 std::shared_ptr<A> pB; in main() local 91 pB = pA; in main() 97 assert(pB.get() == ptrA); in main() 109 std::shared_ptr<A> pB; in main() local 110 pB = pA; in main() [all …]
|
| H A D | shared_ptr_Y.pass.cpp | 51 pB = pA; in main() 54 assert(pB.use_count() == 2); in main() 57 assert(pB.get() == ptrA); in main() 70 pB = pA; in main() 76 assert(pB.get() == ptrA); in main() 88 std::shared_ptr<B> pB; in main() local 89 pB = pA; in main() 95 assert(pB.get() == ptrA); in main() 107 std::shared_ptr<B> pB; in main() local 108 pB = pA; in main() [all …]
|
| H A D | auto_ptr_Y.pass.cpp | 54 pB = std::move(pA); in main() 57 assert(pB.use_count() == 1); in main() 59 assert(pB.get() == ptrA); in main() 71 pB = std::move(pA); in main() 76 assert(pB.get() == ptrA); in main() 87 std::shared_ptr<B> pB; in main() local 88 pB = std::move(pA); in main() 93 assert(pB.get() == ptrA); in main() 104 std::shared_ptr<B> pB; in main() local 105 pB = std::move(pA); in main() [all …]
|
| H A D | shared_ptr_rv.pass.cpp | 53 pB = std::move(pA); in main() 56 assert(pB.use_count() == 1); in main() 59 assert(pB.get() == ptrA); in main() 72 pB = std::move(pA); in main() 78 assert(pB.get() == ptrA); in main() 90 std::shared_ptr<A> pB; in main() local 91 pB = std::move(pA); in main() 97 assert(pB.get() == ptrA); in main() 109 std::shared_ptr<A> pB; in main() local 110 pB = std::move(pA); in main() [all …]
|
| H A D | shared_ptr_Y_rv.pass.cpp | 54 pB = std::move(pA); in main() 57 assert(pB.use_count() == 1); in main() 60 assert(pB.get() == ptrA); in main() 73 pB = std::move(pA); in main() 79 assert(pB.get() == ptrA); in main() 91 std::shared_ptr<B> pB; in main() local 92 pB = std::move(pA); in main() 98 assert(pB.get() == ptrA); in main() 110 std::shared_ptr<B> pB; in main() local 111 pB = std::move(pA); in main() [all …]
|
| H A D | unique_ptr_Y.pass.cpp | 64 pB = std::move(pA); in main() 67 assert(pB.use_count() == 1); in main() 69 assert(pB.get() == ptrA); in main() 81 pB = std::move(pA); in main() 86 assert(pB.get() == ptrA); in main() 97 std::shared_ptr<B> pB; in main() local 98 pB = std::move(pA); in main() 103 assert(pB.get() == ptrA); in main() 114 std::shared_ptr<B> pB; in main() local 115 pB = std::move(pA); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
| H A D | shared_ptr_pointer.pass.cpp | 50 std::shared_ptr<B> pB(pA, &b); in main() local 54 assert(pB.use_count() == 2); in main() 55 assert(pB.get() == &b); in main() 70 std::shared_ptr<B const> pB(pA, &b); in main() local 74 assert(pB.use_count() == 2); in main() 75 assert(pB.get() == &b); in main() 105 std::shared_ptr<B> pB(std::move(pA), &b); in main() local 109 assert(pB.use_count() == 2); in main() 110 assert(pB.get() == &b); in main()
|
| H A D | shared_ptr_Y_rv.pass.cpp | 70 std::shared_ptr<B> pB(std::move(pA)); in main() local 74 assert(pB.use_count() == 1); in main() 77 assert(pB.use_count() == 2); in main() 80 assert(p == pB.get()); in main() 100 std::shared_ptr<B> pB(std::move(pA)); in main() local 103 assert(pB.use_count() == 0); in main() 105 assert(pA.get() == pB.get()); in main() 135 std::shared_ptr<B const> pB(std::move(pA)); in main() local 136 assert(pB.get() == p); in main()
|
| H A D | shared_ptr_Y.pass.cpp | 88 std::shared_ptr<B> pB(pA); in main() local 91 assert(pB.use_count() == 2); in main() 93 assert(pA.get() == pB.get()); in main() 107 std::shared_ptr<B> pB(pA); in main() local 110 assert(pB.use_count() == 0); in main() 112 assert(pA.get() == pB.get()); in main() 157 std::shared_ptr<B const> pB(pA); in main() local 158 assert(pB.get() == pA.get()); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
| H A D | weak_ptr.pass.cpp | 50 std::weak_ptr<A> pB; in main() local 51 pB = pA; in main() 54 assert(pB.use_count() == 1); in main() 68 std::weak_ptr<A> pB; in main() local 69 pB = std::move(pA); in main() 72 assert(pB.use_count() == 1); in main()
|
| H A D | weak_ptr_Y.pass.cpp | 52 std::weak_ptr<B> pB; in main() local 53 pB = pA; in main() 56 assert(pB.use_count() == 1); in main() 70 std::weak_ptr<B> pB; in main() local 71 pB = std::move(pA); in main() 74 assert(pB.use_count() == 1); in main()
|
| H A D | shared_ptr_Y.pass.cpp | 50 std::weak_ptr<B> pB; in main() local 51 pB = pA; in main() 54 assert(pB.use_count() == 1); in main()
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | target_map_codegen_25.cpp | 59 float &pB; member 61 CC(float &B) : fB(B), pB(B) { in CC() 65 #pragma omp parallel firstprivate(fA,fB) private(pA,pB) in CC() 186 #pragma omp target map(pB) in CC() 188 pB += 1.0; in CC()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | SwizzleShuff.ll | 6 define void @pull_bitcast(ptr %pA, ptr %pB) { 13 %B = load <4 x i8>, ptr %pB 19 define <4 x i32> @multi_use_swizzle(ptr %pA, ptr %pB) { 29 %B = load <4 x i32>, ptr %pB 37 define <4 x i8> @pull_bitcast2(ptr %pA, ptr %pB, ptr %pC) { 48 %B = load <4 x i8>, ptr %pB 54 define <4 x i32> @reverse_1(ptr %pA, ptr %pB) { 60 %B = load <4 x i32>, ptr %pB 66 define <4 x i32> @no_reverse_shuff(ptr %pA, ptr %pB) { 72 %B = load <4 x i32>, ptr %pB
|
| H A D | 2011-10-27-tstore.ll | 9 define void @ltstore(ptr %pA, ptr %pB) { 13 store <2 x i32> %j, ptr %pB
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
| H A D | weak_ptr_Y.pass.cpp | 71 std::weak_ptr<B> pB(pA); in main() local 74 assert(pB.use_count() == 0); in main() 89 std::weak_ptr<B> pB(pA); in main() local 92 assert(pB.use_count() == 0); in main() 105 std::weak_ptr<B> pB(std::move(pA)); in main() local 106 assert(pB.use_count() == 1); in main()
|
| H A D | weak_ptr.pass.cpp | 73 std::weak_ptr<A> pB(pA); in main() local 76 assert(pB.use_count() == 1); in main() 91 std::weak_ptr<A> pB(pA); in main() local 94 assert(pB.use_count() == 0); in main()
|
| H A D | shared_ptr_Y.pass.cpp | 66 std::weak_ptr<B> pB(pA); in main() local 69 assert(pB.use_count() == 1); in main() 84 std::weak_ptr<B> pB(pA); in main() local 87 assert(pB.use_count() == 0); in main()
|
| /llvm-project-15.0.7/openmp/libomptarget/test/unified_shared_memory/ |
| H A D | api.c | 54 int *pA, *pB, *pC; in main() local 58 pB = &B[0]; in main() 68 omp_target_memcpy(d_B, pB, N * sizeof(int), 0, 0, device, in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ARM/ |
| H A D | mve-selectandorcost.ll | 14 define float @test(float* nocapture readonly %pA, float* nocapture readonly %pB, i32 %blockSize) #0… 98 %pB.addr.019 = phi float* [ %incdec.ptr1, %if.end ], [ %pB, %entry ] 103 %incdec.ptr1 = getelementptr inbounds float, float* %pB.addr.019, i32 1 104 %1 = load float, float* %pB.addr.019, align 4
|
| /llvm-project-15.0.7/mlir/test/Dialect/Linalg/ |
| H A D | transform-op-vectorize.mlir | 61 // CHECK: %[[pB:.*]] = tensor.pad 67 // CHECK: %[[vB:.+]] = vector.transfer_read %[[pB]]
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | noalias_scope_decl.ll | 60 !7 = distinct !{!7, !4, !"test: pB"}
|