Lines Matching refs:dbgs

397       dbgs() << "Null pointer passed into function.\n";  in setupBitInsert()
409 dbgs() << "Failed setup with no Shl or And instruction on base opcode!\n"; in setupBitInsert()
417 dbgs() << "Failed setup since the base operand is not an instruction!\n"; in setupBitInsert()
435 dbgs() << "Failed setup since both mask and shift are NULL!\n"; in setupBitInsert()
490 dbgs() << "!!! Vectors are not supported yet!\n"; in optimizeBitInsert()
501 dbgs() << "Found an OR Operation that failed setup!\n"; in optimizeBitInsert()
513 dbgs() << "Found an OR Operation that failed setup!\n"; in optimizeBitInsert()
524 dbgs() << "Found an OR operation that can possible be optimized to ubit insert!\n"; in optimizeBitInsert()
525 dbgs() << "Op: "; inst->dump(); in optimizeBitInsert()
526 dbgs() << "LHS: "; if (LHS) { LHS->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
527 dbgs() << "LHS Src: "; if (LHSSrc) { LHSSrc->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
528 dbgs() << "LHS Mask: "; if (LHSMask) { LHSMask->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
529 dbgs() << "LHS Shift: "; if (LHSShift) { LHSShift->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
530 dbgs() << "RHS: "; if (RHS) { RHS->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
531 dbgs() << "RHS Src: "; if (RHSSrc) { RHSSrc->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
532 dbgs() << "RHS Mask: "; if (RHSMask) { RHSMask->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
533 dbgs() << "RHS Shift: "; if (RHSShift) { RHSShift->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
555 dbgs() << "Found pattern: \'((A" << (LHSMask ? " & B)" : ")"); in optimizeBitInsert()
556 dbgs() << (LHSShift ? " << C)" : ")") << " | ((D" ; in optimizeBitInsert()
557 dbgs() << (RHSMask ? " & E)" : ")"); in optimizeBitInsert()
558 dbgs() << (RHSShift ? " << F)\'\n" : ")\'\n"); in optimizeBitInsert()
559 dbgs() << "A = LHSSrc\t\tD = RHSSrc \n"; in optimizeBitInsert()
560 dbgs() << "B = " << lhsMaskVal << "\t\tE = " << rhsMaskVal << "\n"; in optimizeBitInsert()
561 dbgs() << "C = " << lhsShiftVal << "\t\tF = " << rhsShiftVal << "\n"; in optimizeBitInsert()
562 dbgs() << "width(B) = " << lhsMaskWidth; in optimizeBitInsert()
563 dbgs() << "\twidth(E) = " << rhsMaskWidth << "\n"; in optimizeBitInsert()
564 dbgs() << "offset(B) = " << lhsMaskOffset; in optimizeBitInsert()
565 dbgs() << "\toffset(E) = " << rhsMaskOffset << "\n"; in optimizeBitInsert()
566 dbgs() << "Constraints: \n"; in optimizeBitInsert()
567 dbgs() << "\t(1) B ^ E == 0\n"; in optimizeBitInsert()
568 dbgs() << "\t(2-LHS) B is a mask\n"; in optimizeBitInsert()
569 dbgs() << "\t(2-LHS) E is a mask\n"; in optimizeBitInsert()
570 dbgs() << "\t(3-LHS) (offset(B)) >= (width(E) + offset(E))\n"; in optimizeBitInsert()
571 dbgs() << "\t(3-RHS) (offset(E)) >= (width(B) + offset(B))\n"; in optimizeBitInsert()
575 dbgs() << lhsMaskVal << " ^ " << rhsMaskVal; in optimizeBitInsert()
576 dbgs() << " = " << (lhsMaskVal ^ rhsMaskVal) << "\n"; in optimizeBitInsert()
577 dbgs() << "Failed constraint 1!\n"; in optimizeBitInsert()
582 dbgs() << "LHS = " << lhsMaskOffset << ""; in optimizeBitInsert()
583 dbgs() << " >= (" << rhsMaskWidth << " + " << rhsMaskOffset << ") = "; in optimizeBitInsert()
584 dbgs() << (lhsMaskOffset >= (rhsMaskWidth + rhsMaskOffset)); in optimizeBitInsert()
585 dbgs() << "\nRHS = " << rhsMaskOffset << ""; in optimizeBitInsert()
586 dbgs() << " >= (" << lhsMaskWidth << " + " << lhsMaskOffset << ") = "; in optimizeBitInsert()
587 dbgs() << (rhsMaskOffset >= (lhsMaskWidth + lhsMaskOffset)); in optimizeBitInsert()
588 dbgs() << "\n"; in optimizeBitInsert()
596 dbgs() << "Value is not a Mask: " << lhsMaskVal << "\n"; in optimizeBitInsert()
597 dbgs() << "Failed constraint 2!\n"; in optimizeBitInsert()
609 dbgs() << "Optimizing LHS!\n"; in optimizeBitInsert()
618 dbgs() << "Non-Mask: " << rhsMaskVal << "\n"; in optimizeBitInsert()
619 dbgs() << "Failed constraint 2!\n"; in optimizeBitInsert()
631 dbgs() << "Optimizing RHS!\n"; in optimizeBitInsert()
635 dbgs() << "Failed constraint 3!\n"; in optimizeBitInsert()
640 dbgs() << "Width: "; if (width) { width->dump(); } else { dbgs() << "(0)\n"; } in optimizeBitInsert()
641 dbgs() << "Offset: "; if (offset) { offset->dump(); } else { dbgs() << "(0)\n"; } in optimizeBitInsert()
642 dbgs() << "LHSSrc: "; if (LHSSrc) { LHSSrc->dump(); } else { dbgs() << "(0)\n"; } in optimizeBitInsert()
643 dbgs() << "RHSSrc: "; if (RHSSrc) { RHSSrc->dump(); } else { dbgs() << "(0)\n"; } in optimizeBitInsert()
647 dbgs() << "Either width or offset are NULL, failed detection!\n"; in optimizeBitInsert()
671 dbgs() << "Old Inst: "; in optimizeBitInsert()
673 dbgs() << "New Inst: "; in optimizeBitInsert()
675 dbgs() << "\n\n"; in optimizeBitInsert()