Home
last modified time | relevance | path

Searched refs:profdata (Results 1 – 25 of 275) sorted by relevance

1234567891011

/external/llvm-project/llvm/test/tools/llvm-profdata/
Dsame-filename.test5 RUN: llvm-profdata merge -o %t.0.profdata -text %t.0.proftext %t.0.proftext
6 RUN: llvm-profdata show -counts -all-functions %t.0.profdata -o %t_show_0
7 RUN: llvm-profdata show -counts -all-functions %S/Inputs/same-name-2.proftext -o %t_show_1
9 RUN: llvm-profdata merge -o %t.1.profdata %S/Inputs/same-name-1.proftext
10 RUN: llvm-profdata merge -o %t.1.profdata %t.1.profdata %t.1.profdata
11 RUN: llvm-profdata show -counts -all-functions %t.1.profdata -o %t_show_2
15 RUN: not llvm-profdata show -o %t.1.profdata %t.1.profdata 2>&1 | FileCheck %s
16 CHECK: llvm-profdata{{.*}} show: Input file name cannot be the same as the output file name!
20 RUN: llvm-profdata merge --sample -o %t.3.profdata -text %t.3.proftext %t.3.proftext
21 RUN: llvm-profdata show --sample -counts -all-functions %t.3.profdata -o %t_show_3
[all …]
Droundtrip.test1 RUN: llvm-profdata merge -o %t.0.profdata %S/Inputs/IR_profile.proftext
2 RUN: llvm-profdata show -o %t.0.proftext -all-functions -text %t.0.profdata
4 RUN: llvm-profdata merge -o %t.1.profdata %t.0.proftext
5 RUN: llvm-profdata show -o %t.1.proftext -all-functions -text %t.1.profdata
7 RUN: llvm-profdata merge --sample --binary -output=%t.2.profdata %S/Inputs/sample-profile.proftext
8 RUN: llvm-profdata merge --sample --text -output=%t.2.proftext %t.2.profdata
11 RUN: llvm-profdata merge --sample --extbinary -output=%t.3.profdata %S/Inputs/sample-profile.profte…
12 RUN: llvm-profdata merge --sample --text -output=%t.3.proftext %t.3.profdata
15 RUN: llvm-profdata merge --sample --binary -output=%t.4.profdata %S/Inputs/sample-profile.proftext
16 RUN: llvm-profdata merge --sample --extbinary -output=%t.5.profdata %t.4.profdata
[all …]
Dgeneral.proftext1 # RUN: llvm-profdata merge -sparse=true %s -o %t.profdata
3 # RUN: llvm-profdata merge -sparse=false %s -o %t.profdata.dense
5 # RUN: llvm-profdata show %t.profdata --function function_count_only --counts | FileCheck %s -check…
15 # RUN: llvm-profdata show %t.profdata.dense --function "name with spaces" --counts | FileCheck %s -…
16 # RUN: llvm-profdata show %t.profdata --function "name with spaces" --counts | FileCheck %s --check…
28 # RUN: llvm-profdata show %t.profdata --function large_numbers --counts | FileCheck %s -check-prefi…
43 # RUN: llvm-profdata show %t.profdata.dense --function hex_hash | FileCheck %s -check-prefix=HEX-HA…
51 # RUN: llvm-profdata show %t.profdata --function NOSUCHFUNC | FileCheck %s -check-prefix=NOSUCHFUNC
55 # RUN: llvm-profdata show %t.profdata --function _ | FileCheck %s -check-prefix=SOMEFUNCS
56 # RUN: llvm-profdata show %t.profdata.dense --function _ | FileCheck %s -check-prefix=SOMEFUNCS_DEN…
[all …]
Dweight-instr.test4 RUN: llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata -weighted-inp…
5 RUN: llvm-profdata show -instr -all-functions %t > %t.out1
10 RUN: llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata %p/Inputs/wei…
11 RUN: llvm-profdata show -instr -all-functions %t > %t.out2
39 RUN: llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-inp…
40 RUN: llvm-profdata show -instr -all-functions %t > %t.out3
68 …N: not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-…
69 … not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-in…
70 …: not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-i…
71 …N: not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-…
[all …]
Dcsprof-dump.test2 RUN: llvm-profdata show %p/Inputs/cs.proftext | FileCheck %s -check-prefix=ZEROSUMMARY
3 RUN: llvm-profdata show %p/Inputs/noncs.proftext | FileCheck %s -check-prefix=SUMMARY
4 RUN: llvm-profdata show -showcs %p/Inputs/cs.proftext | FileCheck %s -check-prefix=SUMMARY
5 RUN: llvm-profdata show -showcs %p/Inputs/noncs.proftext | FileCheck %s -check-prefix=ZEROSUMMARY
16 RUN: llvm-profdata merge -o %t-combined.profdata %p/Inputs/cs.proftext %p/Inputs/noncs.proftext
18 RUN: llvm-profdata show --all-functions -counts -showcs %p/Inputs/cs.proftext > %t-text.csdump
19 RUN: llvm-profdata show --all-functions -counts -showcs %t-combined.profdata > %t-index.csdump
22 RUN: llvm-profdata show --all-functions -counts %p/Inputs/noncs.proftext > %t-text.noncsdump
23 RUN: llvm-profdata show --all-functions -counts %t-combined.profdata > %t-index.noncsdump
28 RUN: llvm-profdata merge -o %t.0.profdata %S/Inputs/CSIR_profile.proftext
[all …]
Droundtrip-compress.test3 RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.1.profdata %S/Input…
4 RUN: llvm-profdata merge --sample --text -output=%t.1.proftext %t.1.profdata
7 RUN: llvm-profdata merge --sample --binary -output=%t.2.profdata %S/Inputs/sample-profile.proftext
8 RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.3.profdata %t.2.pro…
9 RUN: llvm-profdata merge --sample --text -output=%t.2.proftext %t.3.profdata
Dmultiple-inputs.test3 RUN: llvm-profdata merge %p/Inputs/foo3-1.proftext %p/Inputs/foo3-2.proftext -o %t
4 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3
5 RUN: llvm-profdata merge %p/Inputs/foo3-2.proftext %p/Inputs/foo3-1.proftext -o %t
6 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3
15 RUN: llvm-profdata merge %p/Inputs/empty.proftext %p/Inputs/foo3-1.proftext -o %t
16 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3EMPTY
25 RUN: llvm-profdata merge %p/Inputs/foo3-1.proftext %p/Inputs/foo3bar3-1.proftext -o %t
26 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefixes=FOO3FOO3BAR3,FOO3…
27 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefixes=FOO3FOO3BAR3,FOO3…
40 RUN: llvm-profdata merge %p/Inputs/foo3-1.proftext %p/Inputs/bar3-1.proftext -o %t
[all …]
Dshow-instr-level.test1 RUN: llvm-profdata merge -o %t_clang.profdata %p/Inputs/clang_profile.proftext
2 RUN: llvm-profdata show %t_clang.profdata | FileCheck %s -check-prefix=FE
5 RUN: llvm-profdata merge -o %t_ir.profdata %p/Inputs/IR_profile.proftext
6 RUN: llvm-profdata show %t_ir.profdata | FileCheck %s -check-prefix=IR
Dcompat.proftext5 # The input file at %S/Inputs/compat.profdata.v1 was generated with
6 # llvm-profdata merge from r214548.
8 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function function_count_only --counts | Fi…
18 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function "name with spaces" --counts | Fil…
29 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function large_numbers --counts | FileChec…
44 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 | FileCheck %s -check-prefix=SUMMARY
49 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v2 -all-functions --counts | FileCheck %s -chec…
68 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v4 -all-functions --counts | FileCheck %s -chec…
Doverlap_cs.test1 RUN: llvm-profdata overlap -cs %p/Inputs/overlap_1_cs.proftext %p/Inputs/overlap_2_cs.proftext | Fi…
2 RUN: llvm-profdata merge %p/Inputs/overlap_1_cs.proftext -o %t_1_cs.profdata
3 RUN: llvm-profdata merge %p/Inputs/overlap_2_cs.proftext -o %t_2_cs.profdata
4 RUN: llvm-profdata overlap -cs %t_1_cs.profdata %t_2_cs.profdata | FileCheck %s -check-prefix=OVERL…
Dcompact-sample.proftext1 # Make sure "llvm-profdata show" works for sample profile in binary compact format
3 # RUN: llvm-profdata show -sample %S/Inputs/compat-sample.profdata | FileCheck %s
10 # RUN: llvm-profdata show -hot-func-list -sample %S/Inputs/compat-sample.profdata | FileCheck %s --…
15 # Make sure "llvm-profdata overlap" works for sample profile in binary compact format
16 # RUN: llvm-profdata overlap -sample %S/Inputs/compat-sample.profdata %S/Inputs/compat-sample.profd…
Doverlap.test1 RUN: llvm-profdata overlap %p/Inputs/overlap_1.proftext %p/Inputs/overlap_2.proftext | FileCheck %s…
2 RUN: llvm-profdata overlap -function=main %p/Inputs/overlap_1.proftext %p/Inputs/overlap_2.proftext…
3 RUN: llvm-profdata overlap -value-cutoff=15000 %p/Inputs/overlap_1.proftext %p/Inputs/overlap_2.pro…
4 RUN: llvm-profdata merge %p/Inputs/overlap_1.proftext -o %t_1.profdata
5 RUN: llvm-profdata merge %p/Inputs/overlap_2.proftext -o %t_2.profdata
6 RUN: llvm-profdata overlap %t_1.profdata %t_2.profdata | FileCheck %s -check-prefix=OVERLAP
/external/llvm/test/tools/llvm-profdata/
Dgeneral.proftext1 # RUN: llvm-profdata merge -sparse=true %s -o %t.profdata
3 # RUN: llvm-profdata merge -sparse=false %s -o %t.profdata.dense
5 # RUN: llvm-profdata show %t.profdata --function function_count_only --counts | FileCheck %s -check…
15 # RUN: llvm-profdata show %t.profdata.dense --function "name with spaces" --counts | FileCheck %s -…
16 # RUN: llvm-profdata show %t.profdata --function "name with spaces" --counts | FileCheck %s --check…
28 # RUN: llvm-profdata show %t.profdata --function large_numbers --counts | FileCheck %s -check-prefi…
43 # RUN: llvm-profdata show %t.profdata.dense --function hex_hash | FileCheck %s -check-prefix=HEX-HA…
51 # RUN: llvm-profdata show %t.profdata --function NOSUCHFUNC | FileCheck %s -check-prefix=NOSUCHFUNC
55 # RUN: llvm-profdata show %t.profdata --function _ | FileCheck %s -check-prefix=SOMEFUNCS
56 # RUN: llvm-profdata show %t.profdata.dense --function _ | FileCheck %s -check-prefix=SOMEFUNCS_DEN…
[all …]
Dweight-instr.test4 RUN: llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata -weighted-inp…
5 RUN: llvm-profdata show -instr -all-functions %t > %t.out1
10 RUN: llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata %p/Inputs/wei…
11 RUN: llvm-profdata show -instr -all-functions %t > %t.out2
39 RUN: llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-inp…
40 RUN: llvm-profdata show -instr -all-functions %t > %t.out3
68 …N: not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-…
69 … not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-in…
70 …: not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-i…
71 …N: not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-…
[all …]
Dcompat.proftext5 # The input file at %S/Inputs/compat.profdata.v1 was generated with
6 # llvm-profdata merge from r214548.
8 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function function_count_only --counts | Fi…
18 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function "name with spaces" --counts | Fil…
29 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function large_numbers --counts | FileChec…
44 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 | FileCheck %s -check-prefix=SUMMARY
49 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v2 -all-functions --counts | FileCheck %s -chec…
67 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v4 -all-functions --counts | FileCheck %s -chec…
/external/llvm-project/compiler-rt/test/profile/Posix/
Dinstrprof-value-prof-shared.test5 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
6 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/../Inputs/instr…
7 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/../Inputs/instr…
14 // RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
15 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/../Inputs/in…
16 // RUN: llvm-profdata merge -text %t.ir.profdata -o %t.ir.proftxt
17 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/../Inputs/in…
26 // RUN: llvm-profdata merge -o %t.ir.m.profdata -dump-input-file-list %t.prof/ | count 2
27 // RUN: llvm-profdata merge -o %t.ir.m.profdata %t.prof/
28 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.m.profdata | FileCheck %S/../Inputs/…
[all …]
Dinstrprof-shared.test43 RUN: llvm-profdata merge -o %t-instr-instr.profdata %t-instr-instr.profraw
44 RUN: llvm-profdata merge -o %t-instr-no-instr1.profdata %t-instr-no-instr1.profraw
45 RUN: llvm-profdata merge -o %t-instr-no-instr2.profdata %t-instr-no-instr2.profraw
46 RUN: llvm-profdata merge -o %t-no-instr1-instr.profdata %t-no-instr1-instr.profraw
47 RUN: llvm-profdata merge -o %t-no-instr2-instr.profdata %t-no-instr2-instr.profraw
49 RUN: not llvm-profdata merge -o %t-no-instr1-no-instr1.profdata %t-no-instr1-no-instr1.profraw 2>&1…
50 RUN: not llvm-profdata merge -o %t-no-instr2-no-instr1.profdata %t-no-instr2-no-instr1.profraw 2>&1…
53 RUN: llvm-profdata show -counts --function main %t-instr-instr.profdata | grep -v 'Total\|Maximum' …
54 RUN: llvm-profdata show -counts --function main %t-instr-no-instr1.profdata | grep -v 'Total\|Maxim…
55 RUN: llvm-profdata show -counts --function main %t-instr-no-instr2.profdata | grep -v 'Total\|Maxim…
[all …]
Dinstrprof-dlopen.test14 RUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw
15 RUN: llvm-profdata merge -o %t-local.profdata %t-local.profraw
16 RUN: llvm-profdata merge -o %t-global.profdata %t-global.profraw
18 RUN: %clang_profuse=%t-static.profdata -o %t-func.static.ll -S -emit-llvm %S/../Inputs/instrprof-dl…
19 RUN: %clang_profuse=%t-local.profdata -o %t-func.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlop…
20 RUN: %clang_profuse=%t-global.profdata -o %t-func.global.ll -S -emit-llvm %S/../Inputs/instrprof-dl…
24 RUN: %clang_profuse=%t-static.profdata -o %t-func2.static.ll -S -emit-llvm %S/../Inputs/instrprof-d…
25 RUN: %clang_profuse=%t-local.profdata -o %t-func2.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlo…
26 RUN: %clang_profuse=%t-global.profdata -o %t-func2.global.ll -S -emit-llvm %S/../Inputs/instrprof-d…
30 RUN: %clang_profuse=%t-static.profdata -o %t-main.static.ll -S -emit-llvm %S/../Inputs/instrprof-dl…
[all …]
/external/compiler-rt/test/profile/
Dinstrprof-value-prof-shared.test5 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
6 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
7 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
13 // RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
14 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instr…
15 // RUN: llvm-profdata merge -text %t.ir.profdata -o %t.ir.proftxt
16 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instr…
23 // RUN: llvm-profdata merge -o %t.ir.dyn.profdata %t.ir.dyn.profraw
24 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/i…
25 // RUN: llvm-profdata merge -text %t.ir.dyn.profdata -o %t.ir.dyn.proftxt
[all …]
Dinstrprof-value-prof.test3 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
4 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
9 // RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
10 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instr…
11 // RUN: llvm-profdata merge -text %t.ir.profdata -o %t.ir.proftxt
17 // RUN: llvm-profdata merge -o %t.ir.dyn.profdata %t.ir.dyn.profraw
18 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/i…
19 // RUN: llvm-profdata merge -text %t.ir.dyn.profdata -o %t.ir.dyn.proftxt
Dinstrprof-shared.test43 RUN: llvm-profdata merge -o %t-instr-instr.profdata %t-instr-instr.profraw
44 RUN: llvm-profdata merge -o %t-instr-no-instr1.profdata %t-instr-no-instr1.profraw
45 RUN: llvm-profdata merge -o %t-instr-no-instr2.profdata %t-instr-no-instr2.profraw
46 RUN: llvm-profdata merge -o %t-no-instr1-instr.profdata %t-no-instr1-instr.profraw
47 RUN: llvm-profdata merge -o %t-no-instr2-instr.profdata %t-no-instr2-instr.profraw
49 RUN: not llvm-profdata merge -o %t-no-instr1-no-instr1.profdata %t-no-instr1-no-instr1.profraw 2>&1…
50 RUN: not llvm-profdata merge -o %t-no-instr2-no-instr1.profdata %t-no-instr2-no-instr1.profraw 2>&1…
53 RUN: llvm-profdata show -counts --function main %t-instr-instr.profdata | grep -v 'Total\|Maximum' …
54 RUN: llvm-profdata show -counts --function main %t-instr-no-instr1.profdata | grep -v 'Total\|Maxim…
55 RUN: llvm-profdata show -counts --function main %t-instr-no-instr2.profdata | grep -v 'Total\|Maxim…
[all …]
Dinstrprof-value-prof-evict.test3 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
4 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
9 // RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
10 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instr…
15 // RUN: llvm-profdata merge -o %t.ir.dyn.profdata %t.ir.dyn.profraw
16 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/i…
/external/llvm-project/compiler-rt/test/profile/
Dinstrprof-value-prof.test4 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
5 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
10 // RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
11 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instr…
12 // RUN: llvm-profdata merge -text %t.ir.profdata -o %t.ir.proftxt
18 // RUN: llvm-profdata merge -o %t.ir.dyn.profdata %t.ir.dyn.profraw
19 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/i…
20 // RUN: llvm-profdata merge -text %t.ir.dyn.profdata -o %t.ir.dyn.proftxt
Dinstrprof-value-prof-evict.test3 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
4 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
9 // RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
10 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instr…
15 // RUN: llvm-profdata merge -o %t.ir.dyn.profdata %t.ir.dyn.profraw
16 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/i…
/external/llvm/docs/CommandGuide/
Dllvm-profdata.rst1 llvm-profdata - Profile data tool
7 :program:`llvm-profdata` *command* [*args...*]
12 The :program:`llvm-profdata` tool is a small utility for working with profile
18 * :ref:`merge <profdata-merge>`
19 * :ref:`show <profdata-show>`
21 .. program:: llvm-profdata merge
31 :program:`llvm-profdata merge` [*options*] [*filename...*]
36 :program:`llvm-profdata merge` takes several profile data files
117 llvm-profdata merge foo.profdata bar.profdata baz.profdata -output merged.profdata
121 The input file `foo.profdata` is especially important, multiply its counts by 10:
[all …]

1234567891011