[all-commits] [llvm/llvm-project] 1410db: [CSSPGO] Add attribute metadata for context profile
WenleiHe via All-commits
all-commits at lists.llvm.org
Thu Mar 18 22:01:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1410db70b98d26e9a354373f02d4e4c407468933
https://github.com/llvm/llvm-project/commit/1410db70b98d26e9a354373f02d4e4c407468933
Author: Wenlei He <wenlei at fb.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M llvm/include/llvm/ProfileData/SampleProf.h
M llvm/include/llvm/ProfileData/SampleProfReader.h
M llvm/lib/ProfileData/SampleProfReader.cpp
M llvm/lib/ProfileData/SampleProfWriter.cpp
M llvm/test/tools/llvm-profdata/Inputs/cs-sample.proftext
M llvm/test/tools/llvm-profdata/Inputs/pseudo-probe-profile.proftext
M llvm/test/tools/llvm-profgen/inline-cs-pseudoprobe.test
M llvm/test/tools/llvm-profgen/merge-cold-profile.test
M llvm/test/tools/llvm-profgen/noinline-cs-pseudoprobe.test
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/PerfReader.h
M llvm/tools/llvm-profgen/ProfileGenerator.cpp
M llvm/tools/llvm-profgen/ProfileGenerator.h
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
Log Message:
-----------
[CSSPGO] Add attribute metadata for context profile
This changes adds attribute field for metadata of context profile. Currently we have an inline attribute that indicates whether the leaf frame corresponding to a context profile was inlined in previous build.
This will be used to help estimating inlining and be taken into account when trimming context. Changes for that in llvm-profgen will follow. It will also help tuning.
Differential Revision: https://reviews.llvm.org/D98823
More information about the All-commits
mailing list