[PATCH] D22744: CodeExtractor : Add ability to preserve profile data.

River Riddle via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 00:09:12 PDT 2016


rriddle created this revision.
rriddle added reviewers: davide, silvas.
rriddle added a subscriber: llvm-commits.

Added ability to estimate the entry count of the extracted function and the branch probabilities of the exit branches.

https://reviews.llvm.org/D22744

Files:
  include/llvm/Analysis/BlockFrequencyInfo.h
  include/llvm/Analysis/BlockFrequencyInfoImpl.h
  include/llvm/CodeGen/MachineBlockFrequencyInfo.h
  include/llvm/Transforms/Utils/CodeExtractor.h
  lib/Analysis/BlockFrequencyInfo.cpp
  lib/Analysis/BlockFrequencyInfoImpl.cpp
  lib/CodeGen/MachineBlockFrequencyInfo.cpp
  lib/Transforms/Utils/CodeExtractor.cpp
  test/Transforms/CodeExtractor/2016-07-20-ExtractedFnEntryCount.ll
  test/Transforms/CodeExtractor/2016-07-20-MultipleExitBranchProb.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22744.65307.patch
Type: text/x-patch
Size: 29211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160725/5214bde6/attachment.bin>


More information about the llvm-commits mailing list