[PATCH] D63902: [InlineCost] separate stats from CallAnalyzer into InliningStats
Fedor Sergeev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 15:16:22 PDT 2019
fedor.sergeev created this revision.
fedor.sergeev added reviewers: eraman, greened, chandlerc, yrouban, apilipenko.
Herald added subscribers: dkrupp, donat.nagy, Szelethus, a.sidorin, haicheng, baloghadamsoftware, hiraditya.
Herald added a project: LLVM.
Inline cost analysis done by CallAnalyzer counts various stats about function body
being analyzed. These stats can be useful for later analysis, say, to give additional
bonuses for specific constructs, to use them in prioritization of inlining decisions
when working on a tight budget (a pressing issue for JIT compilers).
These stats are exposed outside of getInlineCost via a callback passed through Params.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D63902
Files:
llvm/include/llvm/Analysis/InlineCost.h
llvm/lib/Analysis/InlineCost.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63902.206950.patch
Type: text/x-patch
Size: 7478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/74277007/attachment.bin>
More information about the llvm-commits
mailing list