Convert DOUT to DEBUG.
authorAndreas Bolka <a@bolka.at>
Sat, 25 Jul 2009 12:19:58 +0000 (12:19 +0000)
committerAndreas Bolka <a@bolka.at>
Sat, 25 Jul 2009 12:19:58 +0000 (12:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77065 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LoopDependenceAnalysis.cpp

index 60efa776353d55a3eb12f6f9a0e63211e222333b..421e4e1ac18b6f2716dfa54dca59361354350e9d 100644 (file)
@@ -101,7 +101,7 @@ bool LoopDependenceAnalysis::findOrInsertDependencePair(Value *X,
 }
 
 void LoopDependenceAnalysis::analysePair(DependencePair *P) const {
-  DOUT << "Analysing:\n" << *P->A << "\n" << *P->B << "\n";
+  DEBUG(errs() << "Analysing:\n" << *P->A << "\n" << *P->B << "\n");
 
   // Our default answer: we don't know anything, i.e. we failed to analyse this
   // pair to get a more specific answer (dependent, independent).
@@ -110,7 +110,7 @@ void LoopDependenceAnalysis::analysePair(DependencePair *P) const {
   // We only analyse loads and stores but no possible memory accesses by e.g.
   // free, call, or invoke instructions.
   if (!IsLoadOrStoreInst(P->A) || !IsLoadOrStoreInst(P->B)) {
-    DOUT << "--> [?] no load/store\n";
+    DEBUG(errs() << "--> [?] no load/store\n");
     return;
   }
 
@@ -124,20 +124,20 @@ void LoopDependenceAnalysis::analysePair(DependencePair *P) const {
 
   // We can not analyse objects if we do not know about their aliasing.
   if (alias == AliasAnalysis::MayAlias) {
-    DOUT << "---> [?] may alias\n";
+    DEBUG(errs() << "---> [?] may alias\n");
     return;
   }
 
   // If the objects noalias, they are distinct, accesses are independent.
   if (alias == AliasAnalysis::NoAlias) {
-    DOUT << "---> [I] no alias\n";
+    DEBUG(errs() << "---> [I] no alias\n");
     P->Result = Independent;
     return;
   }
 
   // TODO: the underlying objects MustAlias, test for dependence
 
-  DOUT << "---> [?] cannot analyse\n";
+  DEBUG(errs() << "---> [?] cannot analyse\n");
   return;
 }