remove various std::ostream version of printing methods from

MachineInstr and MachineOperand.  This required eliminating a
bunch of stuff that was using DOUT, I hope that bill doesn't
mind me stealing his fun. ;-)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-08-23 03:41:05 +00:00
parent 6456d3868d
commit 705e07f578
19 changed files with 78 additions and 118 deletions

View File

@ -52,17 +52,17 @@ void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const {
}
void LiveVariables::VarInfo::dump() const {
cerr << " Alive in blocks: ";
errs() << " Alive in blocks: ";
for (SparseBitVector<>::iterator I = AliveBlocks.begin(),
E = AliveBlocks.end(); I != E; ++I)
cerr << *I << ", ";
cerr << "\n Killed by:";
errs() << *I << ", ";
errs() << "\n Killed by:";
if (Kills.empty())
cerr << " No instructions.\n";
errs() << " No instructions.\n";
else {
for (unsigned i = 0, e = Kills.size(); i != e; ++i)
cerr << "\n #" << i << ": " << *Kills[i];
cerr << "\n";
errs() << "\n #" << i << ": " << *Kills[i];
errs() << "\n";
}
}