llvm-project
[BOLT] Match blocks with pseudo probes
#99891
Merged

[BOLT] Match blocks with pseudo probes #99891

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone