Lines Matching refs: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.
314 /// The operand name this is, if anything.
501 /// findAsmOperand - Find the AsmOperand with the specified name and
511 /// findAsmOperandNamed - Find the first AsmOperand with the specified name.
612 /// \brief The name of the enumerated constant identifying this feature.
744 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
751 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
816 // other tokens (e.g. with whitespace), don't interpret it as a register name.
1055 Entry->Name = "MCK_" + getEnumNameForToken(Token);
1189 CI->Name = "MCK_Reg" + utostr(Index);
1211 // Name the register classes which correspond to a user defined RegisterClass.
1221 CI->Name = "MCK_" + RC.getName();
1234 // Name the register classes which correspond to singleton registers.
1241 CI->Name = "MCK_" + Rec->getName();
1277 CI->ClassName = Rec->getValueAsString("Name");
1278 CI->Name = "MCK_" + CI->ClassName;
1281 // Get or construct the predicate method name.
1290 // Get or construct the render method name.
1299 // Get the parse method name or leave it as empty.
1305 // Get the parse method name or leave it as empty.
1363 PrintFatalError(Pred->getLoc(), "Predicate has no name!");
1555 if (MatchClass && MatchClass->getValueAsString("Name") == "Imm") {
1587 OperandName = Operands[Idx.first].Name;
1607 // validates that all operands with the same name have the same record.
1640 int SrcOperand = findAsmOperandNamed(OpInfo.Name);
1641 if (OpInfo.Name.empty() || SrcOperand == -1) {
1661 AsmOperands[SrcOperand+AI].SrcOpName == OpInfo.Name &&
1689 const std::string &OpName = OpInfo->Name;
1698 StringRef Name = CGA.ResultOperands[AliasOpNo].getName();
1699 int SrcOperand = findAsmOperand(Name, SubIdx);
1724 static unsigned getConverterOperandID(const std::string &Name,
1727 IsNew = Table.insert(Name);
1730 std::find(Table.begin(), Table.end(), Name) - Table.begin();
1864 std::string Name = "CVT_" + (Op.Class->isRegisterClass() ? "Reg" :
1866 Name = getEnumNameForToken(Name);
1869 unsigned ID = getConverterOperandID(Name, OperandConversionKinds,
1881 CvtOS << " case " << Name << ":\n"
1888 OpOS << " case " << Name << ":\n"
1916 std::string Name = "CVT_" + Ty;
1918 unsigned ID = getConverterOperandID(Name, OperandConversionKinds,
1927 CvtOS << " case " << Name << ":\n"
1931 OpOS << " case " << Name << ":\n"
1939 std::string Reg, Name;
1941 Name = "reg0";
1945 Name = "reg" + OpInfo.Register->getName();
1947 Signature += "__" + Name;
1948 Name = "CVT_" + Name;
1950 unsigned ID = getConverterOperandID(Name, OperandConversionKinds,
1958 CvtOS << " case " << Name << ":\n"
1962 OpOS << " case " << Name << ":\n"
2045 OS << " " << CI.Name << ", // ";
2089 OS << " if (Kind == " << CI.Name << ") {\n";
2105 << RC.first->getName() << ": OpKind = " << RC.second->Name
2137 SuperClasses.push_back(B.Name);
2144 SS << "\n case " << A.Name << ":\n";
2183 Matches.emplace_back(CI.ValueName, "return " + CI.Name + ";");
2186 OS << "static MatchClassKind matchTokenString(StringRef Name) {\n";
2188 StringMatcher("Name", Matches, OS).Emit();
2209 OS << "static unsigned MatchRegisterName(StringRef Name) {\n";
2211 StringMatcher("Name", Matches, OS).Emit();
2272 /// user-level name for a subtarget feature.
2281 // FIXME: Totally just a placeholder name to get the algorithm working.
2459 std::string AsmParserVariantName = AsmVariant->getValueAsString("Name");
2545 OS << OMI.CI->Name;
2574 OS << " case " << CI.Name << ":\n"
2745 // Emit the function to match a register name to number.
2882 OS << Op.Class->Name;