[PATCH] Add function entry count metadata.
Diego Novillo
dnovillo at google.com
Mon May 11 11:50:39 PDT 2015
This update includes the following changes:
- Return Optional<uint64_t> from getEntryCount to indicate whether a count is available.
- Move setEntrycount() and getEntryCount() to lib/IR/Function.cpp.
- Remove @brief from comments.
- Add IR verification to !prof nodes and tests.
http://reviews.llvm.org/D9628
Files:
include/llvm/IR/Function.h
include/llvm/IR/MDBuilder.h
lib/IR/Function.cpp
lib/IR/MDBuilder.cpp
lib/IR/Verifier.cpp
test/Verifier/function-metadata.ll
unittests/IR/MetadataTest.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9628.25488.patch
Type: text/x-patch
Size: 7137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150511/39d5e419/attachment.bin>
More information about the llvm-commits
mailing list