• Home
  • Raw
  • Download

Lines Matching refs:TargetName

68   void emitTIIHelperMethods(raw_ostream &OS, StringRef TargetName,
73 void emitMCIIHelperMethods(raw_ostream &OS, StringRef TargetName);
437 StringRef TargetName) { in emitMCIIHelperMethods() argument
448 OS << "namespace " << TargetName << "_MC {\n\n"; in emitMCIIHelperMethods()
455 OS << "\n} // end namespace " << TargetName << "_MC\n"; in emitMCIIHelperMethods()
464 OS << "namespace " << TargetName << "_MC {\n\n"; in emitMCIIHelperMethods()
466 PredicateExpander PE(TargetName); in emitMCIIHelperMethods()
478 OS << "} // end namespace " << TargetName << "_MC\n"; in emitMCIIHelperMethods()
485 StringRef TargetName, in emitTIIHelperMethods() argument
491 PredicateExpander PE(TargetName); in emitTIIHelperMethods()
497 OS << TargetName << "InstrInfo::"; in emitTIIHelperMethods()
527 const std::string &TargetName = std::string(Target.getName()); in run() local
559 OS << "\nextern const MCInstrDesc " << TargetName << "Insts[] = {\n"; in run()
576 InstrNames.emitStringLiteralDef(OS, Twine("extern const char ") + TargetName + in run()
579 OS << "extern const unsigned " << TargetName <<"InstrNameIndices[] = {"; in run()
596 OS << "extern const uint8_t " << TargetName in run()
618 OS << "extern const MCInstrInfo::ComplexDeprecationPredicate " << TargetName in run()
636 OS << "static inline void Init" << TargetName in run()
638 OS << " II->InitMCInstrInfo(" << TargetName << "Insts, " << TargetName in run()
639 << "InstrNameIndices, " << TargetName << "InstrNameData, "; in run()
641 OS << TargetName << "InstrDeprecationFeatures, "; in run()
645 OS << TargetName << "InstrComplexDeprecationInfos, "; in run()
658 std::string ClassName = TargetName + "GenInstrInfo"; in run()
672 emitTIIHelperMethods(OS, TargetName, /* ExpandDefintion = */false); in run()
678 emitTIIHelperMethods(OS, TargetName, /* ExpandDefintion = */true); in run()
685 OS << "extern const MCInstrDesc " << TargetName << "Insts[];\n"; in run()
686 OS << "extern const unsigned " << TargetName << "InstrNameIndices[];\n"; in run()
687 OS << "extern const char " << TargetName << "InstrNameData[];\n"; in run()
689 OS << "extern const uint8_t " << TargetName in run()
692 OS << "extern const MCInstrInfo::ComplexDeprecationPredicate " << TargetName in run()
699 << " InitMCInstrInfo(" << TargetName << "Insts, " << TargetName in run()
700 << "InstrNameIndices, " << TargetName << "InstrNameData, "; in run()
702 OS << TargetName << "InstrDeprecationFeatures, "; in run()
706 OS << TargetName << "InstrComplexDeprecationInfos, "; in run()
721 emitMCIIHelperMethods(OS, TargetName); in run()