[PATCH] D28964: [PGO] Value profile support for value ranges

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 13:21:14 PST 2017


xur created this revision.

This patch adds profile run time support to profile a range of values.

It has two adjustable parameters: SmallVal and LargeVal size less than or equal to SmallVal will be precisely profiled. size greater than SmallVal but less than LargeVal will have one count size greater than or equal to LargeVale will have one count. These parameters are passed from compiler.

This interface is going to used in profiling the size of memory intrinsic calls.


Repository:
  rL LLVM

https://reviews.llvm.org/D28964

Files:
  lib/profile/InstrProfData.inc
  lib/profile/InstrProfiling.c
  lib/profile/InstrProfiling.h
  lib/profile/InstrProfilingValue.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28964.85177.patch
Type: text/x-patch
Size: 5664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170120/c5ad99bb/attachment.bin>


More information about the llvm-commits mailing list