[llvm-branch-commits] [llvm] [BOLT] Match blocks with calls as anchors (PR #96596)
Maksim Panchenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 8 12:25:44 PDT 2024
================
@@ -56,6 +56,10 @@ class YAMLProfileReader : public ProfileReaderBase {
/// is attributed.
FunctionSet ProfiledFunctions;
+ /// Maps profiled function id to name, for function matching with calls as
+ /// anchors.
+ DenseMap<uint32_t, StringRef> IdToFunctionName;
----------------
maksfb wrote:
nit: use a type alias. Will make it easier to read specially when the type is used in an argument list.
https://github.com/llvm/llvm-project/pull/96596
More information about the llvm-branch-commits
mailing list