[PATCH] D71776: [NFC][InlineCost] Refactor CallAnalyzer::analyze

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 09:40:04 PST 2019


kazu created this revision.
kazu added a reviewer: davidxl.
kazu added a project: LLVM.
Herald added subscribers: dkrupp, donat.nagy, Szelethus, a.sidorin, haicheng, baloghadamsoftware, hiraditya, eraman.

One of the analyses performed in CallAnalyzer::analyze is to propagate
function arguments into the callee and check to see if the "inlined"
callee contains anything uninlinable or exceeds the size threshold.
This patch splits the analysis into a separate function as it is
fairly self contained and takes up many lines of code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71776

Files:
  llvm/lib/Analysis/InlineCost.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71776.234917.patch
Type: text/x-patch
Size: 6413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191220/5db9123a/attachment.bin>


More information about the llvm-commits mailing list