Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:Name

796   /// @name Auto-generated Matcher Functions
819 bool ParseInstruction(ParseInstructionInfo &Info, StringRef Name,
826 /// @name Auto-generated Match Functions
829 static unsigned MatchRegisterName(StringRef Name);
909 return Error(StartLoc, "invalid register name",
915 // If the match failed, try the register name as lowercase.
999 return Error(StartLoc, "invalid register name",
1328 // will in fact do global lookup the field name inside all global typedefs,
1401 assert(InternalName.size() && "We should have an internal name here.");
1402 // Push a rewrite for replacing the identifier name with the internal name.
2067 bool X86AsmParser::ParseInstruction(ParseInstructionInfo &Info, StringRef Name,
2071 StringRef PatchedName = Name;
2076 PatchedName = PatchedName.substr(0, Name.size()-1);
2191 Name == "lock" || Name == "rep" ||
2192 Name == "repe" || Name == "repz" ||
2193 Name == "repne" || Name == "repnz" ||
2194 Name == "rex64" || Name == "data16";
2237 Name == "fsub" || Name == "fdiv" || Name == "fsubr" || Name == "fdivr";
2239 const char *Repl = StringSwitch<const char *>(Name)
2250 if ((Name == "outb" || Name == "outw" || Name == "outl" || Name == "out") &&
2262 if ((Name == "inb" || Name == "inw" || Name == "inl" || Name == "in") &&
2275 if (Name.startswith("ins") && Operands.size() == 1 &&
2276 (Name == "insb" || Name == "insw" || Name == "insl" || Name == "insd")) {
2283 if (Name.startswith("outs") && Operands.size() == 1 &&
2284 (Name == "outsb" || Name == "outsw" || Name == "outsl" ||
2285 Name == "outsd" )) {
2294 if (Name.startswith("lods") && Operands.size() == 1 &&
2295 (Name == "lods" || Name == "lodsb" || Name == "lodsw" ||
2296 Name == "lodsl" || Name == "lodsd" || Name == "lodsq"))
2302 if (Name.startswith("stos") && Operands.size() == 1 &&
2303 (Name == "stos" || Name == "stosb" || Name == "stosw" ||
2304 Name == "stosl" || Name == "stosd" || Name == "stosq"))
2310 if (Name.startswith("scas") && Operands.size() == 1 &&
2311 (Name == "scas" || Name == "scasb" || Name == "scasw" ||
2312 Name == "scasl" || Name == "scasd" || Name == "scasq"))
2316 if (Name.startswith("cmps") &&
2317 (Name == "cmps" || Name == "cmpsb" || Name == "cmpsw" ||
2318 Name == "cmpsl" || Name == "cmpsd" || Name == "cmpsq")) {
2333 if ((Name.startswith("movs") &&
2334 (Name == "movs" || Name == "movsb" || Name == "movsw" ||
2335 Name == "movsl" || Name == "movsd" || Name == "movsq")) ||
2336 (Name.startswith("smov") &&
2337 (Name == "smov" || Name == "smovb" || Name == "smovw" ||
2338 Name == "smovl" || Name == "smovd" || Name == "smovq"))) {
2340 if (Name == "movsd")
2356 if ((Name.startswith("shr") || Name.startswith("sar") ||
2357 Name.startswith("shl") || Name.startswith("sal") ||
2358 Name.startswith("rcl") || Name.startswith("rcr") ||
2359 Name.startswith("rol") || Name.startswith("ror")) &&
2377 if (Name == "int" && Operands.size() == 2) {