summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-28 23:33:06 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-28 23:33:06 +0000
commita531ac291cc4fb65f4d9573d08babf5ce8bd4a9d (patch)
tree6d559573f43e5fa948e65c58a8f8fc06e9e83736 /llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
parenta38b3e15be681599b8640b2ff21868e70ac31422 (diff)
downloadbcm5719-llvm-a531ac291cc4fb65f4d9573d08babf5ce8bd4a9d.tar.gz
bcm5719-llvm-a531ac291cc4fb65f4d9573d08babf5ce8bd4a9d.zip
Convert to using llvm streams instead of iostreams.
llvm-svn: 31989
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
index 4b1eaa9ea01..38aaf0b93c0 100644
--- a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
+++ b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
@@ -26,7 +26,6 @@
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/EquivalenceClasses.h"
#include "llvm/ADT/STLExtras.h"
-#include <iostream>
using namespace llvm;
namespace {
@@ -91,7 +90,7 @@ bool EquivClassGraphs::runOnModule(Module &M) {
if (MainFunc && !MainFunc->isExternal()) {
processSCC(getOrCreateGraph(*MainFunc), Stack, NextID, ValMap);
} else {
- std::cerr << "Fold Graphs: No 'main' function found!\n";
+ llvm_cerr << "Fold Graphs: No 'main' function found!\n";
}
for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
@@ -173,8 +172,8 @@ void EquivClassGraphs::buildIndirectFunctionSets(Module &M) {
FuncECs.insert(I->second); // -- Make sure function has equiv class
FirstFunc = I->second; // -- First callee at this site
} else { // Else indirect call
- // DEBUG(std::cerr << "CALLEE: " << I->second->getName()
- // << " from : " << I->first);
+ // DOUT << "CALLEE: " << I->second->getName()
+ // << " from : " << I->first;
if (I->first != LastInst) {
// This is the first callee from this call site.
LastInst = I->first;
OpenPOWER on IntegriCloud