[PATCH] D43605: [SampleProf] NFC. Expose reusable functionality in SampleProfile.
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 20:24:12 PST 2018
mtrofin created this revision.
Herald added a subscriber: llvm-commits.
mtrofin added a reviewer: davidxl.
Exposing getOffset and findFunctionSamples as members of
SampleProfile. They are intimately tied to design choices of the
sample profile format - using offsets instead of line numbers, and
traversing inlined functions stack, respectively.
Repository:
rL LLVM
https://reviews.llvm.org/D43605
Files:
include/llvm/ProfileData/SampleProf.h
lib/ProfileData/SampleProf.cpp
lib/Transforms/IPO/SampleProfile.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43605.135354.patch
Type: text/x-patch
Size: 6104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180222/caa727f5/attachment.bin>
More information about the llvm-commits
mailing list