[PATCH] D32783: [PartialInlining] Add frequency based cost analysis
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 22:47:39 PDT 2017
davidxl created this revision.
In this patch, the runtime and size cost of making calls to outlined function is computed and compared with potential savings of partial inlining.
https://reviews.llvm.org/D32783
Files:
include/llvm/Transforms/Utils/CodeExtractor.h
lib/Transforms/IPO/PartialInlining.cpp
lib/Transforms/Utils/CodeExtractor.cpp
test/Transforms/CodeExtractor/ExtractedFnEntryCount.ll
test/Transforms/CodeExtractor/MultipleExitBranchProb.ll
test/Transforms/CodeExtractor/PartialInlineHighCost.ll
test/Transforms/CodeExtractor/X86/InheritTargetAttributes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32783.97546.patch
Type: text/x-patch
Size: 16345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170503/27693baf/attachment-0001.bin>
More information about the llvm-commits
mailing list