This patch was split from https://reviews.llvm.org/D102246 [SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO This is mainly for ProfileData part of change. It will load FS Profile when such profile is detected. For an extbinary format profile, create_llvm_prof tool will add a flag to profile summary section. For other format profiles, the users need to use an internal option (-profile-isfs) to tell the compiler that the profile uses FS discriminators. This patch also simplified the bit API used by FS discriminators. Differential Revision: https://reviews.llvm.org/D103041
36 lines
670 B
Plaintext
36 lines
670 B
Plaintext
work:33383580:1068858
|
|
1: 981870
|
|
5: 981870
|
|
foo:22388581:3449
|
|
0: 3449
|
|
2.1: 204820
|
|
4: 213086 bar:205247
|
|
4.2013265920: 222893 bar:218378
|
|
4.2281701376: 214552 bar:217479
|
|
4.2550136832: 210692 bar:220056
|
|
5: 213086
|
|
5.1207959552: 210692
|
|
5.1610612736: 202301
|
|
5.2952790016: 222893
|
|
6: 4780
|
|
6.268435456: 202301 work:198259
|
|
6.1073741824: 222893 work:231680
|
|
6.2147483648: 4780
|
|
7: 219065
|
|
7.134217728: 217053
|
|
7.2013265920: 183304
|
|
7.3758096384: 222101
|
|
8: 4780
|
|
8.2818572288: 222101 work:238765
|
|
8.3489660928: 183304 work:181615
|
|
8.4160749568: 217053 work:218539
|
|
10: 3281
|
|
bar:7622325:861160
|
|
2: 846925
|
|
3: 846925
|
|
main:16419:0
|
|
0: 0
|
|
2.1: 3280
|
|
3: 3299 foo:3449
|
|
5: 0
|