Home | History | Annotate | Download | only in CodeGen

Lines Matching full:indent

628   void RenderMachineFunction::renderVertical(const Spacer &indent,
632 os << indent << "<object\n"
633 << indent + s(2) << "class=\"obj\"\n"
634 << indent + s(2) << "type=\"image/svg+xml\"\n"
635 << indent + s(2) << "width=\"14px\"\n"
636 << indent + s(2) << "height=\"55px\"\n"
637 << indent + s(2) << "data=\"data:image/svg+xml,\n"
638 << indent + s(4) << "<svg xmlns='http://www.w3.org/2000/svg'>\n"
639 << indent + s(6) << "<text x='-55' y='10' "
644 << indent + s(4) << "</svg>\">\n"
645 << indent << "</object>\n";
651 os << indent;
660 void RenderMachineFunction::insertCSS(const Spacer &indent,
662 os << indent << "<style type=\"text/css\">\n"
663 << indent + s(2) << "body { font-color: black; }\n"
664 << indent + s(2) << "table.code td { font-family: monospace; "
667 << indent + s(2) << "table.code td.p-z { background-color: #000000; }\n"
668 << indent + s(2) << "table.code td.p-l { background-color: #00ff00; }\n"
669 << indent + s(2) << "table.code td.p-h { background-color: #ff0000; }\n"
670 << indent + s(2) << "table.code td.l-n { background-color: #ffffff; }\n"
671 << indent + s(2) << "table.code td.l-d { background-color: #ff0000; }\n"
672 << indent + s(2) << "table.code td.l-u { background-color: #ffff00; }\n"
673 << indent + s(2) << "table.code td.l-r { background-color: #000000; }\n"
674 << indent + s(2) << "table.code td.l-s { background-color: #770000; }\n"
675 << indent + s(2) << "table.code th { border-width: 0px; "
677 << indent << "</style>\n";
681 const Spacer &indent, raw_ostream &os,
683 os << indent << "<h1>Function: " << mf->getFunction()->getName()
685 << indent << "<h2>Rendering context: " << renderContextStr << "</h2>\n";
690 const Spacer &indent,
692 os << indent << "<h2>Rendering Pressure Legend:</h2>\n"
693 << indent << "<table class=\"code\">\n"
694 << indent + s(2) << "<tr>\n"
695 << indent + s(4) << "<th>Pressure</th><th>Description</th>"
697 << indent + s(2) << "</tr>\n"
698 << indent + s(2) << "<tr>\n"
699 << indent + s(4) << "<td>No Pressure</td>"
702 << indent + s(2) << "</tr>\n"
703 << indent + s(2) << "<tr>\n"
704 << indent + s(4) << "<td>Low Pressure</td>"
707 << indent + s(2) << "</tr>\n"
708 << indent + s(2) << "<tr>\n"
709 << indent + s(4) << "<td>High Pressure</td>"
712 << indent + s(2) << "</tr>\n"
713 << indent << "</table>\n";
718 const Spacer &indent, raw_ostream &os,
730 os << indent + s(4) << "<td class=\"" << ctsItr->second << "\"";
737 void RenderMachineFunction::renderCodeTablePlusPI(const Spacer &indent,
754 os << indent << "<table cellpadding=0 cellspacing=0 class=\"code\">\n"
755 << indent + s(2) << "<tr>\n";
759 os << indent + s(4) << "<th>index</th>\n"
760 << indent + s(4) << "<th>instr</th>\n";
769 os << indent + s(4) << "<th>\n";
770 renderVertical(indent + s(6), os, trc->getName());
771 os << indent + s(4) << "</th>\n";
777 os << indent + s(4) << "<th>&nbsp;&nbsp;</th>\n";
787 os << indent + s(4) << "<th>\n";
788 renderVertical(indent + s(6), os, li->reg);
789 os << indent + s(4) << "</th>\n";
793 os << indent + s(2) << "</tr>\n";
804 os << indent + s(2) << "<tr height=6ex>\n";
813 os << indent + s(4) << "<td rowspan=4>" << i << "&nbsp;</td>\n"
814 << indent + s(4) << "<td rowspan=4>\n";
817 os << indent + s(6) << "BB#" << mbb->getNumber() << ":&nbsp;\n";
819 os << indent + s(6) << "&nbsp;&nbsp;";
824 os << indent + s(4) << "</td>\n";
844 renderCellsWithRLE(indent + s(4), os, psRLEAccumulator, psStrs);
849 renderCellsWithRLE(indent + s(4), os, psRLEAccumulator, psStrs);
854 os << indent + s(4) << "<td width=2em></td>\n";
868 renderCellsWithRLE(indent + s(4), os, lsRLEAccumulator, lsStrs);
873 renderCellsWithRLE(indent + s(4), os, lsRLEAccumulator, lsStrs);
875 os << indent + s(2) << "</tr>\n";
878 os << indent << "</table>\n";
881 renderPressureTableLegend(indent, os);