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

References

utils/TableGen/RegisterInfoEmitter.cpp
  199   OS << "/// Get the weight in units of pressure for this register class.\n"
  206       OS << "    {0, 0";
  210       OS << "    {" << (*Regs.begin())->getWeight(RegBank)
  213     OS << "},  \t// " << RC.getName() << "\n";
  215   OS << "  };\n"
  227   OS << "/// Get the weight in units of pressure for this register unit.\n"
  233     OS << "  static const uint8_t RUWeightTable[] = {\n    ";
  238       OS << RU.Weight << ", ";
  240     OS << "};\n"
  244     OS << "  // All register units have unit weight.\n"
  247   OS << "}\n\n";
  249   OS << "\n"
  254   OS << "// Get the name of this register unit pressure set.\n"
  262     OS << "    \"" << RegUnits.Name << "\",\n";
  264   OS << "  };\n"
  268   OS << "// Get the register unit pressure limit for this dimension.\n"
  277     OS << "    " << RegUnits.Weight << ",  \t// " << i << ": "
  280   OS << "  };\n"
  304   OS << "/// Table of pressure sets per register class or unit.\n"
  306   PSetsSeqs.emit(OS, printInt, "-1");
  307   OS << "};\n\n";
  309   OS << "/// Get the dimensions of register pressure impacted by this "
  314   OS << "  static const " << getMinimalTypeForRange(PSetsSeqs.size() - 1, 32)
  317     OS << PSetsSeqs.get(PSets[i]) << ",";
  319   OS << "};\n"
  323   OS << "/// Get the dimensions of register pressure impacted by this "
  330   OS << "  static const " << getMinimalTypeForRange(PSetsSeqs.size() - 1, 32)
  334     OS << PSetsSeqs.get(PSets[RegBank.getRegUnit(UnitIdx).RegClassUnitSetsIdx])
  337   OS << "};\n"