This patch was split from https://reviews.llvm.org/D102246 [SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO This is for llvm-profdata part of change. It sets the bit masks for the profile reader in llvm-profdata. Also add an internal option "-fs-discriminator-pass" for show and merge command to process the profile offline. This patch also moved setDiscriminatorMaskedBitFrom() to SampleProfileReader::create() to simplify the interface. Differential Revision: https://reviews.llvm.org/D103550
8 lines
88 B
Plaintext
8 lines
88 B
Plaintext
main:6436:0
|
|
4: 534
|
|
4.2: 534
|
|
4.738209026: 1068
|
|
5: 1075
|
|
5.1: 1075
|
|
5.738209025: 2150
|