| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | loop-micro-op-buffer-size-t99.ll | 49 store i32 %counter, i32* %ptr 50 %val = add i32 %counter, 5 53 %val1 = add i32 %counter, 6 56 %val2 = add i32 %counter, 7 59 %val3 = add i32 %counter, 8 62 %val4 = add i32 %counter, 9 65 %val5 = add i32 %counter, 10 71 %inc = add i32 %counter, 2 89 %val.2 = add i32 %counter.2, 5 92 %val1.2 = add i32 %counter.2, 6 [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
| H A D | destroy_at.pass.cpp | 24 TEST_CONSTEXPR Counted(int* counter) : counter_(counter) { ++*counter_; } in Counted() 31 TEST_CONSTEXPR VirtualCounted(int* counter) : counter_(counter) { ++*counter_; } in VirtualCounted() 37 TEST_CONSTEXPR DerivedCounted(int* counter) : VirtualCounted(counter) { } in DerivedCounted() 50 int counter = 0; in test_arrays() local 53 assert(counter == 3); in test_arrays() 57 assert(counter == 0); in test_arrays() 68 int counter = 0; in test_arrays() local 76 assert(counter == 0); in test_arrays() 91 int counter = 0; in test() local 94 assert(counter == 2); in test() [all …]
|
| H A D | ranges_destroy_at.pass.cpp | 67 int counter = 0; in test() local 72 assert(counter == 2); in test() 75 assert(counter == 1); in test() 77 assert(counter == 0); in test() 86 int counter = 0; in test() local 91 assert(counter == 2); in test() 94 assert(counter == 1); in test() 96 assert(counter == 0); in test() 110 int counter = 0; in test_arrays() local 117 assert(counter == 3); in test_arrays() [all …]
|
| H A D | ranges_destroy.pass.cpp | 59 int counter = 0; in test() local 65 assert(counter == N); in test() 68 assert(counter == 0); in test() 78 int counter = 0; in test() local 84 assert(counter == N); in test() 88 assert(counter == 0); in test() 110 int counter = 0; in test_arrays() local 122 assert(counter == 0); in test_arrays() 135 int counter = 0; in test_arrays() local 162 int counter = 0; in test_arrays() local [all …]
|
| H A D | destroy.pass.cpp | 25 TEST_CONSTEXPR Counted(int* counter) : counter_(counter) { ++*counter_; } in Counted() 36 int counter = 0; in test_arrays() local 46 assert(counter == 5 * 3); in test_arrays() 50 assert(counter == 0); in test_arrays() 57 int counter = 0; in test_arrays() local 69 assert(counter == 5 * 3 * 2); in test_arrays() 73 assert(counter == 0); in test_arrays() 85 int counter = 0; in test() local 90 std::allocator_traits<Alloc>::construct(alloc, p, &counter); in test() 91 assert(counter == 5); in test() [all …]
|
| H A D | destroy_n.pass.cpp | 25 TEST_CONSTEXPR Counted(int* counter) : counter_(counter) { ++*counter_; } in Counted() 36 int counter = 0; in test_arrays() local 46 assert(counter == 5 * 3); in test_arrays() 51 assert(counter == 0); in test_arrays() 58 int counter = 0; in test_arrays() local 70 assert(counter == 5 * 3 * 2); in test_arrays() 75 assert(counter == 0); in test_arrays() 87 int counter = 0; in test() local 92 std::allocator_traits<Alloc>::construct(alloc, p, &counter); in test() 93 assert(counter == 5); in test() [all …]
|
| H A D | ranges_destroy_n.pass.cpp | 55 int counter = 0; in test() local 59 Traits::construct(alloc, out + i, counter); in test() 61 assert(counter == N); in test() 64 assert(counter == 0); in test() 86 int counter = 0; in test_arrays() local 92 Traits::construct(alloc, std::addressof(array_ref[j]), counter); in test_arrays() 95 assert(counter == N * M); in test_arrays() 98 assert(counter == 0); in test_arrays() 112 int counter = 0; in test_arrays() local 123 assert(counter == N * A * B); in test_arrays() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/PlaceSafepoints/ |
| H A D | finite-loops.ll | 20 %counter = phi i32 [ 0 , %entry ], [ %counter.inc , %loop ] 21 %counter.inc = add i32 %counter, 1 22 %counter.cmp = icmp slt i32 %counter.inc, 16 43 %counter.inc = add i32 %counter, 1 44 %counter.cmp = icmp slt i32 %counter.inc, 16 68 %counter.inc = add nsw i8 %counter, 1 69 %counter.cmp = icmp slt i8 %counter.inc, %upper 97 %counter.inc = add i64 %counter, 1 98 %counter.cmp = icmp slt i64 %counter.inc, %upper 127 %counter.inc = add i64 %counter, 1 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/X86/ |
| H A D | store_cost.ll | 31 store i32 %counter, i32* %ptr 32 %val = add i32 %counter, 5 35 %val1 = add i32 %counter, 6 38 %val2 = add i32 %counter, 7 41 %val3 = add i32 %counter, 8 44 %val4 = add i32 %counter, 9 47 %val5 = add i32 %counter, 10 53 %inc = add i32 %counter, 2 71 %val.2 = add i32 %counter.2, 5 74 %val1.2 = add i32 %counter.2, 6 [all …]
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | unwind_06.pass.cpp | 27 volatile int counter; variable 32 for (counter = 100; counter; counter = counter - 1) in try1() 42 for (counter = 100; counter; counter = counter - 1) in try2() 53 for (counter = 100; counter; counter = counter - 1) in try3() 65 for (counter = 100; counter; counter = counter - 1) in try4() 78 for (counter = 100; counter; counter = counter - 1) in try5() 92 for (counter = 100; counter; counter = counter - 1) in try6() 107 for (counter = 100; counter; counter = counter - 1) in try7() 123 for (counter = 100; counter; counter = counter - 1) in try8()
|
| /llvm-project-15.0.7/llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/ |
| H A D | phi-undef.ll | 5 ; CHECK: {{^ *}}%counter = 6 ; CHECK-NEXT: DIVERGENT: %break = icmp sge i32 %counter, %bound 8 ; CHECK: {{^ *}}%counter.next = 9 ; CHECK: {{^ *}}%counter.footer = 11 ; Note: %counter is not divergent! 17 %counter = phi i32 [ 0, %entry ], [ %counter.footer, %footer ] 18 %break = icmp sge i32 %counter, %bound 22 %counter.next = add i32 %counter, 1 26 %counter.footer = phi i32 [ %counter.next, %body ], [ undef, %header ]
|
| /llvm-project-15.0.7/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/ |
| H A D | phi-undef.ll | 5 ; CHECK: {{^ *}}%counter = 6 ; CHECK-NEXT: DIVERGENT: %break = icmp sge i32 %counter, %bound 8 ; CHECK: {{^ *}}%counter.next = 9 ; CHECK: {{^ *}}%counter.footer = 11 ; Note: %counter is not divergent! 17 %counter = phi i32 [ 0, %entry ], [ %counter.footer, %footer ] 18 %break = icmp sge i32 %counter, %bound 22 %counter.next = add i32 %counter, 1 26 %counter.footer = phi i32 [ %counter.next, %body ], [ undef, %header ]
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | ragged.cpp | 26 for (std::int64_t counter{0}; counter < rank; ++counter) { in RaggedArrayAllocate() local 27 size *= extentVector[counter]; in RaggedArrayAllocate() 52 for (std::size_t counter{0u}; counter < end && linearExtent > 0; in RaggedArrayDeallocate() local 53 ++counter) { in RaggedArrayDeallocate() 54 linearExtent *= raggedArrayHeader->extentPointer[counter]; in RaggedArrayDeallocate() 56 for (std::size_t counter{0u}; counter < linearExtent; ++counter) { in RaggedArrayDeallocate() local 58 raggedArrayHeader->bufferPointer)[counter]); in RaggedArrayDeallocate()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/ |
| H A D | ranges.reverse.pass.cpp | 79 int* counter; member 80 constexpr SwapCounter(int* counter_) : counter(counter_) {} in SwapCounter() 81 friend constexpr void swap(SwapCounter& lhs, SwapCounter&) { ++*lhs.counter; } in swap() 104 int counter = 0; in test() local 105 SwapCounter a[] = {&counter, &counter, &counter, &counter}; in test() 107 assert(counter == 2); in test() 110 int counter = 0; in test() local 111 SwapCounter a[] = {&counter, &counter, &counter, &counter}; in test() 113 assert(counter == 2); in test()
|
| /llvm-project-15.0.7/llvm/lib/Support/BLAKE3/ |
| H A D | blake3_dispatch.c | 139 uint8_t block_len, uint64_t counter, in blake3_compress_in_place() argument 152 blake3_compress_in_place_sse41(cv, block, block_len, counter, flags); in blake3_compress_in_place() 158 blake3_compress_in_place_sse2(cv, block, block_len, counter, flags); in blake3_compress_in_place() 181 blake3_compress_xof_sse41(cv, block, block_len, counter, flags, out); in blake3_compress_xof() 187 blake3_compress_xof_sse2(cv, block, block_len, counter, flags, out); in blake3_compress_xof() 204 blake3_hash_many_avx512(inputs, num_inputs, blocks, key, counter, in blake3_hash_many() 212 blake3_hash_many_avx2(inputs, num_inputs, blocks, key, counter, in blake3_hash_many() 220 blake3_hash_many_sse41(inputs, num_inputs, blocks, key, counter, in blake3_hash_many() 228 blake3_hash_many_sse2(inputs, num_inputs, blocks, key, counter, in blake3_hash_many() 237 blake3_hash_many_neon(inputs, num_inputs, blocks, key, counter, in blake3_hash_many() [all …]
|
| H A D | blake3_impl.h | 150 INLINE uint32_t counter_low(uint64_t counter) { return (uint32_t)counter; } in counter_low() argument 152 INLINE uint32_t counter_high(uint64_t counter) { in counter_high() argument 153 return (uint32_t)(counter >> 32); in counter_high() 196 uint8_t block_len, uint64_t counter, 245 uint8_t block_len, uint64_t counter, 250 uint64_t counter, bool increment_counter, 263 uint8_t block_len, uint64_t counter, 268 uint64_t counter, bool increment_counter, 276 uint64_t counter, bool increment_counter, 290 uint8_t block_len, uint64_t counter, [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/ |
| H A D | ftsp.py | 3 counter = 0 variable 32 global counter 33 self.count = counter 34 counter = counter + 1 39 global counter 40 counter = 0
|
| /llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/allow-retries/ |
| H A D | succeeds-within-limit.py | 12 with open(counter_file, 'w') as counter: 13 counter.write("1") 16 with open(counter_file, 'r') as counter: 17 num = int(counter.read()) 22 with open(counter_file, 'w') as counter: 23 counter.write(str(num + 1))
|
| /llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/test_retry_attempts/ |
| H A D | test.py | 10 with open(counter_file, 'w') as counter: 11 counter.write("1") 14 with open(counter_file, 'r') as counter: 15 num = int(counter.read()) 20 with open(counter_file, 'w') as counter: 21 counter.write(str(num + 1))
|
| /llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/ |
| H A D | dispatch_async.c | 19 __block CFIndex counter; in EnqueueStuff() local 24 counter = 0; in EnqueueStuff() 30 counter++; in EnqueueStuff() 33 counter--; in EnqueueStuff() 34 if(counter == 0) { in EnqueueStuff() 39 if(counter == 0) { in EnqueueStuff()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | unroll.ll | 19 %counter = phi i32 [0, %entry], [%inc, %loop.inc] 24 store i32 %counter, i32 addrspace(5)* %ptr 28 %inc = add i32 %counter, 1 29 %1 = icmp sge i32 %counter, 32 50 %counter = phi i32 [0, %entry], [%inc, %loop.inc] 54 %ptr_lds = getelementptr i32, i32 addrspace(3)* %lds, i32 %counter 61 %inc = add i32 %counter, 1 62 %cond = icmp sge i32 %counter, 128 117 %counter = phi i32 [0, %entry], [%inc, %loop.inc] 128 %inc = add i32 %counter, 1 [all …]
|
| /llvm-project-15.0.7/libc/test/integration/src/threads/ |
| H A D | thrd_test.cpp | 17 static int counter = 0; variable 19 ++counter; in thread_func() 24 for (counter = 0; counter <= thread_count;) { in create_and_join() 26 int old_counter_val = counter; in create_and_join() 32 ASSERT_EQ(counter, old_counter_val + 1); in create_and_join()
|
| /llvm-project-15.0.7/libc/test/integration/src/pthread/ |
| H A D | pthread_test.cpp | 16 static int counter = 0; variable 18 ++counter; in thread_func() 23 for (counter = 0; counter <= thread_count;) { in create_and_join() 25 int old_counter_val = counter; in create_and_join() 33 ASSERT_EQ(counter, old_counter_val + 1); in create_and_join()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Linux/ |
| H A D | check_preinit.cpp | 20 volatile int counter = 0; variable 26 lib_constructor_call = ++counter; in LibConstructor() 31 extern int counter; 39 bin_constructor_call = ++counter; in BinConstructor() 45 tsan_init_call = ++counter; in OnInitialize()
|
| /llvm-project-15.0.7/openmp/runtime/test/parallel/ |
| H A D | omp_nested.c | 19 int counter = 0; in test_omp_nested() local 25 #pragma omp parallel shared(counter) in test_omp_nested() 28 counter++; in test_omp_nested() 32 counter--; in test_omp_nested() 35 return (counter != 0); in test_omp_nested()
|