Page MenuHomePhabricator

[NFC][InlineCost] Refactor CallAnalyzer::analyze
AbandonedPublic

Authored by kazu on Dec 20 2019, 9:34 AM.

Details

Reviewers
davidxl
Summary

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.

Event Timeline

kazu created this revision.Dec 20 2019, 9:34 AM

This patch will be part of mtrofin's https://reviews.llvm.org/D71733, so there is no need for it.

kazu abandoned this revision.Dec 30 2019, 6:56 AM

https://reviews.llvm.org/D71733 supersedes this patch.