Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 49) sorted by relevance

12

/llvm-project-15.0.7/polly/lib/External/isl/
H A Dpolytope_scan.c28 struct isl_mat *samples; member
36 ss->samples = isl_mat_extend(ss->samples, ss->samples->n_row + 1, in scan_samples_add_sample()
37 ss->samples->n_col); in scan_samples_add_sample()
38 if (!ss->samples) in scan_samples_add_sample()
41 isl_seq_cpy(ss->samples->row[ss->samples->n_row - 1], in scan_samples_add_sample()
64 if (!ss.samples) in isl_basic_set_scan_samples()
68 isl_mat_free(ss.samples); in isl_basic_set_scan_samples()
72 return ss.samples; in isl_basic_set_scan_samples()
81 struct isl_mat *samples; in isl_basic_set_samples() local
98 struct isl_mat *samples; in main() local
[all …]
H A Disl_tab.c217 isl_mat_free(tab->samples); in isl_tab_free()
267 if (tab->samples) { in isl_tab_dup()
268 dup->samples = isl_mat_dup(tab->samples); in isl_tab_dup()
269 if (!dup->samples) in isl_tab_dup()
529 prod->samples = NULL; in isl_tab_product()
873 if (!tab->samples) in isl_tab_init_samples()
897 tab->samples = isl_mat_extend(tab->samples, in isl_tab_add_sample()
899 if (!tab->samples) in isl_tab_add_sample()
3879 if (tab->samples) { in drop_bmap_div()
3880 tab->samples = isl_mat_drop_cols(tab->samples, 1 + pos, 1); in drop_bmap_div()
[all …]
H A Disl_tab_pip.c1932 isl_seq_inner_product(ineq, tab->samples->row[i], in check_samples()
2031 isl_seq_inner_product(ineq, tab->samples->row[i], in tab_has_valid_sample()
2051 struct isl_mat *samples; in context_tab_insert_div() local
2060 samples = isl_mat_extend(tab->samples, in context_tab_insert_div()
2062 tab->samples = samples; in context_tab_insert_div()
2063 if (!samples) in context_tab_insert_div()
2067 div->size - 1, &samples->row[i][samples->n_col - 1]); in context_tab_insert_div()
2068 isl_int_fdiv_q(samples->row[i][samples->n_col - 1], in context_tab_insert_div()
2069 samples->row[i][samples->n_col - 1], div->el[0]); in context_tab_insert_div()
2071 tab->samples = isl_mat_move_cols(tab->samples, 1 + pos, in context_tab_insert_div()
[all …]
H A Disl_affine_hull.c457 if (tab->samples && in extend_affine_hull()
641 isl_assert(tab->mat->ctx, tab->samples, goto error); in isl_tab_detect_equalities()
642 isl_assert(tab->mat->ctx, tab->samples->n_col == 1 + tab->n_var, goto error); in isl_tab_detect_equalities()
652 isl_seq_cpy(sample->el, tab->samples->row[tab->n_outside], sample->size); in isl_tab_detect_equalities()
663 isl_seq_cpy(sample->el, tab->samples->row[j], sample->size); in isl_tab_detect_equalities()
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dsample-overlap.test7 ; OVERLAP0: total samples in base profile: 13943
8 ; OVERLAP0: total samples in test profile: 13943
28 ; OVERLAP1: total samples in base profile: 13943
29 ; OVERLAP1: total samples in test profile: 139430
49 ; OVERLAP2: total samples in base profile: 13943
50 ; OVERLAP2: total samples in test profile: 4134
74 ; OVERLAP3: total samples in base profile: 13943
75 ; OVERLAP3: total samples in test profile: 13043
99 ; OVERLAP4: total samples in base profile: 13943
127 ; CS: total samples in base profile: 772562
[all …]
H A Dinline-samples.test5 RUN: llvm-profdata merge --sample %p/Inputs/inline-samples.afdo -o %t.profbin
20 RUN: llvm-profdata show --sample %p/Inputs/inline-samples.afdo -o %t-text
25 RUN: llvm-profdata merge --sample --text %t.profbin %p/Inputs/inline-samples.afdo -o - | FileCheck …
26 RUN: llvm-profdata merge --sample --text - < %t.profbin %p/Inputs/inline-samples.afdo -o - | FileCh…
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dcov-zero-samples.ll4 ; CHECK: remark: cov-zero-samples.cc:9:29: Applied 404065 samples from profile (offset: 2.1)
5 ; CHECK: remark: cov-zero-samples.cc:10:9: Applied 443089 samples from profile (offset: 3)
6 ; CHECK: remark: cov-zero-samples.cc:10:36: Applied 0 samples from profile (offset: 3.1)
7 ; CHECK: remark: cov-zero-samples.cc:11:12: Applied 404066 samples from profile (offset: 4)
8 ; CHECK: remark: cov-zero-samples.cc:13:25: Applied 0 samples from profile (offset: 6)
9 ; CHECK: remark: cov-zero-samples.cc:14:3: Applied 0 samples from profile (offset: 7)
10 ; CHECK: remark: cov-zero-samples.cc:10:9: most popular destination for conditional branches at cov…
11 ; CHECK: remark: cov-zero-samples.cc:11:12: most popular destination for conditional branches at co…
14 ; CHECK-NOT: warning: cov-zero-samples.cc:1:
16 source_filename = "test/Transforms/SampleProfile/cov-zero-samples.ll"
[all …]
H A Dinline-coverage.ll20 ; CHECK: remark: coverage.cc:9:21: Applied 23478 samples from profile (offset: 2.1)
21 ; CHECK: remark: coverage.cc:10:16: Applied 23478 samples from profile (offset: 3)
22 ; CHECK: remark: coverage.cc:4:10: Applied 31878 samples from profile (offset: 1)
23 ; CHECK: remark: coverage.cc:11:10: Applied 0 samples from profile (offset: 4)
26 ; There is one sample record with 0 samples at offset 4 in main() that we never
30 ; Since the unused sample record contributes no samples, sample coverage should
33 ; CHECK: warning: coverage.cc:7: 78834 of 78834 available profile samples (100%) were applied
H A Dpseudo-probe-profile.ll70 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
85 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
100 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
115 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
130 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
145 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
H A Dcoverage-warning.ll3 ; The profile has samples for line locations that are no longer present.
7 ; CHECK: warning: coverage-warning.c:1: 29000 of 30700 available profile samples (94%) were applied
H A Dwarm-inline-instance.ll55 ; Although the ratio of total samples of @foo vs total samples of @main is
56 ; small, since the total samples count is larger than hot cutoff computed by
H A Dpseudo-probe-inline.ll119 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
135 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
151 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
/llvm-project-15.0.7/bolt/lib/Passes/
H A DHFSort.cpp54 : Samples(Func.samples()), Size(Func.size()), in Cluster()
64 Samples += Cg.samples(TargetId); in Cluster()
99 Fid, Cg.size(Fid), Cg.samples(Fid));); in freezeClusters()
140 if (Cg.samples(F) == 0) in clusterize()
156 return Func1.samples() * Func2.size() > // TODO: is this correct? in clusterize()
157 Func2.samples() * Func1.size(); in clusterize()
204 ((double)PredCluster->samples() + Cluster->samples()) / in clusterize()
213 Cluster->toString().c_str(), Cg.samples(Fid)); in clusterize()
247 if (Cg.samples(F) == 0) in randomClusters()
H A DCallGraph.cpp103 Arc->NormalizedWeight = Arc->weight() / Func.samples(); in normalizeArcWeights()
120 if (Func.samples() < InWeight) in adjustArcWeights()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DCallGraph.h86 uint64_t samples() const { return Samples; } in samples() function
112 uint64_t samples(const NodeId Id) const { in samples() function
171 if (Nodes[F].samples() == 0) in printDot()
174 << "\\nsamples=" << Nodes[F].samples() << "\\nsize=" << Nodes[F].size() in printDot()
178 if (Nodes[F].samples() == 0) in printDot()
H A DHFSort.h38 uint64_t samples() const { return Samples; } in samples() function
/llvm-project-15.0.7/llvm/test/tools/llvm-profgen/
H A Dprofile-density.test7 …ze better with 3.1x more samples. Please consider increasing sampling rate or profiling for longer…
8 ;CHECK-DENSITY: Minimum profile density for hot functions with top 99.00% total samples: 3.2
10 ;CHECK-DENSITY-CS: Minimum profile density for hot functions with top 99.00% total samples: 128.3
H A Dnoinline-pseudoprobe.test1 …e.perfscript --binary=%S/Inputs/noinline-cs-pseudoprobe.perfbin --output=%t1 --ignore-stack-samples
3 …ggperfscript --binary=%S/Inputs/noinline-cs-pseudoprobe.perfbin --output=%t2 --ignore-stack-samples
H A Dinvalid-range.test2 … dropped to avoid bogus instruction ranges. All other ranges and all branch samples should be kept.
4 …line-cs-pseudoprobe.perfbin --output=%t1 --skip-symbolization --ignore-stack-samples --use-offset=0
H A Dinline-force-dwarf.test1 ; RUN: llvm-profgen --format=text --ignore-stack-samples --use-dwarf-correlation --perfscript=%S/In…
H A Dupdate-samples.test3 …/Inputs/noprobe.perfscript --binary=%S/Inputs/noprobe.perfbin --output=%t2 --update-total-samples=1
H A Dinline-pseudoprobe.test1 ; RUN: llvm-profgen --format=text --ignore-stack-samples --perfscript=%S/Inputs/inline-cs-pseudopro…
H A Dfunc-split.test3 …fscript --binary=%S/Inputs/func-split.perfbin --output=%t --ignore-stack-samples --gen-cs-nested-p…
/llvm-project-15.0.7/llvm/utils/unittest/googletest/
H A DREADME.LLVM11 $ rm -rf build-aux cmake codegear m4 make msvc samples scripts test xcode docs
/llvm-project-15.0.7/clang/utils/perf-training/
H A DCMakeLists.txt2 "The path to a lit testsuite containing samples for PGO and order file generation"

12