diff options
author | Diego Novillo <dnovillo@google.com> | 2015-05-13 15:13:45 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2015-05-13 15:13:45 +0000 |
commit | 2567f3d0fb1f2812f99111ecd67d228ccae42c49 (patch) | |
tree | 365e1e894c459f612277ef5da02f2f53ecd2d384 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | bbcf75e59eaa027251e060043067257c64a866ba (diff) | |
download | llvm-2567f3d0fb1f2812f99111ecd67d228ccae42c49.zip llvm-2567f3d0fb1f2812f99111ecd67d228ccae42c49.tar.gz llvm-2567f3d0fb1f2812f99111ecd67d228ccae42c49.tar.bz2 |
Add function entry count metadata.
Summary:
This adds three Function methods to handle function entry counts:
setEntryCount() and getEntryCount().
Entry counts are stored under the MD_prof metadata node with the name
"function_entry_count". They are unsigned 64 bit values set by profilers
(instrumentation and sample profiler changes coming up).
Added documentation for new profile metadata and tests.
Reviewers: dexonsmith, bogner
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D9628
llvm-svn: 237260
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions