Page MenuHomePhabricator

[NFC][InlineCost] Refactor CallAnalyzer::analyze

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



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, so there is no need for it.

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