[PATCH] D41883: Add a ProfileCount class to represent entry counts.

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 14:45:28 PST 2018


eraman created this revision.
eraman added a reviewer: davidxl.

The class wraps a uint64_t and an enum to represent the type of profile
count (real and synthetic) with some helper methods.


https://reviews.llvm.org/D41883

Files:
  include/llvm/IR/Function.h
  lib/IR/Function.cpp
  lib/Transforms/IPO/PartialInlining.cpp
  lib/Transforms/IPO/SampleProfile.cpp
  lib/Transforms/IPO/SyntheticCountsPropagation.cpp
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  lib/Transforms/Utils/CodeExtractor.cpp
  lib/Transforms/Utils/InlineFunction.cpp
  unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41883.129165.patch
Type: text/x-patch
Size: 11977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180109/c28632f6/attachment.bin>


More information about the llvm-commits mailing list