aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Analysis/DataStructure/BottomUpClosure.cpp4
-rw-r--r--lib/Analysis/DataStructure/TopDownClosure.cpp5
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp
index f35e531e41..2d2a182a4f 100644
--- a/lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -235,7 +235,9 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
Graph->markIncompleteNodes();
Graph->removeDeadNodes(/*KeepAllGlobals*/ false, /*KeepCalls*/ false);
- DEBUG(std::cerr << " [BU] Done inlining: " << F.getName() << "\n");
+ DEBUG(std::cerr << " [BU] Done inlining: " << F.getName() << " ["
+ << Graph->getGraphSize() << "+" << Graph->getFunctionCalls().size()
+ << "]\n");
return *Graph;
}
diff --git a/lib/Analysis/DataStructure/TopDownClosure.cpp b/lib/Analysis/DataStructure/TopDownClosure.cpp
index 561e857f63..ca6556d8ff 100644
--- a/lib/Analysis/DataStructure/TopDownClosure.cpp
+++ b/lib/Analysis/DataStructure/TopDownClosure.cpp
@@ -218,8 +218,9 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) {
/*&& FIXME: NEED TO CHECK IF ALL CALLERS FOUND!*/);
Graph->removeDeadNodes(/*KeepAllGlobals*/ false, /*KeepCalls*/ false);
- DEBUG(std::cerr << " [TD] Done inlining callers for: "
- << F.getName() << "\n");
+ DEBUG(std::cerr << " [TD] Done inlining callers for: " << F.getName() << " ["
+ << Graph->getGraphSize() << "+" << Graph->getFunctionCalls().size()
+ << "]\n");
return *Graph;
}