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 | 394e34f5c2ed7d33b81dc3abdc7687af0b7ceb1a (patch) | |
| tree | 964ff6a36bd0254c7ee1b7f1f46b8222ae55e0cc /llvm | |
| parent | bd63b3385429f4b5266048a64429cf81a64914b6 (diff) | |
| download | bcm5719-llvm-394e34f5c2ed7d33b81dc3abdc7687af0b7ceb1a.tar.gz bcm5719-llvm-394e34f5c2ed7d33b81dc3abdc7687af0b7ceb1a.zip | |
[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.
llvm-svn: 200586
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Analysis/IPA/InlineCost.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/IPA/InlineCost.cpp b/llvm/lib/Analysis/IPA/InlineCost.cpp index 453658386d7..371f706cef0 100644 --- a/llvm/lib/Analysis/IPA/InlineCost.cpp +++ b/llvm/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 |

