• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/

Lines Matching defs:OS

335 void SDNode::print_types(raw_ostream &OS, const SelectionDAG *G) const {
336 OS << (const void*)this << ": ";
339 if (i) OS << ",";
341 OS << "ch";
343 OS << getValueType(i).getEVTString();
345 OS << " = " << getOperationName(G);
348 void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
351 OS << "<";
352 OS << "Mem:";
355 OS << **i;
357 OS << " ";
359 OS << ">";
363 OS << "<";
366 if (i) OS << ",";
368 OS << "u";
370 OS << Idx;
372 OS << ">";
374 OS << '<' << CSDN->getAPIntValue() << '>';
377 OS << '<' << CSDN->getValueAPF().convertToFloat() << '>';
379 OS << '<' << CSDN->getValueAPF().convertToDouble() << '>';
381 OS << "<APFloat(";
383 OS << ")>";
388 OS << '<';
389 WriteAsOperand(OS, GADN->getGlobal());
390 OS << '>';
392 OS << " + " << offset;
394 OS << " " << offset;
396 OS << " [TF=" << TF << ']';
398 OS << "<" << FIDN->getIndex() << ">";
400 OS << "<" << JTDN->getIndex() << ">";
402 OS << " [TF=" << TF << ']';
406 OS << "<" << *CP->getMachineCPVal() << ">";
408 OS << "<" << *CP->getConstVal() << ">";
410 OS << " + " << offset;
412 OS << " " << offset;
414 OS << " [TF=" << TF << ']';
416 OS << "<" << TI->getIndex() << '+' << TI->getOffset() << ">";
418 OS << " [TF=" << TF << ']';
420 OS << "<";
423 OS << LBB->getName() << " ";
424 OS << (const void*)BBDN->getBasicBlock() << ">";
426 OS << ' ' << PrintReg(R->getReg(), G ? G->getTarget().getRegisterInfo() :0);
429 OS << "'" << ES->getSymbol() << "'";
431 OS << " [TF=" << TF << ']';
434 OS << "<" << M->getValue() << ">";
436 OS << "<null>";
439 OS << "<" << MD->getMD() << ">";
441 OS << "<null>";
443 OS << ":" << N->getVT().getEVTString();
446 OS << "<" << *LD->getMemOperand();
451 case ISD::EXTLOAD: OS << ", anyext"; break;
452 case ISD::SEXTLOAD: OS << ", sext"; break;
453 case ISD::ZEXTLOAD: OS << ", zext"; break;
456 OS << " from " << LD->getMemoryVT().getEVTString();
460 OS << ", " << AM;
462 OS << ">";
464 OS << "<" << *ST->getMemOperand();
467 OS << ", trunc to " << ST->getMemoryVT().getEVTString();
471 OS << ", " << AM;
473 OS << ">";
475 OS << "<" << *M->getMemOperand() << ">";
479 OS << "<";
480 WriteAsOperand(OS, BA->getBlockAddress()->getFunction(), false);
481 OS << ", ";
482 WriteAsOperand(OS, BA->getBlockAddress()->getBasicBlock(), false);
483 OS << ">";
485 OS << " + " << offset;
487 OS << " " << offset;
489 OS << " [TF=" << TF << ']';
494 OS << " [ORD=" << Order << ']';
497 OS << " [ID=" << getNodeId() << ']';
503 OS << " dbg:";
506 OS << Scope.getFilename();
508 OS << "<unknown>";
509 OS << ':' << dl.getLine();
511 OS << ':' << dl.getCol();
542 void SDNode::printr(raw_ostream &OS, const SelectionDAG *G) const {
543 print_types(OS, G);
544 print_details(OS, G);
548 static void DumpNodesr(raw_ostream &OS, const SDNode *N, unsigned indent,
554 OS.indent(indent);
555 N->printr(OS, G);
561 if (i) OS << ",";
562 OS << " ";
566 child->printr(OS, G);
569 OS << (const void*)child;
571 OS << ":" << RN;
575 OS << "\n";
580 DumpNodesr(OS, child, indent+2, G, once);
594 static void printrWithDepthHelper(raw_ostream &OS, const SDNode *N,
600 OS.indent(indent);
602 N->print(OS, G);
611 OS << '\n';
612 printrWithDepthHelper(OS, N->getOperand(i).getNode(), G, depth-1, indent+2);
616 void SDNode::printrWithDepth(raw_ostream &OS, const SelectionDAG *G,
618 printrWithDepthHelper(OS, this, G, depth, 0);
621 void SDNode::printrFull(raw_ostream &OS, const SelectionDAG *G) const {
623 printrWithDepth(OS, G, 10);
635 void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const {
636 print_types(OS, G);
638 if (i) OS << ", "; else OS << " ";
639 OS << (void*)getOperand(i).getNode();
641 OS << ":" << RN;
643 print_details(OS, G);