diff options
author | Xinliang David Li <davidxl@google.com> | 2015-11-24 19:21:15 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-11-24 19:21:15 +0000 |
commit | 6a829f78f90b28494ac6ce36cc6a2bca50ce00e4 (patch) | |
tree | df2cbb7818ba140aa2f14508ca6f7f4609d9a641 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | c1986638a7375e984a68aa054858deeee8878477 (diff) | |
download | bcm5719-llvm-6a829f78f90b28494ac6ce36cc6a2bca50ce00e4.tar.gz bcm5719-llvm-6a829f78f90b28494ac6ce36cc6a2bca50ce00e4.zip |
[PGO] Introduce value profile data closure type.
The closure is designed to abstact away two types of value profile
data:
- InstrProfRecord which is the primary data structure used to
represent profile data in host tools (reader, writer, and profile-use)
- value profile runtime data structure suitable to be used by C
runtime library.
Both sources of data need to serialize to disk/memory-buffer in common
format: ValueProfData.
The abstraction allows compiler-rt's raw profiler writer to share
the same code with indexed profile writer.
llvm-svn: 254008
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions