projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d96045
)
[inliner] Print out extra stats about the cost, threshold, and vector
author
Chandler Carruth
<chandlerc@gmail.com>
Fri, 31 Jan 2014 22:32:32 +0000
(22:32 +0000)
committer
Chandler 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
patch
|
blob
|
history
diff --git
a/lib/Analysis/IPA/InlineCost.cpp
b/lib/Analysis/IPA/InlineCost.cpp
index 453658386d79d828da7495a06c6f1ac03f7b8724..371f706cef0fe7c7e9bdef81b18bf48d79deaa73 100644
(file)
--- 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