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:
47030f8
)
Keep track of how many inlinings are performed
author
Chris Lattner
<sabre@nondot.org>
Wed, 2 Jul 2003 20:24:42 +0000
(20:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 2 Jul 2003 20:24:42 +0000
(20:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7076
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/BottomUpClosure.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/BottomUpClosure.cpp
b/lib/Analysis/DataStructure/BottomUpClosure.cpp
index c449997e74085daf61a1f367762945316e3f096e..e2d6f6f0f426bd51d1be564fca26eada70d1fcd1 100644
(file)
--- a/
lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/
lib/Analysis/DataStructure/BottomUpClosure.cpp
@@
-14,6
+14,7
@@
namespace {
Statistic<> MaxSCC("budatastructure", "Maximum SCC Size in Call Graph");
+ Statistic<> NumBUInlines("budatastructures", "Number of graphs inlined");
RegisterAnalysis<BUDataStructures>
X("budatastructure", "Bottom-up Data Structure Analysis");
@@
-264,6
+265,7
@@
void BUDataStructures::calculateGraph(DSGraph &Graph) {
Graph.mergeInGraph(CS, *Callee, GI,
DSGraph::KeepModRefBits |
DSGraph::StripAllocaBit | DSGraph::DontCloneCallNodes);
+ ++NumBUInlines;
#if 0
Graph.writeGraphToFile(std::cerr, "bu_" + F.getName() + "_after_" +