| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
| H A D | destroy.pass.cpp | 40 for (Array* p = pool; p != pool + 5; ++p) { in test_arrays() 48 std::destroy(pool, pool + 5); in test_arrays() 49 ASSERT_SAME_TYPE(decltype(std::destroy(pool, pool + 5)), void); in test_arrays() 52 std::allocator_traits<Alloc>::deallocate(alloc, pool, 5); in test_arrays() 61 for (Array* p = pool; p != pool + 5; ++p) { in test_arrays() 71 std::destroy(pool, pool + 5); in test_arrays() 72 ASSERT_SAME_TYPE(decltype(std::destroy(pool, pool + 5)), void); in test_arrays() 89 for (Counted* p = pool; p != pool + 5; ++p) in test() 93 std::destroy(It(pool), It(pool + 5)); in test() 94 ASSERT_SAME_TYPE(decltype(std::destroy(It(pool), It(pool + 5))), void); in test() [all …]
|
| H A D | destroy_n.pass.cpp | 40 for (Array* p = pool; p != pool + 5; ++p) { in test_arrays() 48 Array* p = std::destroy_n(pool, 5); in test_arrays() 50 assert(p == pool + 5); in test_arrays() 53 std::allocator_traits<Alloc>::deallocate(alloc, pool, 5); in test_arrays() 62 for (Array* p = pool; p != pool + 5; ++p) { in test_arrays() 72 Array* p = std::destroy_n(pool, 5); in test_arrays() 74 assert(p == pool + 5); in test_arrays() 91 for (Counted* p = pool; p != pool + 5; ++p) in test() 95 It it = std::destroy_n(It(pool), 5); in test() 97 assert(it == It(pool + 5)); in test() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/XCore/ |
| H A D | atomic.ll | 18 @pool = external global i64 24 ; CHECK: ldw r[[R0:[0-9]+]], dp[pool] 25 ; CHECK-NEXT: ldaw r[[R1:[0-9]+]], dp[pool] 36 %2 = load atomic i8, i8* bitcast (i64* @pool to i8*) acquire, align 1 38 ; CHECK-NEXT: ldw r4, dp[pool] 48 %5 = load atomic i8, i8* bitcast (i64* @pool to i8*) seq_cst, align 1 51 ; CHECK-NEXT: stw r[[R0]], dp[pool] 60 store atomic i8 %2, i8* bitcast (i64* @pool to i8*) release, align 1 63 ; CHECK-NEXT: stw r4, dp[pool] 77 ; CHECK-NEXT: ldw r[[R0]], dp[pool] [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ |
| H A D | uninitialized_value_construct.pass.cpp | 62 ThrowsCounted* p = (ThrowsCounted*)pool; in test_ctor_throws() 77 alignas(Counted) char pool[sizeof(Counted)*N] = {}; in test_counted() 78 Counted* p = (Counted*)pool; in test_counted() 93 int pool[N] = {-1, -1, -1, -1, -1}; in test_value_initialized() local 94 int* p = pool; in test_value_initialized() 96 assert(pool[0] == 0); in test_value_initialized() 97 assert(pool[1] == -1); in test_value_initialized() 99 assert(pool[1] == 0); in test_value_initialized() 100 assert(pool[2] == 0); in test_value_initialized() 101 assert(pool[3] == 0); in test_value_initialized() [all …]
|
| H A D | uninitialized_value_construct_n.pass.cpp | 61 ThrowsCounted* p = (ThrowsCounted*)pool; in test_ctor_throws() 78 alignas(Counted) char pool[sizeof(Counted)*N] = {}; in test_counted() 79 Counted* p = (Counted*)pool; in test_counted() 96 int pool[N] = {-1, -1, -1, -1, -1}; in test_value_initialized() local 97 int* p = pool; in test_value_initialized() 100 assert(pool[0] == 0); in test_value_initialized() 101 assert(pool[1] == -1); in test_value_initialized() 104 assert(pool[1] == 0); in test_value_initialized() 105 assert(pool[2] == 0); in test_value_initialized() 106 assert(pool[3] == 0); in test_value_initialized() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
| H A D | destroy.pass.cpp | 88 CountDestructor* pool = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() local 90 std::allocator_traits<Alloc>::construct(alloc, pool, &destructors); in test() 93 std::allocator_traits<Alloc>::destroy(alloc, pool); in test() 96 std::allocator_traits<Alloc>::deallocate(alloc, pool, 1); in test() 102 T* pool = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() local 103 std::allocator_traits<Alloc>::construct(alloc, pool, nullptr); in test() 104 std::allocator_traits<Alloc>::destroy(alloc, pool); in test() 105 std::allocator_traits<Alloc>::deallocate(alloc, pool, 1); in test() 113 CountDestructor* pool = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() local 118 std::allocator_traits<Alloc>::destroy(alloc, pool); in test() [all …]
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | atautorelease-check.m | 71 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 76 // the following pool was not released in this scope, don't touch it. 81 [pool drain]; 90 id x = pool; // We won't touch a NSAutoreleasePool if we can't safely 96 [pool release]; 103 // 'x' is declared inside the "pool scope" but used outside it, if we create 104 // a @autorelease scope it will be undefined outside it so don't touch the pool. 107 [pool release]; // expected-note {{scope ends here}} 118 [pool release]; // expected-note {{scope ends here}} 130 [pool release]; // expected-note {{scope ends here}} [all …]
|
| H A D | atautorelease.m | 11 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 14 NSAutoreleasePool * pool = [NSAutoreleasePool new]; 16 [pool drain]; 18 [pool drain]; 43 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 45 [pool release]; 57 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 58 [pool drain];
|
| H A D | cxx-rewrite.mm | 14 NSAutoreleasePool *pool = [NSAutoreleasePool new]; 16 [pool drain]; 27 NSAutoreleasePool *pool = [NSAutoreleasePool new]; 31 [pool drain];
|
| H A D | atautorelease-3.m | 18 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 26 [pool drain]; 30 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 39 [pool drain];
|
| /llvm-project-15.0.7/llvm/test/MC/ARM/ |
| H A D | pool.s | 6 .global pool 7 .type pool,%function 8 pool: label 11 .pool 13 @ CHECK-LABEL: pool
|
| H A D | ltorg.s | 11 @ check that ltorg dumps the constant pool at the current location 21 @ constant pool 31 @ check that ltorg clears the constant pool after dumping it 41 @ constant pool 55 @ constant pool 65 @ check that ltorg does not issue an error if there is no constant pool 88 @ constant pool 108 @ constant pool 124 @ should not have a constant pool at end of section with empty constant pools 130 @ should have a non-empty constant pool at end of this section [all …]
|
| H A D | ltorg-darwin.s | 11 @ check that ltorg dumps the constant pool at the current location 21 @ constant pool 33 @ check that ltorg clears the constant pool after dumping it 43 @ constant pool 59 @ constant pool 71 @ check that ltorg does not issue an error if there is no constant pool 94 @ constant pool 116 @ constant pool 135 @ should not have a constant pool at end of section with empty constant pools 141 @ should have a non-empty constant pool at end of this section [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/Checkers/ |
| H A D | RunLoopAutoreleaseLeakChecker.m | 32 …the autorelease pool followed by the launch of main run loop may never get released; consider movi… 38 void runloop_init_before_separate_pool(void) { // No warning: separate autorelease pool. 51 …in the autorelease pool followed by the launch of xpc_main may never get released; consider moving… 59 …the autorelease pool followed by the launch of main run loop may never get released; consider movi… 84 …the autorelease pool followed by the launch of main run loop may never get released; consider movi… 94 …orelease pool of last resort followed by the launch of main run loop may never get released; consi… 125 …utorelease pool of last resort followed by the launch of xpc_main may never get released; consider… 159 …orelease pool of last resort followed by the launch of main run loop may never get released; consi…
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | autoreleasewritechecker_test.m | 98 …expected-warning{{Write to autoreleasing out parameter inside autorelease pool that may exit befor… 172 … locally-scoped autorelease pool; consider writing first to a strong local variable declared outsi… 205 … locally-scoped autorelease pool; consider writing first to a strong local variable declared outsi… 213 … locally-scoped autorelease pool; consider writing first to a strong local variable declared outsi… 214 … locally-scoped autorelease pool; consider writing first to a strong local variable declared outsi… 243 … locally-scoped autorelease pool; consider writing first to a strong local variable declared outsi… 255 …expected-warning{{Write to autoreleasing out parameter inside autorelease pool that may exit befor… 258 …expected-warning{{Write to autoreleasing out parameter inside autorelease pool that may exit befor… 261 …expected-warning{{Write to autoreleasing out parameter inside autorelease pool that may exit befor… 264 …expected-warning{{Write to autoreleasing out parameter inside autorelease pool that may exit befor… [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | aix-vector-vararg-caller.ll | 15 …IT: [[LXVW4X:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc]] :: (load (s128) from constant-pool) 19 …: [[LXVW4X1:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc1]] :: (load (s128) from constant-pool) 23 …: [[LXVW4X2:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc2]] :: (load (s128) from constant-pool) 27 …: [[LXVW4X3:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc3]] :: (load (s128) from constant-pool) 31 …: [[LXVW4X4:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc4]] :: (load (s128) from constant-pool) 35 …: [[LXVW4X5:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc5]] :: (load (s128) from constant-pool) 39 …: [[LXVW4X6:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc6]] :: (load (s128) from constant-pool) 43 …: [[LXVW4X7:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc7]] :: (load (s128) from constant-pool) 47 …: [[LXVW4X8:%[0-9]+]]:vsrc = LXVW4X $zero, killed [[LWZtoc8]] :: (load (s128) from constant-pool) 74 … [[LXVW4X:%[0-9]+]]:vsrc = LXVW4X $zero8, killed [[LDtocCPT]] :: (load (s128) from constant-pool) [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | vector-constrained-fp-intrinsics-flags.ll | 5 …t:%[0-9]+]]:fr32 = MOVSSrm_alt $rip, 1, $noreg, %const.0, $noreg :: (load (s32) from constant-pool) 6 …OVSSrm_alt]], $rip, 1, $noreg, %const.1, $noreg, implicit $mxcsr :: (load (s32) from constant-pool) 17 …t:%[0-9]+]]:fr32 = MOVSSrm_alt $rip, 1, $noreg, %const.0, $noreg :: (load (s32) from constant-pool) 19 …OVSSrm_alt]], $rip, 1, $noreg, %const.1, $noreg, implicit $mxcsr :: (load (s32) from constant-pool) 20 …OVSSrm_alt]], $rip, 1, $noreg, %const.2, $noreg, implicit $mxcsr :: (load (s32) from constant-pool) 40 …rm:%[0-9]+]]:vr128 = MOVAPDrm $rip, 1, $noreg, %const.0, $noreg :: (load (s128) from constant-pool) 41 …[MOVAPDrm]], $rip, 1, $noreg, %const.1, $noreg, implicit $mxcsr :: (load (s128) from constant-pool) 42 …[MOVAPDrm]], $rip, 1, $noreg, %const.2, $noreg, implicit $mxcsr :: (load (s128) from constant-pool)
|
| /llvm-project-15.0.7/clang/tools/include-mapping/ |
| H A D | cppreference_parser.py | 121 def _GetSymbols(pool, root_dir, index_page_name, namespace, variants_to_accept): argument 146 pool.apply_async(_ReadSymbolPage, (path, symbol_name)))) 175 pool = multiprocessing.Pool( 179 symbols.extend(_GetSymbols(pool, root_dir, page_name, namespace, 182 pool.terminate() 183 pool.join()
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | demangle_tree.py | 83 def process_one_chunk(pool, chunk_size, objdump, context): argument 118 mapped_results = list(pool.map(copier, objs)) 137 def process_pending_files(pool, chunk_size, objdump, context): argument 139 process_one_chunk(pool, chunk_size, objdump, context) 150 pool = Pool(processes=pool_size) 179 process_pending_files(pool, pool_size, args.objdump, context) 182 process_one_chunk(pool, pool_size, args.objdump, context) 209 pool.close() 210 pool.join()
|
| /llvm-project-15.0.7/llvm/tools/opt-viewer/ |
| H A D | optpmap.py | 47 pool = multiprocessing.Pool(initializer=_init, 50 result = pool.map(_wrapped_func, func_and_args, *args, **kwargs) 51 pool.close() 52 pool.join()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/ |
| H A D | uninitialized_fill.pass.cpp | 54 char pool[sizeof(B)*N] = {0}; in main() local 55 B* bp = (B*)pool; in main() 76 char pool[N*sizeof(Nasty)] = {0}; in main() local 77 Nasty* bp = (Nasty*)pool; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
| H A D | uninitialized_fill_n.pass.cpp | 53 char pool[sizeof(B)*N] = {0}; in main() local 54 B* bp = (B*)pool; in main() 77 char pool[N*sizeof(Nasty)] = {0}; in main() local 78 Nasty* bp = (Nasty*)pool; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/ |
| H A D | uninitialized_copy.pass.cpp | 54 char pool[sizeof(B)*N] = {0}; in main() local 55 B* bp = (B*)pool; in main() 78 char pool[sizeof(Nasty)*N] = {0}; in main() local 79 Nasty * p = (Nasty *) pool; in main()
|
| H A D | uninitialized_copy_n.pass.cpp | 54 char pool[sizeof(B)*N] = {0}; in main() local 55 B* bp = (B*)pool; in main() 78 char pool[sizeof(Nasty)*N] = {0}; in main() local 79 Nasty * p = (Nasty *) pool; in main()
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | run.py | 69 pool = multiprocessing.Pool(self.workers, lit.worker.initialize, 73 pool.apply_async(lit.worker.execute, args=[test], 76 pool.close() 81 pool.terminate() 84 pool.join()
|