• Home
  • Raw
  • Download

Lines Matching refs:indent

514   o.indent(Indentation) << "// Check Inst{";  in emit()
521 o.indent(Indentation) << "switch (fieldFromInstruction" << Owner->BitWidth in emit()
537 o.indent(Indentation) << "default:\n"; in emit()
538 o.indent(Indentation) << " break; // fallthrough\n"; in emit()
544 o.indent(Indentation) << "}\n"; in emit()
547 o.indent(Indentation) << "case " << filterIterator->first << ":\n"; in emit()
560 o.indent(Indentation) << "break;\n"; in emit()
568 o.indent(Indentation) << "}\n"; in emit()
590 o.indent(Indentation) << in emitTop()
595 o.indent(Indentation) << " unsigned tmp = 0;\n"; in emitTop()
596 o.indent(Indentation) << " (void)tmp;\n"; in emitTop()
597 o.indent(Indentation) << Emitter->Locals << "\n"; in emitTop()
598 o.indent(Indentation) << " uint64_t Bits = STI.getFeatureBits();\n"; in emitTop()
599 o.indent(Indentation) << " (void)Bits;\n"; in emitTop()
606 o.indent(Indentation) << "return " << Emitter->ReturnFail << ";\n"; in emitTop()
609 o.indent(Indentation) << "}\n"; in emitTop()
762 o.indent(Indentation) << " tmp = fieldFromInstruction" << BitWidth in emitBinaryParser()
766 o.indent(Indentation) << " tmp = 0;\n"; in emitBinaryParser()
769 o.indent(Indentation) << " tmp |= (fieldFromInstruction" << BitWidth in emitBinaryParser()
776 o.indent(Indentation) << " " << Emitter->GuardPrefix << Decoder in emitBinaryParser()
780 o.indent(Indentation) << " MI.addOperand(MCOperand::CreateImm(tmp));\n"; in emitBinaryParser()
871 o.indent(Indentation) << "if ("; in emitSoftFailCheck()
879 o.indent(Indentation+2) << "S = MCDisassembler::SoftFail;\n"; in emitSoftFailCheck()
900 o.indent(Indentation) << "if ("; in emitSingletonDecoder()
905 o.indent(Indentation) << " MI.setOpcode(" << Opc << ");\n"; in emitSingletonDecoder()
913 o.indent(Indentation) << " " << Emitter->GuardPrefix << I->Decoder in emitSingletonDecoder()
922 o.indent(Indentation) << " return " << Emitter->ReturnOK << "; // " in emitSingletonDecoder()
924 o.indent(Indentation) << "}\n"; // Closing predicate block. in emitSingletonDecoder()
931 o.indent(Indentation) << "// Check "; in emitSingletonDecoder()
941 o.indent(Indentation) << "if ("; in emitSingletonDecoder()
944 o.indent(Indentation+4); in emitSingletonDecoder()
958 o.indent(Indentation) << " MI.setOpcode(" << Opc << ");\n"; in emitSingletonDecoder()
966 o.indent(Indentation) << " " << Emitter->GuardPrefix << I->Decoder in emitSingletonDecoder()
974 o.indent(Indentation) << " return " << Emitter->ReturnOK << "; // " in emitSingletonDecoder()
976 o.indent(Indentation) << "}\n"; in emitSingletonDecoder()
990 o.indent(Indentation) << "else\n"; in emitSingletonDecoder()
1298 o.indent(Indentation) << "return 0;" << " // Conflict set: "; in emit()
1490 o.indent(Indentation) << "static " << WidthStr << in emitHelper()
1494 o.indent(Indentation) << "{\n"; in emitHelper()
1497 o.indent(Indentation) << "assert(startBit + numBits <= " << BitWidth in emitHelper()
1500 o.indent(Indentation) << WidthStr << " fieldMask;\n"; in emitHelper()
1502 o.indent(Indentation) << "if (numBits == " << BitWidth << ")\n"; in emitHelper()
1505 o.indent(Indentation) << "fieldMask = (" << WidthStr << ")-1;\n"; in emitHelper()
1508 o.indent(Indentation) << "else\n"; in emitHelper()
1511 o.indent(Indentation) << "fieldMask = ((1 << numBits) - 1) << startBit;\n"; in emitHelper()
1515 o.indent(Indentation) << "return (insn & fieldMask) >> startBit;\n"; in emitHelper()
1518 o.indent(Indentation) << "}\n"; in emitHelper()