Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Name

21 // end up with a single literal token (the instruction name) and some number of
174 /// Name - The full class name, suitable for use in an enum.
175 std::string Name;
177 /// ClassName - The unadorned generic name for this class (e.g., Token).
180 /// ValueName - The name of the value this class represents; for a token this
185 /// PredicateMethod - The name of the operand method to test whether the
189 /// RenderMethod - The name of the operand method to add this operand to an
193 /// ParserMethod - The name of the operand method to do a target specific
270 // i64 and s8 are not subsets of each other, so are ordered by name
271 // s8 and u64 are not subsets of each other, so are ordered by name
291 // Otherwise, order by name to ensure we have a total ordering.
307 /// The operand name this is, if anything.
471 /// findAsmOperand - Find the AsmOperand with the specified name and
481 /// findAsmOperandNamed - Find the first AsmOperand with the specified name.
579 /// \brief The name of the enumerated constant identifying this feature.
711 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
718 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
1009 Entry->Name = "MCK_" + getEnumNameForToken(Token);
1143 CI->Name = "MCK_Reg" + utostr(Index);
1165 // Name the register classes which correspond to a user defined RegisterClass.
1175 CI->Name = "MCK_" + RC.getName();
1188 // Name the register classes which correspond to singleton registers.
1195 CI->Name = "MCK_" + Rec->getName();
1231 CI->ClassName = Rec->getValueAsString("Name");
1232 CI->Name = "MCK_" + CI->ClassName;
1235 // Get or construct the predicate method name.
1244 // Get or construct the render method name.
1253 // Get the parse method name or leave it as empty.
1259 // Get the parse method name or leave it as empty.
1317 PrintFatalError(Pred->getLoc(), "Predicate has no name!");
1500 if (MatchClass && MatchClass->getValueAsString("Name") == "Imm") {
1532 OperandName = Operands[Idx.first].Name;
1552 // validates that all operands with the same name have the same record.
1585 int SrcOperand = findAsmOperandNamed(OpInfo.Name);
1586 if (OpInfo.Name.empty() || SrcOperand == -1) {
1606 AsmOperands[SrcOperand+AI].SrcOpName == OpInfo.Name &&
1634 const std::string &OpName = OpInfo->Name;
1643 StringRef Name = CGA.ResultOperands[AliasOpNo].getName();
1644 int SrcOperand = findAsmOperand(Name, SubIdx);
1669 static unsigned getConverterOperandID(const std::string &Name,
1672 IsNew = Table.insert(Name);
1675 std::find(Table.begin(), Table.end(), Name) - Table.begin();
1809 std::string Name = "CVT_" + (Op.Class->isRegisterClass() ? "Reg" :
1811 Name = getEnumNameForToken(Name);
1814 unsigned ID = getConverterOperandID(Name, OperandConversionKinds,
1826 CvtOS << " case " << Name << ":\n"
1833 OpOS << " case " << Name << ":\n"
1861 std::string Name = "CVT_" + Ty;
1863 unsigned ID = getConverterOperandID(Name, OperandConversionKinds,
1872 CvtOS << " case " << Name << ":\n"
1876 OpOS << " case " << Name << ":\n"
1884 std::string Reg, Name;
1886 Name = "reg0";
1890 Name = "reg" + OpInfo.Register->getName();
1892 Signature += "__" + Name;
1893 Name = "CVT_" + Name;
1895 unsigned ID = getConverterOperandID(Name, OperandConversionKinds,
1903 CvtOS << " case " << Name << ":\n"
1907 OpOS << " case " << Name << ":\n"
1992 OS << " " << CI.Name << ", // ";
2036 OS << " if (Kind == " << CI.Name << ") {\n";
2052 << RC.first->getName() << ": OpKind = " << RC.second->Name
2084 SuperClasses.push_back(B.Name);
2091 SS << "\n case " << A.Name << ":\n";
2131 StringMatcher::StringPair(CI.ValueName, "return " + CI.Name + ";"));
2134 OS << "static MatchClassKind matchTokenString(StringRef Name) {\n";
2136 StringMatcher("Name", Matches, OS).Emit();
2158 OS << "static unsigned MatchRegisterName(StringRef Name) {\n";
2160 StringMatcher("Name", Matches, OS).Emit();
2221 /// user-level name for a subtarget feature.
2230 // FIXME: Totally just a placeholder name to get the algorithm working.
2410 std::string AsmParserVariantName = AsmVariant->getValueAsString("Name");
2496 OS << OMI.CI->Name;
2525 OS << " case " << CI.Name << ":\n"
2692 // Emit the function to match a register name to number.
2829 OS << Op.Class->Name;