reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/TableGen/CodeEmitterGen.cpp
  427     o << "void " << Target.getName()
  434     o << "uint64_t " << Target.getName();
  435     o << "MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,\n"
  442     emitInstructionBaseValues(o, NumberedInstructions, Target, -1);
  445       emitInstructionBaseValues(o, NumberedInstructions, Target, (int)HwMode);
  449     o << "  const uint64_t *InstBits;\n";
  450     o << "  unsigned HwMode = STI.getHwMode();\n";
  451     o << "  switch (HwMode) {\n";
  452     o << "  default: llvm_unreachable(\"Unknown hardware mode!\"); break;\n";
  454       o << "  case " << I << ": InstBits = InstBits_" << HWM.getMode(I).Name
  457     o << "  };\n";
  481     o << "  const unsigned opcode = MI.getOpcode();\n"
  492     o << "  const unsigned opcode = MI.getOpcode();\n"
  506       if (i) o << "\n";
  507       o << "    case " << InstList[i]  << ":";
  509     o << " {\n";
  510     o << Case;
  511     o << "      break;\n"
  516   o << "  default:\n"
  523     o << "  Inst = Value;\n";
  525     o << "  return Value;\n";
  526   o << "}\n\n";
  532   o << "#ifdef ENABLE_INSTR_PREDICATE_VERIFIER\n"
  538                                                            o);
  541   o << "#ifndef NDEBUG\n";
  542   SubtargetFeatureInfo::emitNameTable(SubtargetFeatures, o);
  543   o << "#endif // NDEBUG\n";
  548       SubtargetFeatures, o);
  577   o << "#ifndef NDEBUG\n"
  584     o << "  " << getNameForFeatureBitset(FeatureBitset) << ",\n";
  586   o << "};\n\n"
  592     o << "  {";
  596       o << I->second.getEnumBitName() << ", ";
  598     o << "},\n";
  600   o << "};\n"
  605   o << "void " << Target.getName()
  613     o << "    CEFBS";
  618         o << '_' << I->second.TheDef->getName();
  623       o << "_None";
  624     o << ", // " << Inst->TheDef->getName() << " = " << InstIdx << "\n";
  627   o << "  };\n\n";
  628   o << "  assert(Inst.getOpcode() < " << InstIdx << ");\n";
  629   o << "  const FeatureBitset &RequiredFeatures = "
  631   o << "  FeatureBitset MissingFeatures =\n"
  650   o << "}\n";
  651   o << "#endif\n";