diff options
author | Andreas Bolka <a@bolka.at> | 2009-07-25 12:19:58 +0000 |
---|---|---|
committer | Andreas Bolka <a@bolka.at> | 2009-07-25 12:19:58 +0000 |
commit | 8a8bd3d690ae5d404fc571923307a29543ad1f3f (patch) | |
tree | 7b70ab62bac7ce971d1466a796f8d5f6b3af0309 /lib/Analysis | |
parent | d6fd377f3333922c4e928019cdfa124ff7f4dd2e (diff) | |
download | external_llvm-8a8bd3d690ae5d404fc571923307a29543ad1f3f.zip external_llvm-8a8bd3d690ae5d404fc571923307a29543ad1f3f.tar.gz external_llvm-8a8bd3d690ae5d404fc571923307a29543ad1f3f.tar.bz2 |
Convert DOUT to DEBUG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/LoopDependenceAnalysis.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Analysis/LoopDependenceAnalysis.cpp b/lib/Analysis/LoopDependenceAnalysis.cpp index 60efa77..421e4e1 100644 --- a/lib/Analysis/LoopDependenceAnalysis.cpp +++ b/lib/Analysis/LoopDependenceAnalysis.cpp @@ -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; } |