[BOLT] Match blocks with pseudo probes #99891
[šš½šæ] initial version
5a5991af
[šš½šæ] changes to main this commit is based on
94ffb45c
Changed assignment of profiles with pseudo probe index
0274f697
Edit test and assert
7e3d8d6b
aaupov
commented
on 2024-07-23
aaupov
commented
on 2024-07-23
aaupov
commented
on 2024-07-23
Fixed failing asserts, pruned prospective pseudo probes for matching
780a07ee
aaupov
commented
on 2024-07-23
Added logging for pseudo probe block matching
1638ac1d
Changed pseudo probe matching failure logging to v=3
144716be
More loggin
29347109
Logging blocks matched with opcodes
b74fc8b2
Updated test
c38fb98f
shawbyoung
marked this pull request as ready for review 2 years ago
Name changes in prep for inlined block pseudo probe block matching
b2a3ca7f
Rm unnecessary Blocks vec in StaleMatcher
2eb7bf2c
Improved matched block counting
212bd005
Removed comment from test
eb6dfb97
Added comments and check for null YamlBFGUID in StaleMatcher before Pā¦
16b5cfbb
aaupov
commented
on 2024-07-24
Omitting braces in one line if
799f20cf
[šš½šæ] changes introduced through rebase
1e9af7f9
Pseudo probe matching now is triggered by flag
e3599d4d
Omit unnecessary braces
33f1b2ad
Change initialization of index -> probe and probe -> block mappings
9889f890
Formatting
022c517a
Comments
5109893b
aaupov
approved these changes
on 2024-07-24
dcci
commented
on 2024-07-24
Changed std ADTs to LLVM
5bf42207
In matchWithPseudoProbe, hoist BlocksPseudoProbes.size(), added loggiā¦
f1179b11
A more beautiful helper function for matchWithPseudoProbes
5076bab5
Added inlined block pseudo probe matching
4f2f6421
Added flag to trigger pseudo probe block matching
327eb81f
Added flag for pseudo probe block matching
37793aaa
Set flag init val, changed std::string to StringRef
ba00b22a
[BOLT][NFC] Add timers for MetadataManager invocations
5e47249c
[MC][NFC] Count pseudo probes and function records
3902effb
[MC][NFC] Drop unused MCDecodedPseudoProbeInlineTree::ChildrenToProceā¦
d20d4d65
[profgen][NFC] Pass parameter as const_ref
a857d324
[MC][NFC] Statically allocate storage for decoded pseudo probes and fā¦
cddea6a0
[MC][profgen][NFC] Expand auto for MCDecodedPseudoProbe
9746055b
[MC][NFC] Reduce Address2ProbesMap size
3dcef481
[MC][NFC] Use vector for GUIDProbeFunctionMap
ba149d99
buildAddress2ProbeMap timers
c35e8acd
[BOLT][NFC] Rename profile-use-pseudo-probes
1c469cf2
[BOLT][NFCI] Strip suffix in getLTOCommonName
97f81017
[BOLT] Only parse probes for profiled functions in profile-write-pseuā¦
e0a705e3
[BOLT] Add pseudo probe inline tree to YAML profile
66fe5d50
Reworked block probe matching
36197b17
[šš½šæ] changes introduced through rebase
bfa0afc8
rebase
0f455d09
drop logIf
8fafc048
[šš½šæ] changes introduced through rebase
b1be6e69
Use new profile probe encoding
4c5156c2
[šš½šæ] changes introduced through rebase
205c79c9
Test fix
544a6ad4
[šš½šæ] changes introduced through rebase
ee214d52
Memoize top-level GUID->InlineTree mapping, cuts inference time by ~30%
0bb4e3a0
[šš½šæ] changes introduced through rebase
880bd374
clang-format
2ba55913
[šš½šæ] changes introduced through rebase
75d62290
Update with #107137 changes
3b4e3f45
[šš½šæ] changes introduced through rebase
41e1fa02
Move matchInlineTrees into InlineTreeNodeMapTy
7ee82b6e
[šš½šæ] changes introduced through rebase
648f2bbe
Add test with inline trees, address comments
e8e1cb96
Allow null block participate in majority vote, improves run-time perfā¦
ebd3acfb
[šš½šæ] changes introduced through rebase
c84de421
address comments
e7bce6d3
[šš½šæ] changes introduced through rebase
2502434b
rebase
956bcf22
aaupov
changed the base branch from
users/shawbyoung/spr/main.bolt-match-blocks-with-pseudo-probes
to
main
1 year ago
wlei-llvm
approved these changes
on 2024-11-09
aaupov
merged
9a9af0a2
into main 1 year ago
aaupov
deleted the users/shawbyoung/spr/bolt-match-blocks-with-pseudo-probes branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub