[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / tools / llvm-profdata / overlap_vp.test
blob228b809e218e466afe4bcc9cf85e8f985f28d0fe
1 RUN: llvm-profdata overlap %p/Inputs/overlap_1_vp.proftext %p/Inputs/overlap_2_vp.proftext | FileCheck %s -check-prefix=OVERLAP
2 RUN: llvm-profdata merge %p/Inputs/overlap_1_vp.proftext -o %t_1_vp.profdata
3 RUN: llvm-profdata merge %p/Inputs/overlap_2_vp.proftext -o %t_2_vp.profdata
4 RUN: llvm-profdata overlap %t_1_vp.profdata %t_2_vp.profdata | FileCheck %s -check-prefix=OVERLAP
5 OVERLAP: Profile overlap infomation for base_profile: {{.*}} and test_profile:
6 OVERLAP: Program level:
7 OVERLAP:   # of functions overlap: 1
8 OVERLAP:   Edge profile overlap: 80.000%
9 OVERLAP:   Edge profile base count sum: 100000
10 OVERLAP:   Edge profile test count sum: 50000
11 OVERLAP:   IndirectCall profile overlap: 80.000%
12 OVERLAP:   IndirectCall profile base count sum: 100000
13 OVERLAP:   IndirectCall profile test count sum: 50000
14 OVERLAP:   MemOP profile overlap: 80.000%
15 OVERLAP:   MemOP profile base count sum: 100000
16 OVERLAP:   MemOP profile test count sum: 5000