diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-02 20:24:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-02 20:24:42 +0000 |
commit | d391d703611e3db7a5836f5a962c976857b6a16a (patch) | |
tree | 729f153e862c06a3f314f7c73ab4d16ecf959cd4 /lib | |
parent | 47030f8a7296828ae024788ba555d91420c92ec6 (diff) | |
download | external_llvm-d391d703611e3db7a5836f5a962c976857b6a16a.zip external_llvm-d391d703611e3db7a5836f5a962c976857b6a16a.tar.gz external_llvm-d391d703611e3db7a5836f5a962c976857b6a16a.tar.bz2 |
Keep track of how many inlinings are performed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/DataStructure/BottomUpClosure.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index c449997..e2d6f6f 100644 --- 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_" + |