| /llvm-project-15.0.7/clang/test/CoverageMapping/ |
| H A D | break.c | 4 int cnt = 0; // CHECK-NEXT: File 0, [[@LINE+1]]:9 -> [[@LINE+1]]:18 = #0 in main() local 5 while(cnt < 100) { // CHECK: File 0, [[@LINE]]:20 -> [[@LINE+3]]:4 = #1 in main() 7 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE+1]]:4 = 0 in main() 9 while(cnt < 100) { // CHECK: File 0, [[@LINE]]:20 -> [[@LINE+6]]:4 = #2 in main() 12 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+3]]:4 = 0 in main() 14 ++cnt; in main() 16 while(cnt < 100) { // CHECK: File 0, [[@LINE]]:20 -> [[@LINE+7]]:4 = #3 in main() 18 if(cnt == 0) { // CHECK: File 0, [[@LINE]]:18 -> [[@LINE+3]]:6 = #4 in main() 24 while(cnt < 100) { // CHECK: File 0, [[@LINE]]:20 -> [[@LINE+8]]:4 = #5 in main() 26 if(cnt == 0) { // CHECK: File 0, [[@LINE]]:18 -> [[@LINE+2]]:6 = #6 in main() [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_scan.c | 30 isl_int_add_ui(cnt->count, cnt->count, 1); in increment_counter() 34 if (isl_int_is_zero(cnt->max) || isl_int_lt(cnt->count, cnt->max)) in increment_counter() 43 isl_int_add(cnt->count, cnt->count, max); in increment_range() 44 isl_int_sub(cnt->count, cnt->count, min); in increment_range() 45 isl_int_add_ui(cnt->count, cnt->count, 1); in increment_range() 47 if (isl_int_is_zero(cnt->max) || isl_int_lt(cnt->count, cnt->max)) in increment_range() 49 isl_int_set(cnt->count, cnt->max); in increment_range() 260 isl_int_init(cnt.max); in isl_basic_set_count_upto() 265 isl_int_lt(cnt.count, cnt.max)) in isl_basic_set_count_upto() 286 isl_int_init(cnt.max); in isl_set_count_upto() [all …]
|
| H A D | isl_factorization.c | 172 g->cnt[i] = 1; in init_groups() 187 while (g->cnt[p] == 0) in update_group() 211 g->cnt[g->group[i]] += g->cnt[g->group[k]]; in update_group_i_with_row_j() 212 g->cnt[g->group[k]] = 0; in update_group_i_with_row_j() 215 g->cnt[g->group[k]] += g->cnt[g->group[i]]; in update_group_i_with_row_j() 216 g->cnt[g->group[i]] = 0; in update_group_i_with_row_j() 257 free(g->cnt); in clear_groups() 299 if (g.cnt[0] == nvar) { in isl_basic_set_factorizer() 312 for (i = 1; i < g.cnt[group]; ++i) { in isl_basic_set_factorizer() 325 done += g.cnt[group]; in isl_basic_set_factorizer() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | lzcnt-tzcnt.ll | 17 %cond = select i1 %tobool, i16 16, i16 %cnt 29 %cond = select i1 %tobool, i32 32, i32 %cnt 41 %cond = select i1 %tobool, i64 64, i64 %cnt 53 %cond = select i1 %tobool, i16 16, i16 %cnt 65 %cond = select i1 %tobool, i32 32, i32 %cnt 77 %cond = select i1 %tobool, i64 64, i64 %cnt 90 %cond = select i1 %tobool, i16 16, i16 %cnt 103 %cond = select i1 %tobool, i32 32, i32 %cnt 116 %cond = select i1 %tobool, i64 64, i64 %cnt 129 %cond = select i1 %tobool, i16 16, i16 %cnt [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/BPF/ |
| H A D | shifts.ll | 7 %shr = lshr i8 %a, %cnt 15 %shr = ashr i8 %a, %cnt 23 %shl = shl i8 %a, %cnt 31 %shr = lshr i16 %a, %cnt 39 %shr = ashr i16 %a, %cnt 47 %shl = shl i16 %a, %cnt 56 %shr = lshr i32 %a, %cnt 64 %shr = ashr i32 %a, %cnt 72 %shl = shl i32 %a, %cnt 80 %shr = lshr i64 %a, %cnt [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/test/env/ |
| H A D | base_ptr_ref_count.c | 19 int *cnt; variable 21 ++(*cnt); in foo() 31 cnt = malloc(sizeof(int)); in main() 32 *cnt = 0; in main() 33 #pragma omp target map(cnt[:1]) in main() 35 printf("Cnt = %d.\n", *cnt); in main() 37 *cnt = 0; in main() 38 #pragma omp target data map(cnt[:1]) in main() 41 printf("Cnt = %d.\n", *cnt); in main() 43 free(cnt); in main()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64-vpopcnt.ll | 9 ; CHECK-NEXT: cnt v0.8b, v0.8b 12 ret <8 x i8> %cnt 20 ; CHECK-NEXT: cnt v0.8b, v0.8b 24 ret <4 x i16> %cnt 32 ; CHECK-NEXT: cnt v0.8b, v0.8b 37 ret <2 x i32> %cnt 51 ret <1 x i64> %cnt 62 ret <16 x i8> %cnt 74 ret <8 x i16> %cnt 87 ret <4 x i32> %cnt [all …]
|
| H A D | sve-intrinsics-counting-elems.ll | 36 %out = mul i64 %cnt, 3 51 %out = mul i64 %cnt, 4 84 %out = mul i64 %cnt, 5 99 %out = mul i64 %cnt, 8 132 %out = mul i64 %cnt, 11 147 %out = mul i64 %cnt, 2 180 %out = mul i64 %cnt, 15 195 %out = mul i64 %cnt, 16 295 %mul = mul i64 %cnt, 4 332 %mul = mul i64 %cnt, 8 [all …]
|
| H A D | sve-intrinsics-counting-elems-i32.ll | 22 %conv = trunc i64 %cnt to i32 41 %conv = trunc i64 %cnt to i32 65 %conv = trunc i64 %cnt to i32 84 %conv = trunc i64 %cnt to i32 106 %conv = trunc i64 %cnt to i32 126 %conv = trunc i64 %cnt to i32 150 %conv = trunc i64 %cnt to i32 170 %conv = trunc i64 %cnt to i32 194 %conv = trunc i64 %cnt to i32 214 %conv = trunc i64 %cnt to i32 [all …]
|
| H A D | sve-intrinsics-counting-bits.ll | 108 ; CHECK-NEXT: cnt z0.b, p0/m, z1.b 110 %out = call <vscale x 16 x i8> @llvm.aarch64.sve.cnt.nxv16i8(<vscale x 16 x i8> %a, 119 ; CHECK-NEXT: cnt z0.h, p0/m, z1.h 121 %out = call <vscale x 8 x i16> @llvm.aarch64.sve.cnt.nxv8i16(<vscale x 8 x i16> %a, 130 ; CHECK-NEXT: cnt z0.s, p0/m, z1.s 132 %out = call <vscale x 4 x i32> @llvm.aarch64.sve.cnt.nxv4i32(<vscale x 4 x i32> %a, 141 ; CHECK-NEXT: cnt z0.d, p0/m, z1.d 152 ; CHECK-NEXT: cnt z0.h, p0/m, z1.h 163 ; CHECK-NEXT: cnt z0.h, p0/m, z1.h 174 ; CHECK-NEXT: cnt z0.s, p0/m, z1.s [all …]
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp_safe_c_api.h | 35 #define KMP_MEMCPY(dst, src, cnt) memcpy_s(dst, cnt, src, cnt) argument 48 #define KMP_STRNCPY(dst, src, cnt) strncpy_s(dst, cnt, src, cnt) 51 #define KMP_VSNPRINTF(dst, cnt, fmt, arg) \ 52 vsnprintf_s(dst, cnt, _TRUNCATE, fmt, arg) 59 #define KMP_MEMCPY_S(dst, bsz, src, cnt) memcpy(dst, src, cnt) 63 #define KMP_STRNCPY_S(dst, bsz, src, cnt) strncpy(dst, src, cnt)
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | for_codegen.cpp | 620 char &cnt = i; in for_with_global_lcv() local 622 for (cnt = 0; cnt < 2; ++cnt) in for_with_global_lcv() 623 k = cnt; in for_with_global_lcv() 635 char &cnt = i; in for_with_references() local 637 for (cnt = 0; cnt < 2; ++cnt) in for_with_references() 638 for (int j = cnt; j < 4 + cnt; j++) in for_with_references() 639 k = cnt; in for_with_references() 651 char &cnt = i; in for_with_references_dep_cond() local 653 for (cnt = 0; cnt < 2; ++cnt) in for_with_references_dep_cond() 654 for (int j = 0; j < 4 + cnt; j++) in for_with_references_dep_cond() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | popcnt.ll | 6 %cnt = tail call i64 @llvm.ppc.popcntb(i64 %x) 7 ret i64 %cnt 15 %cnt = tail call i64 @llvm.ppc.popcntb(i64 %y) 16 %res = trunc i64 %cnt to i32 24 %cnt = tail call i8 @llvm.ctpop.i8(i8 %x) 25 ret i8 %cnt 36 %cnt = tail call i16 @llvm.ctpop.i16(i16 %x) 37 ret i16 %cnt 48 %cnt = tail call i32 @llvm.ctpop.i32(i32 %x) 49 ret i32 %cnt [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MSP430/ |
| H A D | shifts.ll | 5 define zeroext i8 @lshr8(i8 zeroext %a, i8 zeroext %cnt) nounwind readnone { 10 %shr = lshr i8 %a, %cnt 14 define signext i8 @ashr8(i8 signext %a, i8 zeroext %cnt) nounwind readnone { 18 %shr = ashr i8 %a, %cnt 22 define zeroext i8 @shl8(i8 zeroext %a, i8 zeroext %cnt) nounwind readnone { 26 %shl = shl i8 %a, %cnt 30 define zeroext i16 @lshr16(i16 zeroext %a, i16 zeroext %cnt) nounwind readnone { 35 %shr = lshr i16 %a, %cnt 43 %shr = ashr i16 %a, %cnt 47 define zeroext i16 @shl16(i16 zeroext %a, i16 zeroext %cnt) nounwind readnone { [all …]
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | ICF.cpp | 63 int cnt = 0; member in lld::coff::ICF 121 chunks[i]->eqClass[(cnt + 1) % 2] = mid; in segregate() 144 return ia.eqClass[cnt % 2] == ib.eqClass[cnt % 2]; in assocEquals() 167 d1->getChunk()->eqClass[cnt % 2] == d2->getChunk()->eqClass[cnt % 2]; in equalsConstant() 192 return d1->getChunk()->eqClass[cnt % 2] == d2->getChunk()->eqClass[cnt % 2]; in equalsVariable() 203 if (chunks[begin]->eqClass[cnt % 2] != chunks[i]->eqClass[cnt % 2]) in findBoundary() 223 ++cnt; in forEachClass() 244 ++cnt; in forEachClass() 278 for (unsigned cnt = 0; cnt != 2; ++cnt) { in run() local 280 uint32_t hash = sc->eqClass[cnt % 2]; in run() [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | csv_reporter.cc | 66 for (const auto& cnt : run.counters) { in ReportRuns() local 67 if (cnt.first == "bytes_per_second" || cnt.first == "items_per_second") in ReportRuns() 69 user_counter_names_.insert(cnt.first); in ReportRuns() 88 for (const auto& cnt : run.counters) { in ReportRuns() local 89 if (cnt.first == "bytes_per_second" || cnt.first == "items_per_second") in ReportRuns() 91 BM_CHECK(user_counter_names_.find(cnt.first) != in ReportRuns() 94 << "Counter named \"" << cnt.first in ReportRuns()
|
| H A D | statistics.cc | 118 for (auto const& cnt : r.counters) { in ComputeStats() local 119 auto it = counter_stats.find(cnt.first); in ComputeStats() 121 counter_stats.insert({cnt.first, {cnt.second, std::vector<double>{}}}); in ComputeStats() 122 it = counter_stats.find(cnt.first); in ComputeStats() 125 BM_CHECK_EQ(counter_stats[cnt.first].c.flags, cnt.second.flags); in ComputeStats() 138 for (auto const& cnt : run.counters) { in ComputeStats() local 139 auto it = counter_stats.find(cnt.first); in ComputeStats() 141 it->second.s.emplace_back(cnt.second); in ComputeStats()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/ |
| H A D | tsan_posix.cpp | 22 int *cnt; member 23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt) in thread_key() 27 , cnt(cnt) { in thread_key() 34 (*k->cnt)++; in thread_secific_dtor() 35 __tsan_write4(&k->cnt); in thread_secific_dtor() 54 int cnt = 0; in TEST() local 60 thread_key k1 = thread_key(key, &mtx, 42, &cnt); in TEST() 61 thread_key k2 = thread_key(key, &mtx, 43, &cnt); in TEST() 62 thread_key k3 = thread_key(key, &mtx, 44, &cnt); in TEST() 70 EXPECT_EQ(6, cnt); in TEST()
|
| /llvm-project-15.0.7/llvm/test/MC/AArch64/SVE/ |
| H A D | cnt.s | 12 cnt z31.b, p7/m, z31.b label 18 cnt z31.h, p7/m, z31.h label 24 cnt z31.s, p7/m, z31.s label 30 cnt z31.d, p7/m, z31.d label 46 cnt z4.d, p7/m, z31.d label 58 cnt z4.d, p7/m, z31.d label
|
| /llvm-project-15.0.7/clang/test/CodeGen/SystemZ/ |
| H A D | zvector.c | 21 volatile int cnt; variable 2247 sc <<= cnt; in test_sl_assign() 2251 uc <<= cnt; in test_sl_assign() 2256 ss <<= cnt; in test_sl_assign() 2260 us <<= cnt; in test_sl_assign() 2265 si <<= cnt; in test_sl_assign() 2269 ui <<= cnt; in test_sl_assign() 2274 sl <<= cnt; in test_sl_assign() 2278 ul <<= cnt; in test_sl_assign() 2613 sc >>= cnt; in test_sr_assign() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | barrier.ll | 6 declare void @llvm.nvvm.barrier.sync.cnt(i32, i32) 9 define void @barrier_sync(i32 %id, i32 %cnt) { 14 call void @llvm.nvvm.barrier.sync.cnt(i32 %id, i32 %cnt) 16 call void @llvm.nvvm.barrier.sync.cnt(i32 %id, i32 32) 18 call void @llvm.nvvm.barrier.sync.cnt(i32 3, i32 %cnt) 20 call void @llvm.nvvm.barrier.sync.cnt(i32 4, i32 64)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | octeon_popcnt.ll | 5 %cnt = tail call i8 @llvm.ctpop.i8(i8 %x) 6 ret i8 %cnt 15 %cnt = tail call i16 @llvm.ctpop.i16(i16 %x) 16 ret i16 %cnt 25 %cnt = tail call i32 @llvm.ctpop.i32(i32 %x) 26 ret i32 %cnt 35 %cnt = tail call i64 @llvm.ctpop.i64(i64 %x) 36 ret i64 %cnt
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AArch64/ |
| H A D | sve-intrinsic-opts-counting-elems.ll | 38 %cnt = call i64 @llvm.aarch64.sve.cntb(i32 8) 39 %out = mul i64 %cnt, 3 47 %cnt = call i64 @llvm.aarch64.sve.cntb(i32 9) 48 %out = mul i64 %cnt, 4 94 %cnt = call i64 @llvm.aarch64.sve.cnth(i32 8) 95 %out = mul i64 %cnt, 3 106 %out = mul i64 %cnt, 4 155 %out = mul i64 %cnt, 3 166 %out = mul i64 %cnt, 4 217 %out = mul i64 %cnt, 3 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | intrinsics.ll | 79 ret i1 %cnt 87 ret i1 %cnt 96 ret <2 x i1> %cnt 104 ret <2 x i1> %cnt 135 ret i32 %cnt 196 ret i1 %cnt 204 ret i1 %cnt 213 ret <2 x i1> %cnt 221 ret <2 x i1> %cnt 252 ret i8 %cnt [all …]
|
| /llvm-project-15.0.7/bolt/test/X86/ |
| H A D | pre-aggregated-perf.test | 35 NEWFORMAT: succ: [ { bid: 1, cnt: 22 } ] 38 NEWFORMAT: succ: [ { bid: 3, cnt: 33, mis: 4 }, { bid: 2, cnt: 22 } ] 41 NEWFORMAT: succ: [ { bid: 3, cnt: 22 } ] 44 NEWFORMAT: succ: [ { bid: 1, cnt: 58 }, { bid: 4, cnt: 22 } ]
|