[all-commits] [llvm/llvm-project] 296a95: [BOLT] Match functions with call graph (#98125)
Shaw Young via All-commits
all-commits at lists.llvm.org
Fri Jul 19 14:00:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 296a9563690f2fea78e4d746a6d1896262b69da4
https://github.com/llvm/llvm-project/commit/296a9563690f2fea78e4d746a6d1896262b69da4
Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-07-19 (Fri, 19 Jul 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/include/bolt/Profile/YAMLProfileReader.h
M bolt/lib/Profile/YAMLProfileReader.cpp
A bolt/test/X86/match-functions-with-call-graph.test
Log Message:
-----------
[BOLT] Match functions with call graph (#98125)
Implemented call graph function matching. First, two call graphs are
constructed for both profiled and binary functions. Then functions are
hashed based on the names of their callee/caller functions. Finally,
functions are matched based on these neighbor hashes and the
longest common prefix of their names. The `match-with-call-graph`
flag turns this matching on.
Test Plan: Added match-with-call-graph.test. Matched 164 functions
in a large binary with 10171 profiled functions.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list