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

References

include/llvm/TableGen/Record.h
 1725     bool Ins = Classes.insert(std::make_pair(R->getName(),
 1732     bool Ins = Defs.insert(std::make_pair(R->getName(),
 1761     return StringRef(Rec1->getName()).compare_numeric(Rec2->getName()) < 0;
 1761     return StringRef(Rec1->getName()).compare_numeric(Rec2->getName()) < 0;
 1819     RecordParts LHSParts(StringRef(Rec1->getName()));
 1820     RecordParts RHSParts(StringRef(Rec2->getName()));
lib/TableGen/JSONBackend.cpp
   81     obj["def"] = Def->getDef()->getName();
lib/TableGen/Record.cpp
 1580   return Def->getName();
 1832                   CurRec->getName() +
 2164     PrintFatalError(getLoc(), "Record `" + getName() +
 2172     PrintFatalError(getLoc(), "Record `" + getName() +
 2180   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2187     PrintFatalError(getLoc(), "Record `" + getName() +
 2192   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2199     PrintFatalError(getLoc(), "Record `" + getName() +
 2204   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2216       PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2225     PrintFatalError(getLoc(), "Record `" + getName() +
 2230   PrintFatalError(getLoc(), Twine("Record `") + getName() + "', field `" +
 2245                       Twine("Record `") + getName() + "', field `" + FieldName +
 2261                       Twine("Record `") + getName() + "', field `" + FieldName +
 2271     PrintFatalError(getLoc(), "Record `" + getName() +
 2276   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2283     PrintFatalError(getLoc(), "Record `" + getName() +
 2290   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2298     PrintFatalError(getLoc(), "Record `" + getName() +
 2303   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2310     PrintFatalError(getLoc(), "Record `" + getName() +
 2320   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
 2327     PrintFatalError(getLoc(), "Record `" + getName() +
 2332   PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
lib/TableGen/SetTheory.cpp
  302   auto I = Operators.find(OpInit->getDef()->getName());
  320     auto I = Expanders.find(SCPair.first->getName());
lib/TableGen/TGParser.cpp
  280                    "Already subclass of '" + SCPair.first->getName() + "'!\n");
  286                  "Already subclass of '" + SC->getName() + "'!\n");
 3076     MultiClass *MC = MultiClasses[Ref.Rec->getName()].get();
tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp
   52       MacroHierarchyName = macroName(Root->getName());
   63     return R.getName().str() + BaseSuffix;
   87   std::string BaseName = macroName(Base->getName());
   98     std::string NodeName = macroName(R->getName());
  107           << R->getName() << ", " << baseName(*Base) << "))\n";
  109       OS << NodeName << "(" << R->getName() << ", "
  137     OS << Base->getName() << ", " << First->getName() << ", "
  137     OS << Base->getName() << ", " << First->getName() << ", "
  138        << Last->getName() << ")\n\n";
  231         OS << "DECL_CONTEXT_BASE(" << B->getName() << ")\n";
  243       OS << "DECL_CONTEXT(" << (*i)->getName() << ")\n";
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  181         AN = NormalizeAttrName(Attr->getName()).str();
 1258   llvm::StringRef ArgName = Search->getName();
 1347   OS << "const char *" << R.getName() << "Attr::getSpelling() const {\n";
 1373   OS << "void " << R.getName() << "Attr::printPretty("
 1972   std::string FnName = "matchRulesFor" + Attr.getName().str();
 2111     if (Args[0]->getSuperClasses().back().first->getName() != "TypeArgument")
 2143     llvm::StringSwitch<bool>(Arg->getSuperClasses().back().first->getName())
 2153              Arg->getSuperClasses().back().first->getName())
 2201              Arg->getSuperClasses().back().first->getName())
 2259       if (R->getName() != "TargetSpecificAttr" &&
 2260           R->getName() != "DeclOrTypeAttr" && SuperName.empty())
 2261         SuperName = R->getName();
 2262       if (R->getName() == "InheritableAttr")
 2266     OS << "class " << R.getName() << "Attr : public " << SuperName << " {\n";
 2275       Args.emplace_back(createArgument(*ArgRecord, R.getName()));
 2310       OS << "  static " << R.getName() << "Attr *Create";
 2321       OS << "    auto *A = new (Ctx) " << R.getName();
 2341       OS <<"  static " << R.getName() << "Attr *Create";
 2353         OS << ", " << R.getName()
 2402       OS << "  " << R.getName()
 2414       OS << "attr::" << R.getName() << ", "
 2454     OS << "  " << R.getName() << "Attr *clone(ASTContext &C) const;\n";
 2487        << "attr::" << R.getName() << "; }\n";
 2510       Args.emplace_back(createArgument(*Arg, R.getName()));
 2515     OS << R.getName() << "Attr *" << R.getName()
 2515     OS << R.getName() << "Attr *" << R.getName()
 2517     OS << "  auto *A = new (C) " << R.getName() << "Attr(C, *this";
 2541       OS << "  case attr::" << R.getName() << ":\n";
 2542       OS << "    return cast<" << R.getName() << "Attr>(this)->" << Method
 2564     OS << Class << "(" << Cur->getName() << ")\n";
 2643          << ", " << getFirstAttr()->getName()
 2644          << ", " << getLastAttr()->getName() << ")\n";
 2824     OS << "  case attr::" << R.getName() << ": {\n";
 2831       Args.emplace_back(createArgument(*Arg, R.getName()));
 2834     OS << "    New = new (Context) " << R.getName() << "Attr(Context, Info";
 2861     OS << "  case attr::" << R.getName() << ": {\n";
 2864       OS << "    const auto *SA = cast<" << R.getName()
 2871       createArgument(*Arg, R.getName())->writePCHWrite(OS);
 3126        << R.getName() << "Attr(" << R.getName() << "Attr *A);\n";
 3126        << R.getName() << "Attr(" << R.getName() << "Attr *A);\n";
 3128        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3128        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3142        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3142        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3145        << "  if (!getDerived().Visit" << R.getName() << "Attr(A))\n"
 3150       createArgument(*Arg, R.getName())->writeASTVisitorTraversal(OS);
 3169     OS << "    case attr::" << R.getName() << ":\n"
 3170        << "      return getDerived().Traverse" << R.getName() << "Attr("
 3171        << "cast<" << R.getName() << "Attr>(A));\n";
 3188     OS << "    case attr::" << R.getName() << ": {\n";
 3200        << R.getName() << "Attr>(At);\n";
 3214       Args.emplace_back(createArgument(*ArgRecord, R.getName()));
 3219     OS << "        return new (C) " << R.getName() << "Attr(C, *A";
 3284     if (!HasVariadic && isArgVariadic(*Arg, R.getName()))
 3330                      R.getName() + "; please add one to DeclNodes.td");
 3368   const std::string &B = R->getName();
 3375   return "is" + Subject.getName().str();
 3435   std::string FnName = "check" + Attr.getName().str() + "AppertainsTo";
 3630   std::string Name = Attr.getName().str() + "AttrSpellingMap";
 3748         AttrName = NormalizeAttrName(StringRef(Attr.getName())).str();
 3837       createArgument(*Arg, R.getName())->writeDump(SS);
 3840       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3840       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3843         OS << "    const auto *SA = cast<" << R.getName()
 3865       createArgument(*Arg, R.getName())->writeDumpChildren(SS);
 3867       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3867       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3870         OS << "    const auto *SA = cast<" << R.getName()
tools/clang/utils/TableGen/ClangDataCollectorsEmitter.cpp
   11     OS << "DEF_ADD_DATA(" << R.getName() << ", {\n";
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  169     assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" &&
  333   const std::string &ClsName = Diag->getValueAsDef("Class")->getName();
  610           S->getName(), DiagText(*this, S->getValueAsString("Substitution")));
  616       StringRef Name = Diag->getName();
 1179   const std::string &ClsName = Diag.getValueAsDef("Class")->getName();
 1184   const std::string &ClsName = Diag.getValueAsDef("Class")->getName();
 1230         PrintFatalError(R.getLoc(), "Error " + R.getName() +
 1238         PrintFatalError(R.getLoc(), "Error " + R.getName() +
 1247     OS << "DIAG(" << R.getName() << ", ";
 1248     OS << R.getValueAsDef("Class")->getName();
 1273     OS << ", " << R.getValueAsDef("SFINAE")->getName();
 1381         OS << "diag::" << Record->getName() << ", ";
 1385           OS << "diag::" << Diag->getName() << ", ";
 1576     Name(R.getName()) {}
tools/clang/utils/TableGen/ClangOpcodesEmitter.cpp
   76         Rec(I + 1, ID + Type->getName());
   89   for (auto *Opcode : Records.getAllDerivedDefinitions(Root.getName())) {
   93       N = Opcode->getName();
  296         OS << "case PT_" << Case->getName() << ":\n";
  298         Rec(I + 1, ID + Case->getName());
  350     OS << "PT_" << Types[I]->getName();
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  142   return StringSwitch<std::pair<StringRef, StringRef>>(OptionKind->getName())
  155   return StringSwitch<unsigned>(OptionKind->getName())
  166     if (Flag->getName() == OptionFlag)
  307   if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" ||
  308       Option.Option->getValueAsDef("Kind")->getName() == "KIND_INPUT")
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
  144   OS << R.getName() << ", ";
tools/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
   76 	auto fullName = type->getName();
  177 			baseName = base->getName();
tools/clang/utils/TableGen/MveEmitter.cpp
  852     return getScalarType(R->getName());
  924   if (R->getName() == "Void")
  943   if (Op->getName() == "CTO_Parameter") {
  949   if (Op->getName() == "CTO_Vec") {
  954   if (Op->getName() == "CTO_Pred") {
  990   if (Op->getName() == "seq") {
 1043       PrintFatalError("Unsupported dag node " + Op->getName());
 1099                                        : R->getName());
 1155         } else if (Bounds->getName() == "IB_UEltValue") {
 1158         } else if (Bounds->getName() == "IB_LaneIndex") {
 1162         } else if (Bounds->getName() == "IB_EltBit") {
 1217     ScalarTypes[R->getName()] = std::make_unique<ScalarType>(R);
tools/clang/utils/TableGen/NeonEmitter.cpp
 1733       if (R->getName() == "mask0")
 1735       else if (R->getName() == "mask1")
 1764     StringRef Name = E->getName();
tools/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp
   26   OS << Property->getName();
utils/TableGen/AsmMatcherEmitter.cpp
  802   errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n";
  926                   "Instruction '" + TheDef->getName() + "' has no tokens");
 1090         errs() << "warning: '" << TheDef->getName() << "': "
 1166                       "Record `" + Rec->getName() +
 1178       PrintFatalError(Rec->getLoc(), "RegisterOperand `" + Rec->getName() +
 1192     PrintFatalError(Rec->getLoc(), "Operand `" + Rec->getName() +
 1338       CI->ClassName = Rec->getName();
 1339       CI->Name = "MCK_" + Rec->getName().str();
 1340       CI->ValueName = Rec->getName();
 1342       CI->ValueName = CI->ValueName + "," + Rec->getName().str();
 1377     CI->ValueName = Rec->getName();
 1507       if (!StringRef(CGI->TheDef->getName()).startswith(MatchPrefix))
 1542       if (!StringRef(Alias->ResultInst->TheDef->getName())
 1858       if (ResultInst->Operands[i].Rec->getName() !=
 1859           ResultInst->Operands[TiedOp].Rec->getName()) {
 1886                         TheDef->getName() + "' has operand '" + OpName +
 2213           Name = "reg" + OpInfo.Register->getName().str();
 2497        << RC.first->getName() << ": OpKind = " << RC.second->Name
 2707       PrintFatalError(R->getLoc(), "Predicate '" + ReqFeatures[i]->getName() +
 2906         OS << '_' << II.RequiredFeatures[i]->TheDef->getName();
 3121     Name += ("_" + Feature->getName()).str();
 3351       if (std::get<0>(Pair)->getName() < std::get<1>(Pair)->getName())
 3351       if (std::get<0>(Pair)->getName() < std::get<1>(Pair)->getName())
 3353       if (std::get<0>(Pair)->getName() > std::get<1>(Pair)->getName())
 3353       if (std::get<0>(Pair)->getName() > std::get<1>(Pair)->getName())
 3444          << MI->getResultInst()->TheDef->getName() << ", "
 3453           OS << '_' << MI->RequiredFeatures[i]->TheDef->getName();
utils/TableGen/AsmWriterEmitter.cpp
  125     << FirstInst.CGI->TheDef->getName() << ":\n";
  128       << AWI.CGI->TheDef->getName() << ":\n";
  140                                           FirstInst.CGI->TheDef->getName().str(),
  145                                             AWI.CGI->TheDef->getName().str(),
  183       InstrsForCase[idx] += Inst.CGI->TheDef->getName();
  187       InstrsForCase.push_back(Inst.CGI->TheDef->getName());
  403         << NumberedInstructions[i]->TheDef->getName() << "\n";
  519            Idx < e && (AltNameList[Idx]->getName() != AltName);
  576       emitRegisterNameString(O, R->getName(), Registers);
  584       StringRef AltName = R->getName();
  599         O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n";
  852             if (Operands[OpNum].Rec->getName() ==
  853                 Operands[TiedOpNum].Rec->getName()) {
  896                      "::" + R->getName().str() + "RegClassID).contains(" + Op +
  943                  CGA.ResultOperands[i].getRegister()->getName().str();
 1144     if (!I->AsmString.empty() && I->TheDef->getName() != "PHI")
utils/TableGen/AsmWriterInst.cpp
   99                   CGI.TheDef->getName() + "'!");
  139                   CGI.TheDef->getName() + "'");
  148                     CGI.TheDef->getName() + "'");
  158                                 CGI.TheDef->getName() + "'");
  165                   CGI.TheDef->getName() + "'");
  170                         "Stray '$' in '" + CGI.TheDef->getName() +
utils/TableGen/Attributes.cpp
   48     OS << A->getName() << ",\n";
   65     OS << "\", Attribute::" << A->getName() << ")\n";
  142     OS << "struct " << R->getName() << "Attr : EnumAttr {\n";
  144     OS << "    return llvm::Attribute::" << R->getName() << ";\n";
  155     OS << "struct " << R->getName() << "Attr : StrBoolAttr {\n";
utils/TableGen/CallingConvEmitter.cpp
   43       unsigned Pad = CC->getName().size();
   51       O << CC->getName() << "(unsigned ValNo, MVT ValVT,\n"
   71   unsigned Pad = CC->getName().size();
   79   O << CC->getName() << "(unsigned ValNo, MVT ValVT,\n"
  120       O << IndentStr << "if (!" << CC->getName()
utils/TableGen/CodeEmitterGen.cpp
  123         errs() << "Too few operands in record " << R->getName() <<
  337     Name += ("_" + Feature->getName()).str();
  384     o << "," << '\t' << "// " << R->getName() << "\n";
  471         (R->getValueAsString("Namespace") + "::" + R->getName()).str();
  567       if (std::get<0>(Pair)->getName() < std::get<1>(Pair)->getName())
  567       if (std::get<0>(Pair)->getName() < std::get<1>(Pair)->getName())
  569       if (std::get<0>(Pair)->getName() > std::get<1>(Pair)->getName())
  569       if (std::get<0>(Pair)->getName() > std::get<1>(Pair)->getName())
  618         o << '_' << I->second.TheDef->getName();
  624     o << ", // " << Inst->TheDef->getName() << " = " << InstIdx << "\n";
utils/TableGen/CodeGenDAGPatterns.cpp
 1000                MemoryVT->getName() + ") return false;\n")
 1079                ScalarMemoryVT->getName() + ") return false;\n")
 1242   return "Predicate_" + PatFragRec->getRecord()->getName().str();
 1335   return R->getName() == "immAllOnesV" || R->getName() == "immAllZerosV";
 1335   return R->getName() == "immAllOnesV" || R->getName() == "immAllZerosV";
 1475                     "Unrecognized SDTypeConstraint '" + R->getName() + "'!\n");
 1547       TP.error(N->getOperator()->getName() + " expects a VT operand!");
 1744   if (Operator->getName() == "set" ||
 1745       Operator->getName() == "implicit")
 1818     OS << '(' << getOperator()->getName();
 1844     OS << "<<X:" << TransformFn->getName() << ">>";
 1934           cast<DefInit>(Val)->getDef()->getName() == "node")) {
 2037     TP.error("'" + Op->getName() + "' fragment requires " +
 2186   if (R->getName() == "node" || R->getName() == "srcvalue" ||
 2186   if (R->getName() == "node" || R->getName() == "srcvalue" ||
 2187       R->getName() == "zero_reg" || R->getName() == "immAllOnesV" ||
 2187       R->getName() == "zero_reg" || R->getName() == "immAllOnesV" ||
 2188       R->getName() == "immAllZerosV" || R->getName() == "undef_tied_input") {
 2188       R->getName() == "immAllZerosV" || R->getName() == "undef_tied_input") {
 2199   TP.error("Unknown node flavor used in pattern: " + R->getName());
 2417       TP.error(getOperator()->getName() + " node requires exactly " +
 2459     if (getOperator()->getName() == "INSERT_SUBREG") {
 2463     } else if (getOperator()->getName() == "REG_SEQUENCE") {
 2520         emitTooFewOperandsError(TP, getOperator()->getName(), getNumChildren());
 2544                 emitTooFewOperandsError(TP, getOperator()->getName(),
 2565       emitTooManyOperandsError(TP, getOperator()->getName(),
 2588     TP.error("Node transform '" + getOperator()->getName() +
 2600   if (!N->isLeaf() && N->getOperator()->getName() == "imm")
 2681   PrintError(TheRecord->getLoc(), "In " + TheRecord->getName() + ": " + Msg);
 2714     if (R->getName() == "node" && !OpName.empty()) {
 2785       Operator->getName() != "set" &&
 2786       Operator->getName() != "implicit")
 2787     error("Unrecognized node '" + Operator->getName() + "'!");
 2793       error("Cannot use '" + Operator->getName() + "' in an input pattern!");
 2796       error("Cannot use '" + Operator->getName() + "' in an output pattern!");
 2799         Operator->getName() != "imm" &&
 2800         Operator->getName() != "timm" &&
 2801         Operator->getName() != "fpimm" &&
 2802         Operator->getName() != "tglobaltlsaddr" &&
 2803         Operator->getName() != "tconstpool" &&
 2804         Operator->getName() != "tjumptable" &&
 2805         Operator->getName() != "tframeindex" &&
 2806         Operator->getName() != "texternalsym" &&
 2807         Operator->getName() != "tblockaddress" &&
 2808         Operator->getName() != "tglobaladdr" &&
 2809         Operator->getName() != "bb" &&
 2810         Operator->getName() != "vt" &&
 2811         Operator->getName() != "mcsym")
 2812       error("Cannot use '" + Operator->getName() + "' in an output pattern!");
 2891   if (N->getOperator()->getName() == "bitconvert" &&
 2988   OS << getRecord()->getName();
 3132         (OpsOp->getDef()->getName() != "ops" &&
 3133          OpsOp->getDef()->getName() != "outs" &&
 3134          OpsOp->getDef()->getName() != "ins"))
 3141           cast<DefInit>(OpsList->getArg(j))->getDef()->getName() != "node")
 3224                         DefaultOps[i]->getName() +
 3245         I.error("Input " + DI->getDef()->getName() + " must be named!");
 3261   if (Rec->getName() == "srcvalue")
 3315   if (Pat->getOperator()->getName() == "implicit") {
 3329   if (Pat->getOperator()->getName() != "set") {
 3548   if (Operator->getName() == "null_frag") return true;
 3762   if (Pattern->getOperator()->getName() == "set") {
 4371       errs() << Orig->getOperator()->getName() << ": Idxs = [ ";
utils/TableGen/CodeGenHwModes.cpp
   22   Name = R->getName();
   35     PrintError(R->getLoc(), "in record " + R->getName() +
   41     unsigned ModeId = CGH.getHwModeId(Modes[i]->getName());
   50     dbgs() << " (" << P.first << ',' << P.second->getName() << ')';
   59     if ((*I)->getName() != DefaultModeName)
  109     dbgs() << "  " << P.first->getName() << " -> ";
utils/TableGen/CodeGenInstruction.cpp
   35     if (Init->getDef()->getName() != "outs")
   37                       R->getName() +
   41                     R->getName() + ": invalid output list: use 'outs'");
   47     if (Init->getDef()->getName() != "ins")
   49                       R->getName() +
   53                     R->getName() + ": invalid input list: use 'ins'");
   72       PrintFatalError(R->getLoc(), "Illegal operand for the '" + R->getName() +
   97           cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops")
  100                             Rec->getName() + "'\n");
  111     } else if (Rec->getName() == "variable_ops") {
  118       PrintFatalError(R->getLoc(), "Unknown operand class '" + Rec->getName() +
  119                                        "' in '" + R->getName() +
  124       PrintFatalError(R->getLoc(), "In instruction '" + R->getName() +
  129                       "In instruction '" + R->getName() + "', operand #" +
  155   PrintFatalError(TheDef->getLoc(), "'" + TheDef->getName() +
  177                     TheDef->getName() + ": Illegal operand name: '" + Op + "'");
  188                       TheDef->getName() +
  200                       TheDef->getName() +
  212     PrintFatalError(TheDef->getLoc(), TheDef->getName() +
  222   PrintFatalError(TheDef->getLoc(), TheDef->getName() +
  240         Rec->getName() + "': '" + CStr + "'");
  247         Rec->getLoc(), "Operand '" + Name + "' of '" + Rec->getName() +
  259       "' in '" + Rec->getName() + "'");
  267       Rec->getName() + "': '" + CStr + "'");
  291       "' of '" + Rec->getName() + "' cannot be tied!");
  295       "' of '" + Rec->getName() + "' cannot be tied!");
  302       Rec->getLoc(), "Operand '" + SrcOpName + "' of '" + Rec->getName() +
  314           Rec->getLoc(), "Operand '" + DestOpName + "' of '" + Rec->getName() +
  577       PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() +
  578                       " is not a member of the " + InstOpRec->getName() +
  590   if (ADI && ADI->getDef()->getName() == "zero_reg") {
  692                       " is both " + Entry->getName() + " and " +
  693                       ADI->getDef()->getName() + "!");
  709       if (ResultInst->Operands[i].Rec->getName() ==
  710           ResultInst->Operands[TiedOpNum].Rec->getName())
  766                         (SubOp == 0 ? InstOpRec->getName() :SubRec->getName()));
  766                         (SubOp == 0 ? InstOpRec->getName() :SubRec->getName()));
  773                     InstOpRec->getName());
utils/TableGen/CodeGenMapTable.cpp
  101     Name = MapRec->getName();
  132         MapRec->getName() + "' has empty " + "`ValueCols' field!");
  140         PrintFatalError(MapRec->getLoc(), "Record `" + MapRec->getName() +
  249                         CurInstr->getName() + "\" instruction description.");
  354         PrintFatalError("Multiple matches found for `" + KeyInstr->getName() +
  396           OutStr += ColInstrs[j]->getName();
  401         OS << "  { " << Namespace << "::" << CurInstr->getName();
  527         PrintFatalError("Record `" + CurMap->getName() + "', field "
utils/TableGen/CodeGenRegisters.cpp
   55   Name = R->getName();
  201   return TheDef->getName();
  654         Name += Reg->getName();
  743     Name(R->getName()),
  752                       "RegTypes list member '" + Type->getName() +
utils/TableGen/CodeGenSchedule.cpp
  121         StringRef InstName = Inst->TheDef->getName();
  134           return LHS->TheDef->getName() < RHS;
  137           return LHS < RHS->TheDef->getName() &&
  138                  !RHS->TheDef->getName().startswith(LHS);
  149         StringRef InstName = Inst->TheDef->getName();
  352               "Opcode " + Opcode->getName().str() +
  549   std::string Name = ModelKey->getName();
  704           StringRef Name = RWDef->getName();
  903     StringRef InstName = Inst->TheDef->getName();
  908           dbgs() << "No machine model for " << Inst->TheDef->getName() << '\n';
  918     if (SC.ItinClassDef->getName() != "NoItinerary") {
  921              << SC.ItinClassDef->getName() << '\n';
  959             dbgs() << "No machine model for " << Inst->TheDef->getName()
  979   if (ItinClassDef && ItinClassDef->getName() != "NoItinerary")
  980     Name = ItinClassDef->getName();
  999     Name += (*I)->getName();
 1089                      Inst->getName() +
 1098                             << RWModelDef->getName() << "\n");
 1108                       << InstRWDef->getValueAsDef("SchedModel")->getName()
 1125                  InstDef->getName() +
 1179         LLVM_DEBUG(dbgs() << ProcModel.ItinsDef->getName()
 1181                           << ItinDef->getName() << '\n');
 1189             dbgs() << ProcModel.ItinsDef->getName()
 1207                     + ModelDef->getName());
 1259                       + ItinClassDef->getName()
 1777                           + PM.ProcResourceDefs[j]->getName()
 1794     PM.RegisterFiles.emplace_back(CodeGenRegisterFile(RF->getName(),RF));
 1905             dbgs() << (*RI)->getValueAsDef("WriteType")->getName() << " ";
 1907             dbgs() << (*RI)->getName() << " ";
 1913             dbgs() << (*RI)->getValueAsDef("ReadType")->getName() << " ";
 1915             dbgs() << (*RI)->getName() << " ";
 1920              RI != RE; ++RI) { dbgs() << (*RI)->getName() << " "; } dbgs()
 1946                          Inst->TheDef->getName() + "' in SchedMachineModel '" +
 1947                      ProcModel.ModelDef->getName() + "'");
 1957           SC.ItinClassDef->getName() != "NoItinerary")
 1967                                                Inst->TheDef->getName() + "'");
 1999                         + ItinClassDef->getName()
 2071                         + ProcResKind->getName());
 2082                         + ProcResKind->getName());
 2090                     + ProcResKind->getName());
 2155       if (TheDef->getName() == PredDef->getName())
 2155       if (TheDef->getName() == PredDef->getName())
 2165          << (ModelDef ? ModelDef->getName() : "inferred") << " "
 2166          << (ItinsDef ? ItinsDef->getName() : "no itinerary") << '\n';
 2216              << ":" << PCI->Predicate->getName();
utils/TableGen/CodeGenSchedule.h
   61     Name = Def->getName();
utils/TableGen/CodeGenTarget.cpp
  210   if (Namespace.empty()) return R->getName();
  211   return Namespace + "::" + R->getName().str();
  231   return TargetRec->getName();
  462         return std::make_tuple(!D1.getValueAsBit("isPseudo"), D1.getName()) <
  463                std::make_tuple(!D2.getValueAsBit("isPseudo"), D2.getName());
  547     if (PropList[i]->getName() == "SDNPHasChain") {
  549     } else if (PropList[i]->getName() == "SDNPOptInGlue") {
  551     } else if (PropList[i]->getName() == "SDNPMayStore") {
  553     } else if (PropList[i]->getName() == "SDNPMayLoad") {
  555     } else if (PropList[i]->getName() == "SDNPSideEffect") {
  557     } else if (PropList[i]->getName() == "SDNPMemOperand") {
  559     } else if (PropList[i]->getName() == "SDNPVariadic") {
  561     } else if (PropList[i]->getName() == "SDNPWantRoot") {
  563     } else if (PropList[i]->getName() == "SDNPWantParent") {
  567                                        PropList[i]->getName() +
  568                                        "' on ComplexPattern '" + R->getName() +
  604   std::string DefName = R->getName();
  754     if (Property->getName() == "IntrNoMem")
  756     else if (Property->getName() == "IntrReadMem")
  758     else if (Property->getName() == "IntrWriteMem")
  760     else if (Property->getName() == "IntrArgMemOnly")
  762     else if (Property->getName() == "IntrInaccessibleMemOnly")
  764     else if (Property->getName() == "IntrInaccessibleMemOrArgMemOnly")
  767     else if (Property->getName() == "Commutative")
  769     else if (Property->getName() == "Throws")
  771     else if (Property->getName() == "IntrNoDuplicate")
  773     else if (Property->getName() == "IntrConvergent")
  775     else if (Property->getName() == "IntrNoReturn")
  777     else if (Property->getName() == "IntrWillReturn")
  779     else if (Property->getName() == "IntrCold")
  781     else if (Property->getName() == "IntrSpeculatable")
  783     else if (Property->getName() == "IntrHasSideEffects")
utils/TableGen/DAGISelMatcher.cpp
  285   OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName()
utils/TableGen/DAGISelMatcherEmitter.cpp
  694       OS << " // "<<XF->getNodeXForm()->getName();
  960         OS << "// " << NodeXForms[i]->getName();
utils/TableGen/DAGISelMatcherGen.cpp
  239     return AddMatcher(new CheckValueTypeMatcher(LeafRec->getName()));
  248       LeafRec->getName() == "srcvalue")
  254     AddMatcher(new RecordMatcher("physreg input "+LeafRec->getName().str(),
  261     return AddMatcher(new CheckCondCodeMatcher(LeafRec->getName()));
  280   if (LeafRec->getName() == "immAllOnesV") {
  290   if (LeafRec->getName() == "immAllZerosV") {
  314     std::string PatternName = N->getOperator()->getName();
  340   if ((N->getOperator()->getName() == "and" ||
  341        N->getOperator()->getName() == "or") &&
  353         if (N->getOperator()->getName() == "and")
  380     AddMatcher(new RecordMatcher("'" + N->getOperator()->getName().str() +
  444     AddMatcher(new RecordMatcher("'" + N->getOperator()->getName().str() +
  655     StringRef OperatorName = N->getOperator()->getName();
  688     if (Def->getName() == "zero_reg") {
  694     if (Def->getName() == "undef_tied_input") {
  959   AddMatcher(new EmitNodeMatcher(II.Namespace.str()+"::"+II.TheDef->getName().str(),
utils/TableGen/DFAEmitter.cpp
  181       OS << R->getName();
  256     OS << "#ifdef GET_" << R->getName() << "_DECL\n";
  258     OS << "#endif  // GET_" << R->getName() << "_DECL\n";
  264   LLVM_DEBUG(dbgs() << "Emitting automaton for " << R->getName() << "\n");
  281   StringRef Name = R->getName();
utils/TableGen/DFAPacketizerEmitter.cpp
  218                       << Proc->getName());
  226       FUNameToBitsMap[FUs[j]->getName()] = FuncResources;
  227       LLVM_DEBUG(dbgs() << " " << FUs[j]->getName() << ":0x"
  259                       << Func->getName() << "\n");
  269       const std::string &ComboFuncName = ComboFunc->getName();
  275         std::string FuncName = FuncList[k]->getName();
  305   LLVM_DEBUG(dbgs() << "    " << ItinData->getValueAsDef("TheClass")->getName()
  326       std::string UnitName = UnitList[j]->getName();
  443     const std::string &ProcName = Proc->getName();
utils/TableGen/ExegesisEmitter.cpp
  104   Target = Targets[0]->getName();
  117   OS << "\nstatic const PfmCountersInfo " << Target << Def.getName()
  195        << " &" << Target << Binding->getValueAsDef("Counters")->getName() //
utils/TableGen/FastISelEmitter.cpp
  194     if (InstPatNode->getOperator()->getName() == "imm") {
  199     if (InstPatNode->getOperator()->getName() == "fpimm") {
  210       if (!Op->isLeaf() && Op->getOperator()->getName() == "imm") {
  242          if (Op->getOperator()->getName() == "fpimm") {
  491     if (Op->getName() != "EXTRACT_SUBREG") {
  541     if (InstPatNode->getOperator()->getName() == "imm" ||
  542         InstPatNode->getOperator()->getName() == "fpimm")
  564       if (Op->getName() != "EXTRACT_SUBREG" && DstIndex < Dst->getNumChildren())
  586       Pattern.getDstPattern()->getOperator()->getName(),
utils/TableGen/FixedLenDecoderEmitter.cpp
  119     OS << Value.EncodingDef->getName() << ":";
  120   OS << Value.Inst->TheDef->getName();
  444       OS << EncodingDef->getName() << ":";
  445     OS << InstDef->getName();
 1785     Decoder = "Decode" + Record->getName().str() + "RegisterClass";
 1929       LLVM_DEBUG(dbgs() << "Numbered operand mapping for " << Def.getName()
 1955         Decoder = "Decode" + TypeRecord->getName().str() + "RegisterClass";
utils/TableGen/GICombinerEmitter.cpp
   80   StringRef getName() const { return TheDef.getName(); }
   98     if (OpI->getDef()->getName() == Def)
  119   if (Defs->getOperatorAsDef(TheDef.getLoc())->getName() != "defs") {
  157   if (Matchers->getOperatorAsDef(TheDef.getLoc())->getName() != "match") {
  288     OS << Indent << "// Rule: " << RuleDef.getName() << "\n"
  296     if (Applyer->getOperatorAsDef(RuleDef.getLoc())->getName() !=
utils/TableGen/GlobalISelEmitter.cpp
  205         (Separator + P.getOrigPatFragRecord()->getRecord()->getName()).str();
  231       Explanation += (" MemVT=" + VT->getName()).str();
  233       Explanation += (" ScalarVT(MemVT)=" + VT->getName()).str();
  283     return (" (Operator is an Intrinsic, " + Operator->getName() + ")").str();
  286     return (" (Operator is an unmapped ComplexPattern, " + Operator->getName() +
  291     return (" (Operator is an unmapped SDNodeXForm, " + Operator->getName() +
  295   return (" (Operator " + Operator->getName() + " not understood)").str();
  363                     Predicate.getOrigPatFragRecord()->getRecord()->getName())
  388     Name += ("_" + Feature->getName()).str();
 1287           << MatchTable::NamedValue(("GICP_" + TheDef.getName()).str())
 1672       return MatchTable::NamedValue(I->Namespace, I->TheDef->getName(),
 1674     return MatchTable::NamedValue(I->Namespace, I->TheDef->getName());
 1700       return I->TheDef->getName() < BO->I->TheDef->getName();
 1700       return I->TheDef->getName() < BO->I->TheDef->getName();
 1706     return I->TheDef->getName() == "G_CONSTANT";
 1709   StringRef getOpcode() const { return I->TheDef->getName(); }
 2396           << MatchTable::Comment(PhysReg->getName())
 2437                  ZeroRegisterDef->getName())
 2566                  RegisterDef->getName())
 2822             << MatchTable::NamedValue(I->Namespace, I->TheDef->getName())
 2832                 << MatchTable::NamedValue(Namespace, Def->getName())
 2841                 << MatchTable::NamedValue(Namespace, Use->getName())
 2853           << MatchTable::NamedValue(I->Namespace, I->TheDef->getName())
 3033     PrintFatalError(SrcLoc, "Register " + Reg->getName() +
 3677     if (SrcGIOrNull->TheDef->getName() == "G_CONSTANT" ||
 3678         SrcGIOrNull->TheDef->getName() == "G_FCONSTANT") {
 3691     bool IsFCmp = SrcGIOrNull->TheDef->getName() == "G_FCMP";
 3693     if (IsFCmp || SrcGIOrNull->TheDef->getName() == "G_ICMP") {
 3716         SrcGIOrNull->TheDef->getName() == "G_INTRINSIC" ||
 3717         SrcGIOrNull->TheDef->getName() == "G_INTRINSIC_W_SIDE_EFFECTS";
 3761     return failedImport("SelectionDAG ComplexPattern (" + R->getName() +
 3778         SrcChildName = ChildRec->getName();
 3815       if (SrcChild->getOperator()->getName() == "timm") {
 3968     if (DstChild->getOperator()->getName() == "timm") {
 3971     } else if (DstChild->getOperator()->getName() == "imm") {
 3974     } else if (DstChild->getOperator()->getName() == "fpimm") {
 4129   auto OpName = Target.getInstruction(Dst->getOperator()).TheDef->getName();
 4216   StringRef Name = DstI->TheDef->getName();
 4239   StringRef Name = OrigDstI->TheDef->getName();
 4370       if (Def->getName() == "undef_tied_input") {
 4447   StringRef InstName = Inst.TheDef->getName();
 4616   StringRef DstIName = DstI.TheDef->getName();
 4828       OS << "  GIPFP_" << TypeIdentifier << "_Predicate_" << Record->getName()
 4845        << Record->getName() << ": {\n"
 5054     return A->getName() < B->getName();
 5054     return A->getName() < B->getName();
 5172       if (std::get<0>(Pair)->getName() < std::get<1>(Pair)->getName())
 5172       if (std::get<0>(Pair)->getName() < std::get<1>(Pair)->getName())
 5174       if (std::get<0>(Pair)->getName() > std::get<1>(Pair)->getName())
 5174       if (std::get<0>(Pair)->getName() > std::get<1>(Pair)->getName())
 5211     OS << "  GICP_" << Record->getName() << ",\n";
 5236        << ", // " << Record->getName() << "\n";
 5252        << ", // " << Record->getName() << "\n";
utils/TableGen/InstrDocsEmitter.cpp
   77     writeHeader(escapeForRST(Inst->getName()), OS, '=');
  167           StringRef SubOpTypeName = SubRec->getName();
  169           OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  180         OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  198         OS << "``" << Def->getName() << "``";
  211         OS << "``" << Use->getName() << "``";
  226         OS << "``" << P->getName() << "``";
utils/TableGen/InstrInfoEmitter.cpp
  242                                  Inst->TheDef->getName().str());
  352         OS << "  " << Op->getName() << " = " << EnumVal << ",\n";
  414         OS << "OpTypes::" << OpR->getName();
  559     InstrNames.add(Inst->TheDef->getName());
  577     OS << InstrNames.get(Inst->TheDef->getName()) << "U, ";
  717                       "Invalid TSFlags bit in " + Inst.TheDef->getName());
  755   OS << " },  // Inst #" << Num << " = " << Inst.TheDef->getName() << "\n";
  777     OS << "    " << Inst->TheDef->getName() << "\t= " << Num++ << ",\n";
utils/TableGen/IntrinsicEmitter.cpp
  866                         "Intrinsic '" + Ints[i].TheDef->getName() +
utils/TableGen/OptParserEmitter.cpp
   93     return R.getName();
  263          << cast<DefInit>(I)->getDef()->getName();
  267            << cast<DefInit>(I)->getDef()->getName();
utils/TableGen/PredicateExpander.cpp
   76   OS << Reg->getName();
  114      << "::" << Inst->getName();
  234        << "::" << Opcode->getName() << ":\n";
  485       OS << "case " << getTargetName() << "::" << Opcode->getName() << ":";
utils/TableGen/PseudoLoweringEmitter.cpp
   81           DI->getDef()->getName() == "zero_reg") {
   94                       "Pseudo operand type '" + DI->getDef()->getName() +
   96                       Insn.Operands[BaseIdx + i].Rec->getName() + "'");
  122   LLVM_DEBUG(dbgs() << "Pseudo definition: " << Rec->getName() << "\n");
  132     PrintFatalError(Rec->getLoc(), Rec->getName() +
  136     PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
  142     PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
  146     PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
  212         << Source.TheDef->getName() << ": {\n"
  216         << Dest.TheDef->getName() << ");\n";
  242               if (Reg->getName() == "zero_reg")
  246                   << Reg->getName();
utils/TableGen/RISCVCompressInstEmitter.cpp
  137   const CodeGenRegister *R = Target.getRegisterByName(Reg->getName().lower());
  139          ("Register" + Reg->getName().str() + " not defined!!\n").c_str());
  168                     << " Dag Operand Type: '" << DagOpType->getName()
  170                     << "Instruction Operand Type: '" << InstOpType->getName()
  206                               "'Register: '" + DI->getDef()->getName() +
  208                               Inst.Operands[i].Rec->getName() + "'");
  221                             DI->getDef()->getName() +
  223                             Inst.Operands[i].Rec->getName() +
  257                     "Input operands for Inst '" + Inst.TheDef->getName() +
  262                     "Inst '" + Inst.TheDef->getName() +
  274                     "Inst '" + Inst.TheDef->getName() +
  417     PrintFatalError(Rec->getLoc(), "Input instruction '" + Operator->getName() +
  430                                        DestOperator->getName() +
  501                       Rec->getName().str() + "'");
  539                         return (LHS.Source.TheDef->getName().str() <
  540                                 RHS.Source.TheDef->getName().str());
  542                         return (LHS.Dest.TheDef->getName().str() <
  543                                 RHS.Dest.TheDef->getName().str());
  605     CurOp = Source.TheDef->getName().str();
  667                                     "::" + Reg->getName().str() + ") &&\n";
  674                                 "::" + Dest.TheDef->getName().str() + ");\n";
  691                        "::" + DestOperand.Rec->getName().str() +
  725                                     Namespace + "::" + Reg->getName().str() +
  754           << "   // " << MCOpPredicates[i]->getName().str() << SI->getValue()
utils/TableGen/RegisterBankEmitter.cpp
   49   std::string getEnumeratorName() const { return (TheDef.getName() + "ID").str(); }
   53     return (TheDef.getName() + "CoverageData").str();
   57   StringRef getInstanceVarName() const { return TheDef.getName(); }
  281   StringRef TargetName = Targets[0]->getName();
  306       if (Bank.getName().lower() == Class->getName().lower()) {
utils/TableGen/RegisterInfoEmitter.cpp
  163       OS << "  " << RegAltNameIndices[i]->getName() << ",\t// " << i << "\n";
  356     if (LastSeenReg && Reg->getName() == LastSeenReg->getName())
  356     if (LastSeenReg && Reg->getName() == LastSeenReg->getName())
  365         return A.first->getName() == B.first->getName();
  365         return A.first->getName() == B.first->getName();
 1542     OS << "static const MCPhysReg " << CSRSet->getName()
 1561     OS << "static const uint32_t " << CSRSet->getName()
 1573       OS << "    " << CSRSet->getName() << "_RegMask,\n";
 1586       OS << "    " << '"' << CSRSet->getName() << '"' << ",\n";
utils/TableGen/SDNodeProperties.cpp
   18     if (Property->getName() == "SDNPCommutative") {
   20     } else if (Property->getName() == "SDNPAssociative") {
   22     } else if (Property->getName() == "SDNPHasChain") {
   24     } else if (Property->getName() == "SDNPOutGlue") {
   26     } else if (Property->getName() == "SDNPInGlue") {
   28     } else if (Property->getName() == "SDNPOptInGlue") {
   30     } else if (Property->getName() == "SDNPMayStore") {
   32     } else if (Property->getName() == "SDNPMayLoad") {
   34     } else if (Property->getName() == "SDNPSideEffect") {
   36     } else if (Property->getName() == "SDNPMemOperand") {
   38     } else if (Property->getName() == "SDNPVariadic") {
   42                                        Property->getName() + "' on node '" +
   43                                        R->getName() + "'!");
utils/TableGen/SearchableTableEmitter.cpp
  242       int comp = LHSr->getName().compare(RHSr->getName());
  242       int comp = LHSr->getName().compare(RHSr->getName());
  572       Name = EntryRec->getName();
  603                         Twine("Record '") + EntryRec->getName() +
  651     Enum->Name = EnumRec->getName();
  652     Enum->PreprocessorGuard = EnumRec->getName();
  668     Table->Name = TableRec->getName();
  669     Table->PreprocessorGuard = TableRec->getName();
  710                       Twine("SearchIndex '") + IndexRec->getName() +
  712                           TableRec->getName());
  716         Table, IndexRec->getName(), IndexRec->getValueAsListOfStrings("Key"),
  728     StringRef TableName = Class->getName();
  737       Enum->Name = (Twine(Class->getName()) + "Values").str();
  738       Enum->PreprocessorGuard = Class->getName().upper();
  747     Table->Name = (Twine(Class->getName()) + "sList").str();
  748     Table->PreprocessorGuard = Class->getName().upper();
  749     Table->CppTypeName = Class->getName();
utils/TableGen/SubtargetEmitter.cpp
  166     OS << "  " << Def->getName() << " = " << i << ",\n";
  223     StringRef Name = Feature->getName();
  317       ItinString += Name + "FU::" + UnitList[j]->getName().str();
  363     ItinString += Name + "Bypass::" + BypassList[i]->getName().str();
  394     StringRef Name = ProcModel.ItinsDef->getName();
  399       OS << "  const unsigned " << FUs[j]->getName()
  411         OS << "  const unsigned " << BPs[j]->getName()
  448     StringRef Name = ProcModel.ItinsDef->getName();
  582     OS << ItinsDef->getName() << "[] = {\n";
  637     OS << "  // " << PRDef->getName() << "\n";
  696       OS << Rec->getName() << "RegClassID, " << RC.Cost << ", "
  810     OS << "  {\"" << PRDef->getName() << "\", ";
  811     if (PRDef->getName().size() < 15)
  812       OS.indent(15 - PRDef->getName().size());
  822       OS << ", Super=" << SuperDef->getName();
  876                     SchedWrite.TheDef->getName());
  925   if (!ResDef && SchedRead.TheDef->getName() != "ReadDefault") {
  928                     SchedRead.TheDef->getName());
 1384       OS << "  " << PM.ItinsDef->getName() << ",\n";
 1708     StringRef Instance = R->getName();
utils/TableGen/SubtargetFeatureInfo.cpp
   38     if (Pred->getName().empty())
utils/TableGen/SubtargetFeatureInfo.h
   39     return "Feature_" + TheDef->getName().str();
   45     return "Feature_" + TheDef->getName().str() + "Bit";
utils/TableGen/TableGen.cpp
  210       OS << Rec->getName() << ", ";
  219       OS << Rec->getName() << " = [";
  223         OS << ' ' << Elt->getName();
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
   63     OS << "  { X86::" << Pair.first->TheDef->getName()
   64        << ", X86::" << Pair.second->TheDef->getName() << " },\n";
  100     if (RecV->getValueAsDef("OpEnc")->getName().str() != "EncVEX" ||
  184     if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncVEX") {
  190     else if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncEVEX" &&
utils/TableGen/X86FoldTablesEmitter.cpp
   82     return Inst->TheDef->getName().find(InstStr) != StringRef::npos;
   88     return Inst->TheDef->getName().find(InstStr) != StringRef::npos;
  114       OS << "{ X86::" << RegInst->TheDef->getName() << ",";
  116       OS  << "X86::" << MemInst->TheDef->getName() << ",";
  180     return OpIn.Rec->getName() == "RST" || OpIn.Rec->getName() == "RSTi";
  180     return OpIn.Rec->getName() == "RST" || OpIn.Rec->getName() == "RSTi";
  187     return OpIn.Rec->getName() == "ptr_rc_tailcall";
  233         (MemRec->getName() == "sdmem" || MemRec->getName() == "ssmem"))
  233         (MemRec->getName() == "sdmem" || MemRec->getName() == "ssmem"))
  278   return Op->getName().find("_NOREX") != StringRef::npos;
utils/TableGen/X86RecognizableInstr.cpp
   68   Name = Rec->getName();
   97   Name      = Rec->getName();
  112     if (Predicates[i]->getName().find("Not64Bit") != Name.npos ||
  113         Predicates[i]->getName().find("In32Bit") != Name.npos) {
  117     if (Predicates[i]->getName().find("In64Bit") != Name.npos) {
  384   StringRef typeName = (*Operands)[operandIndex].Rec->getName();