diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-17 07:52:03 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-17 07:52:03 +0000 |
commit | 6345d75729392d9b50383f1b5c7f92d477572290 (patch) | |
tree | 3a2909e6699775c1d5b19f777394c2cb792c384b /lib/Target/X86/X86ISelDAGToDAG.cpp | |
parent | 9be7ac1d8c3f7c1f44916361ff714822ae572c33 (diff) | |
download | external_llvm-6345d75729392d9b50383f1b5c7f92d477572290.zip external_llvm-6345d75729392d9b50383f1b5c7f92d477572290.tar.gz external_llvm-6345d75729392d9b50383f1b5c7f92d477572290.tar.bz2 |
Removed even more std::cerr and #include <iostream> things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/X86/X86ISelDAGToDAG.cpp | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index 68b89a4..8543295 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -464,12 +464,12 @@ void X86DAGToDAGISel::InstructionSelectBasicBlock(SelectionDAG &DAG) { // Codegen the basic block. #ifndef NDEBUG - DEBUG(std::cerr << "===== Instruction selection begins:\n"); + DOUT << "===== Instruction selection begins:\n"; Indent = 0; #endif DAG.setRoot(SelectRoot(DAG.getRoot())); #ifndef NDEBUG - DEBUG(std::cerr << "===== Instruction selection ends:\n"); + DOUT << "===== Instruction selection ends:\n"; #endif DAG.RemoveDeadNodes(); @@ -966,19 +966,17 @@ SDNode *X86DAGToDAGISel::Select(SDOperand N) { unsigned Opcode = Node->getOpcode(); #ifndef NDEBUG - DEBUG(std::cerr << std::string(Indent, ' ')); - DEBUG(std::cerr << "Selecting: "); + DOUT << std::string(Indent, ' ') << "Selecting: "; DEBUG(Node->dump(CurDAG)); - DEBUG(std::cerr << "\n"); + DOUT << "\n"; Indent += 2; #endif if (Opcode >= ISD::BUILTIN_OP_END && Opcode < X86ISD::FIRST_NUMBER) { #ifndef NDEBUG - DEBUG(std::cerr << std::string(Indent-2, ' ')); - DEBUG(std::cerr << "== "); + DOUT << std::string(Indent-2, ' ') << "== "; DEBUG(Node->dump(CurDAG)); - DEBUG(std::cerr << "\n"); + DOUT << "\n"; Indent -= 2; #endif return NULL; // Already selected. @@ -1106,10 +1104,9 @@ SDNode *X86DAGToDAGISel::Select(SDOperand N) { ReplaceUses(N1.getValue(1), Result.getValue(1)); #ifndef NDEBUG - DEBUG(std::cerr << std::string(Indent-2, ' ')); - DEBUG(std::cerr << "=> "); + DOUT << std::string(Indent-2, ' ') << "=> "; DEBUG(Result.Val->dump(CurDAG)); - DEBUG(std::cerr << "\n"); + DOUT << "\n"; Indent -= 2; #endif return NULL; @@ -1218,10 +1215,9 @@ SDNode *X86DAGToDAGISel::Select(SDOperand N) { ReplaceUses(N1.getValue(1), Result.getValue(1)); #ifndef NDEBUG - DEBUG(std::cerr << std::string(Indent-2, ' ')); - DEBUG(std::cerr << "=> "); + DOUT << std::string(Indent-2, ' ') << "=> "; DEBUG(Result.Val->dump(CurDAG)); - DEBUG(std::cerr << "\n"); + DOUT << "\n"; Indent -= 2; #endif @@ -1252,10 +1248,9 @@ SDNode *X86DAGToDAGISel::Select(SDOperand N) { SDNode *ResNode = CurDAG->getTargetNode(Opc2, NVT, Tmp); #ifndef NDEBUG - DEBUG(std::cerr << std::string(Indent-2, ' ')); - DEBUG(std::cerr << "=> "); + DOUT << std::string(Indent-2, ' ') << "=> "; DEBUG(ResNode->dump(CurDAG)); - DEBUG(std::cerr << "\n"); + DOUT << "\n"; Indent -= 2; #endif return ResNode; @@ -1268,13 +1263,12 @@ SDNode *X86DAGToDAGISel::Select(SDOperand N) { SDNode *ResNode = SelectCode(N); #ifndef NDEBUG - DEBUG(std::cerr << std::string(Indent-2, ' ')); - DEBUG(std::cerr << "=> "); + DOUT << std::string(Indent-2, ' ') << "=> "; if (ResNode == NULL || ResNode == N.Val) DEBUG(N.Val->dump(CurDAG)); else DEBUG(ResNode->dump(CurDAG)); - DEBUG(std::cerr << "\n"); + DOUT << "\n"; Indent -= 2; #endif |