aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-07 21:41:11 +0000
committerChris Lattner <sabre@nondot.org>2002-08-07 21:41:11 +0000
commit221c97974cd57845f56859755ac31cd0c1fd2a62 (patch)
tree809d9521660d5bf5fd8c6fc28de2ad09b32ed64c
parent13c476cbd1b3317973d83b0d618730390afca8c1 (diff)
Minor changes to DEBUG()'s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3261 91177308-0d34-0410-b5e6-96231b3b80d8
-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;
}