Home | History | Annotate | Download | only in TableGen

Lines Matching refs:o2

462 void DisassemblerTables::emitModRMDecision(raw_ostream &o1, raw_ostream &o2,
472 o2.indent(i2) << "{ /* ModRMDecision */" << "\n";
475 o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
476 o2.indent(i2) << 0 << " /* EmptyTable */\n";
479 o2.indent(i2) << "}";
528 o2.indent(i2) << "{ /* struct ModRMDecision */" << "\n";
531 o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
532 o2.indent(i2) << EntryNumber << " /* Table" << EntryNumber << " */\n";
535 o2.indent(i2) << "}";
564 void DisassemblerTables::emitOpcodeDecision(raw_ostream &o1, raw_ostream &o2,
568 o2.indent(i2) << "{ /* struct OpcodeDecision */" << "\n";
570 o2.indent(i2) << "{" << "\n";
574 o2.indent(i2);
576 o2 << "/* 0x" << format("%02hhx", index) << " */" << "\n";
578 emitModRMDecision(o1, o2, i1, i2, ModRMTableNum,
582 o2 << ",";
584 o2 << "\n";
588 o2.indent(i2) << "}" << "\n";
590 o2.indent(i2) << "}" << "\n";
593 void DisassemblerTables::emitContextDecision(raw_ostream &o1, raw_ostream &o2,
598 o2.indent(i2) << "static const struct ContextDecision " << name << " = {\n";
600 o2.indent(i2) << "{ /* opcodeDecisions */" << "\n";
604 o2.indent(i2) << "/* ";
605 o2 << stringForContext((InstructionContext)index);
606 o2 << " */";
607 o2 << "\n";
609 emitOpcodeDecision(o1, o2, i1, i2, ModRMTableNum,
613 o2 << ", ";
617 o2.indent(i2) << "}" << "\n";
619 o2.indent(i2) << "};" << "\n";
812 void DisassemblerTables::emitContextDecisions(raw_ostream &o1, raw_ostream &o2,
815 emitContextDecision(o1, o2, i1, i2, ModRMTableNum, *Tables[0], ONEBYTE_STR);
816 emitContextDecision(o1, o2, i1, i2, ModRMTableNum, *Tables[1], TWOBYTE_STR);
817 emitContextDecision(o1, o2, i1, i2, ModRMTableNum, *Tables[2], THREEBYTE38_STR);
818 emitContextDecision(o1, o2, i1, i2, ModRMTableNum, *Tables[3], THREEBYTE3A_STR);
819 emitContextDecision(o1, o2, i1, i2, ModRMTableNum, *Tables[4], XOP8_MAP_STR);
820 emitContextDecision(o1, o2, i1, i2, ModRMTableNum, *Tables[5], XOP9_MAP_STR);
821 emitContextDecision(o1, o2, i1, i2, ModRMTableNum, *Tables[6], XOPA_MAP_STR);
832 raw_string_ostream o2(s2);
850 emitContextDecisions(o1, o2, i1, i2, ModRMTableNum);
856 o << o2.str();