diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-01-31 22:32:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-01-31 22:32:32 +0000 |
commit | 7c30caaec11f7629fd8fe108081c6292ca246f0c (patch) | |
tree | b1b2920a946b8bbbf4efb3e56e72987e98f22c36 /lib | |
parent | 9d96045528c7c8c26f1b1927a74e9fcafec9b255 (diff) | |
download | llvm-7c30caaec11f7629fd8fe108081c6292ca246f0c.tar.gz llvm-7c30caaec11f7629fd8fe108081c6292ca246f0c.tar.bz2 llvm-7c30caaec11f7629fd8fe108081c6292ca246f0c.tar.xz |
[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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/IPA/InlineCost.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/InlineCost.cpp b/lib/Analysis/IPA/InlineCost.cpp index 453658386d..371f706cef 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 |