From: Chandler Carruth Date: Fri, 31 Jan 2014 22:32:32 +0000 (+0000) Subject: [inliner] Print out extra stats about the cost, threshold, and vector X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7c30caaec11f7629fd8fe108081c6292ca246f0c;p=oota-llvm.git [inliner] Print out extra stats about the cost, threshold, and vector bonus in the inline cost analysis. Split out of a patch by Dario Domizioli to commit separately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200586 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/IPA/InlineCost.cpp b/lib/Analysis/IPA/InlineCost.cpp index 453658386d7..371f706cef0 100644 --- a/lib/Analysis/IPA/InlineCost.cpp +++ b/lib/Analysis/IPA/InlineCost.cpp @@ -1178,6 +1178,9 @@ void CallAnalyzer::dump() { DEBUG_PRINT_STAT(SROACostSavings); DEBUG_PRINT_STAT(SROACostSavingsLost); DEBUG_PRINT_STAT(ContainsNoDuplicateCall); + DEBUG_PRINT_STAT(Cost); + DEBUG_PRINT_STAT(Threshold); + DEBUG_PRINT_STAT(VectorBonus); #undef DEBUG_PRINT_STAT } #endif