Lines Matching defs:TargetName

82   void emitTIIHelperMethods(raw_ostream &OS, StringRef TargetName,
87 void emitMCIIHelperMethods(raw_ostream &OS, StringRef TargetName);
656 StringRef TargetName) {
667 OS << "namespace " << TargetName << "_MC {\n\n";
677 OS << "\n} // end namespace " << TargetName << "_MC\n";
685 OS << "namespace llvm::" << TargetName << "_MC {\n";
687 PredicateExpander PE(TargetName);
699 OS << "} // end namespace llvm::" << TargetName << "_MC\n";
868 StringRef TargetName,
875 PredicateExpander PE(TargetName);
881 OS << TargetName << "InstrInfo::";
906 const std::string &TargetName = std::string(Target.getName());
937 OS << "struct " << TargetName << "InstrTable {\n";
958 OS << "static constexpr unsigned " << TargetName << "ImpOpBase = sizeof "
959 << TargetName << "InstrTable::OperandInfo / (sizeof(MCPhysReg));\n\n";
961 OS << "extern const " << TargetName << "InstrTable " << TargetName
994 InstrNames.emitStringLiteralDef(OS, Twine("extern const char ") + TargetName +
997 OS << "extern const unsigned " << TargetName << "InstrNameIndices[] = {";
1014 OS << "extern const uint8_t " << TargetName
1036 OS << "extern const MCInstrInfo::ComplexDeprecationPredicate " << TargetName
1054 OS << "static inline void Init" << TargetName
1056 OS << " II->InitMCInstrInfo(" << TargetName << "Descs.Insts, " << TargetName
1057 << "InstrNameIndices, " << TargetName << "InstrNameData, ";
1059 OS << TargetName << "InstrDeprecationFeatures, ";
1063 OS << TargetName << "InstrComplexDeprecationInfos, ";
1076 std::string ClassName = TargetName + "GenInstrInfo";
1090 emitTIIHelperMethods(OS, TargetName, /* ExpandDefinition = */ false);
1096 emitTIIHelperMethods(OS, TargetName, /* ExpandDefinition = */ true);
1103 OS << "extern const " << TargetName << "InstrTable " << TargetName
1105 OS << "extern const unsigned " << TargetName << "InstrNameIndices[];\n";
1106 OS << "extern const char " << TargetName << "InstrNameData[];\n";
1108 OS << "extern const uint8_t " << TargetName
1111 OS << "extern const MCInstrInfo::ComplexDeprecationPredicate " << TargetName
1118 << " InitMCInstrInfo(" << TargetName << "Descs.Insts, " << TargetName
1119 << "InstrNameIndices, " << TargetName << "InstrNameData, ";
1121 OS << TargetName << "InstrDeprecationFeatures, ";
1125 OS << TargetName << "InstrComplexDeprecationInfos, ";
1140 emitLogicalOperandSizeMappings(OS, TargetName, NumberedInstructions);
1143 emitLogicalOperandTypeMappings(OS, TargetName, NumberedInstructions);
1146 emitMCIIHelperMethods(OS, TargetName);