| OLD | NEW |
| 1 //===-- SelectionDAGDumper.cpp - Implement SelectionDAG::dump() -----------===// | 1 //===-- SelectionDAGDumper.cpp - Implement SelectionDAG::dump() -----------===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This implements the SelectionDAG::dump method and friends. | 10 // This implements the SelectionDAG::dump method and friends. |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 case ISD::SETNE: return "setne"; | 306 case ISD::SETNE: return "setne"; |
| 307 | 307 |
| 308 case ISD::SETTRUE: return "settrue"; | 308 case ISD::SETTRUE: return "settrue"; |
| 309 case ISD::SETTRUE2: return "settrue2"; | 309 case ISD::SETTRUE2: return "settrue2"; |
| 310 case ISD::SETFALSE: return "setfalse"; | 310 case ISD::SETFALSE: return "setfalse"; |
| 311 case ISD::SETFALSE2: return "setfalse2"; | 311 case ISD::SETFALSE2: return "setfalse2"; |
| 312 } | 312 } |
| 313 | 313 |
| 314 // @LOCALMOD-BEGIN | 314 // @LOCALMOD-BEGIN |
| 315 // NaCl intrinsics for TLS setup | 315 // NaCl intrinsics for TLS setup |
| 316 case ISD::NACL_THREAD_STACK_PADDING: return "nacl_thread_stack_padding"; | |
| 317 case ISD::NACL_TP_ALIGN: return "nacl_tp_alignment"; | 316 case ISD::NACL_TP_ALIGN: return "nacl_tp_alignment"; |
| 318 case ISD::NACL_TP_TLS_OFFSET: return "nacl_tls_offset"; | 317 case ISD::NACL_TP_TLS_OFFSET: return "nacl_tls_offset"; |
| 319 case ISD::NACL_TP_TDB_OFFSET: return "nacl_tdb_offset"; | 318 case ISD::NACL_TP_TDB_OFFSET: return "nacl_tdb_offset"; |
| 320 case ISD::NACL_TARGET_ARCH: return "nacl_target_arch"; | 319 case ISD::NACL_TARGET_ARCH: return "nacl_target_arch"; |
| 321 // @LOCALMOD-END | 320 // @LOCALMOD-END |
| 322 } | 321 } |
| 323 } | 322 } |
| 324 | 323 |
| 325 const char *SDNode::getIndexedModeName(ISD::MemIndexedMode AM) { | 324 const char *SDNode::getIndexedModeName(ISD::MemIndexedMode AM) { |
| 326 switch (AM) { | 325 switch (AM) { |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const { | 631 void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const { |
| 633 print_types(OS, G); | 632 print_types(OS, G); |
| 634 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { | 633 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { |
| 635 if (i) OS << ", "; else OS << " "; | 634 if (i) OS << ", "; else OS << " "; |
| 636 OS << (void*)getOperand(i).getNode(); | 635 OS << (void*)getOperand(i).getNode(); |
| 637 if (unsigned RN = getOperand(i).getResNo()) | 636 if (unsigned RN = getOperand(i).getResNo()) |
| 638 OS << ":" << RN; | 637 OS << ":" << RN; |
| 639 } | 638 } |
| 640 print_details(OS, G); | 639 print_details(OS, G); |
| 641 } | 640 } |
| OLD | NEW |