17 lines · plain
1RUN: llvm-profdata overlap %p/Inputs/overlap_1_vp.proftext %p/Inputs/overlap_2_vp.proftext | FileCheck %s -check-prefix=OVERLAP2RUN: llvm-profdata merge %p/Inputs/overlap_1_vp.proftext -o %t_1_vp.profdata3RUN: llvm-profdata merge %p/Inputs/overlap_2_vp.proftext -o %t_2_vp.profdata4RUN: llvm-profdata overlap %t_1_vp.profdata %t_2_vp.profdata | FileCheck %s -check-prefix=OVERLAP5OVERLAP: Profile overlap information for base_profile: {{.*}} and test_profile:6OVERLAP: Program level:7OVERLAP: # of functions overlap: 18OVERLAP: Edge profile overlap: 80.000%9OVERLAP: Edge profile base count sum: 10000010OVERLAP: Edge profile test count sum: 5000011OVERLAP: IndirectCall profile overlap: 80.000%12OVERLAP: IndirectCall profile base count sum: 10000013OVERLAP: IndirectCall profile test count sum: 5000014OVERLAP: MemOP profile overlap: 80.000%15OVERLAP: MemOP profile base count sum: 10000016OVERLAP: MemOP profile test count sum: 500017