diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:04:42 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:04:42 +0000 |
commit | 22e978a736cb34291c15de07e5b31d395d08dee5 (patch) | |
tree | fefd1c0e6a2b008cd41efe30abd584ddd863c4ee /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp | |
parent | 2e169c37eae1db712bb8d46b86b14e94e12f6141 (diff) | |
download | bcm5719-llvm-22e978a736cb34291c15de07e5b31d395d08dee5.tar.gz bcm5719-llvm-22e978a736cb34291c15de07e5b31d395d08dee5.zip |
Removing even more <iostream> includes.
llvm-svn: 32320
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp index f48f4447ba6..f64e65eafa1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp @@ -25,10 +25,8 @@ #include "llvm/Support/Debug.h" #include "llvm/Support/Compiler.h" #include <algorithm> -#include <iostream> using namespace llvm; - namespace { static RegisterScheduler @@ -475,7 +473,7 @@ private: /// print - Print ordering to specified output stream. /// - void print(std::ostream &O) const; + void print(OStream &O) const; void dump(const char *tag) const; @@ -487,7 +485,7 @@ private: /// printNI - Print node info. /// - void printNI(std::ostream &O, NodeInfo *NI) const; + void printNI(OStream &O, NodeInfo *NI) const; /// printChanges - Hilight changes in order caused by scheduling. /// @@ -638,7 +636,7 @@ void ScheduleDAGSimple::AddToGroup(NodeInfo *D, NodeInfo *U) { /// print - Print ordering to specified output stream. /// -void ScheduleDAGSimple::print(std::ostream &O) const { +void ScheduleDAGSimple::print(OStream &O) const { #ifndef NDEBUG O << "Ordering\n"; for (unsigned i = 0, N = Ordering.size(); i < N; i++) { @@ -659,11 +657,11 @@ void ScheduleDAGSimple::print(std::ostream &O) const { } void ScheduleDAGSimple::dump(const char *tag) const { - std::cerr << tag; dump(); + cerr << tag; dump(); } void ScheduleDAGSimple::dump() const { - print(std::cerr); + print(cerr); } @@ -712,7 +710,7 @@ static bool isFlagUser(SDNode *A) { /// printNI - Print node info. /// -void ScheduleDAGSimple::printNI(std::ostream &O, NodeInfo *NI) const { +void ScheduleDAGSimple::printNI(OStream &O, NodeInfo *NI) const { #ifndef NDEBUG SDNode *Node = NI->Node; O << " " @@ -741,25 +739,25 @@ void ScheduleDAGSimple::printChanges(unsigned Index) const { } if (i < N) { - std::cerr << Index << ". New Ordering\n"; + cerr << Index << ". New Ordering\n"; for (i = 0; i < N; i++) { NodeInfo *NI = Ordering[i]; - std::cerr << " " << NI->Preorder << ". "; - printNI(std::cerr, NI); - std::cerr << "\n"; + cerr << " " << NI->Preorder << ". "; + printNI(cerr, NI); + cerr << "\n"; if (NI->isGroupDominator()) { NodeGroup *Group = NI->Group; for (NIIterator NII = Group->group_begin(), E = Group->group_end(); NII != E; NII++) { - std::cerr << " "; - printNI(std::cerr, *NII); - std::cerr << "\n"; + cerr << " "; + printNI(cerr, *NII); + cerr << "\n"; } } } } else { - std::cerr << Index << ". No Changes\n"; + cerr << Index << ". No Changes\n"; } #endif } |