[inliner] Print out extra stats about the cost, threshold, and vector
authorChandler Carruth <chandlerc@gmail.com>
Fri, 31 Jan 2014 22:32:32 +0000 (22:32 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 31 Jan 2014 22:32:32 +0000 (22:32 +0000)
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

lib/Analysis/IPA/InlineCost.cpp

index 453658386d79d828da7495a06c6f1ac03f7b8724..371f706cef0fe7c7e9bdef81b18bf48d79deaa73 100644 (file)
@@ -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