Minor changes to DEBUG()'s
authorChris Lattner <sabre@nondot.org>
Wed, 7 Aug 2002 21:41:11 +0000 (21:41 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Aug 2002 21:41:11 +0000 (21:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3261 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp
lib/Analysis/DataStructure/TopDownClosure.cpp

index f35e531e41bf4892a405cdc75c44f350c9ea051d..2d2a182a4f55959a288a035a32aba06d6ce7452d 100644 (file)
@@ -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;
 }
index 561e857f63615afa5d7c1070c6e266e8c784798e..ca6556d8ffa507e07d70c4657874e4115564225a 100644 (file)
@@ -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;
 }