[llvm] r200586 - [inliner] Print out extra stats about the cost, threshold, and vector
Chandler Carruth
chandlerc at gmail.com
Fri Jan 31 14:32:33 PST 2014
Author: chandlerc
Date: Fri Jan 31 16:32:32 2014
New Revision: 200586
URL: http://llvm.org/viewvc/llvm-project?rev=200586&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Analysis/IPA/InlineCost.cpp
Modified: llvm/trunk/lib/Analysis/IPA/InlineCost.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/InlineCost.cpp?rev=200586&r1=200585&r2=200586&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IPA/InlineCost.cpp (original)
+++ llvm/trunk/lib/Analysis/IPA/InlineCost.cpp Fri Jan 31 16:32:32 2014
@@ -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
More information about the llvm-commits
mailing list