diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-20 20:38:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-20 20:38:17 +0000 |
commit | 0beae0cdac65c4c530911737c028a40ab68ad925 (patch) | |
tree | 42b19be14578c5b10e97c64455d3ad311354187c /lib/Target | |
parent | 60f1445cf26f769ff88383e3bfd771e4ac3cb5c0 (diff) | |
download | llvm-0beae0cdac65c4c530911737c028a40ab68ad925.tar.gz llvm-0beae0cdac65c4c530911737c028a40ab68ad925.tar.bz2 llvm-0beae0cdac65c4c530911737c028a40ab68ad925.tar.xz |
Remove using declaration
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/SparcV9/LiveVar/BBLiveVar.cpp | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp index c3716c9906..525435d4f4 100644 --- a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp +++ b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp @@ -21,8 +21,6 @@ /// BROKEN: Should not include sparc stuff directly into here #include "../../Target/Sparc/SparcInternals.h" // Only for PHI defn -using std::cerr; - static AnnotationID AID(AnnotationManager::getID("Analysis::BBLiveVar")); BBLiveVar *BBLiveVar::CreateOnBB(const BasicBlock &BB, MachineBasicBlock &MBB, @@ -63,9 +61,9 @@ void BBLiveVar::calcDefUseSets() { const MachineInstr *MI = *MII; if (DEBUG_LV >= LV_DEBUG_Verbose) { - cerr << " *Iterating over machine instr "; + std::cerr << " *Iterating over machine instr "; MI->dump(); - cerr << "\n"; + std::cerr << "\n"; } // iterate over MI operands to find defs @@ -105,8 +103,8 @@ void BBLiveVar::calcDefUseSets() { PredToEdgeInSetMap[PredBB].insert(ArgVal); if (DEBUG_LV >= LV_DEBUG_Verbose) - cerr << " - phi operand " << RAV(ArgVal) << " came from BB " - << RAV(PredBB) << "\n"; + std::cerr << " - phi operand " << RAV(ArgVal) << " came from BB " + << RAV(PredBB) << "\n"; } // if( IsPhi ) else { // It is not a Phi use: add to regular use set and remove later defs. @@ -139,7 +137,7 @@ void BBLiveVar::addDef(const Value *Op) { InSet.erase(Op); // this definition kills any later uses InSetChanged = true; - if (DEBUG_LV >= LV_DEBUG_Verbose) cerr << " +Def: " << RAV(Op) << "\n"; + if (DEBUG_LV >= LV_DEBUG_Verbose) std::cerr << " +Def: " << RAV(Op) << "\n"; } @@ -151,7 +149,7 @@ void BBLiveVar::addUse(const Value *Op) { DefSet.erase(Op); // remove if there is a def below this use InSetChanged = true; - if (DEBUG_LV >= LV_DEBUG_Verbose) cerr << " Use: " << RAV(Op) << "\n"; + if (DEBUG_LV >= LV_DEBUG_Verbose) std::cerr << " Use: " << RAV(Op) << "\n"; } @@ -238,14 +236,14 @@ bool BBLiveVar::applyFlowFunc() { // ----------------- Methods For Debugging (Printing) ----------------- void BBLiveVar::printAllSets() const { - cerr << " Defs: "; printSet(DefSet); cerr << "\n"; - cerr << " In: "; printSet(InSet); cerr << "\n"; - cerr << " Out: "; printSet(OutSet); cerr << "\n"; + std::cerr << " Defs: "; printSet(DefSet); std::cerr << "\n"; + std::cerr << " In: "; printSet(InSet); std::cerr << "\n"; + std::cerr << " Out: "; printSet(OutSet); std::cerr << "\n"; } void BBLiveVar::printInOutSets() const { - cerr << " In: "; printSet(InSet); cerr << "\n"; - cerr << " Out: "; printSet(OutSet); cerr << "\n"; + std::cerr << " In: "; printSet(InSet); std::cerr << "\n"; + std::cerr << " Out: "; printSet(OutSet); std::cerr << "\n"; } |