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

References

lib/Target/X86/AsmParser/X86AsmParser.cpp
 2355     if (Name == "{") {
 2376         Name = "{";
 2381         Name = Parser.getTok().getString();
 2390   StringRef PatchedName = Name;
 2401           NameLoc.getFromPointer(NameLoc.getPointer() + Name.size());
 2415     PatchedName = PatchedName.substr(0, Name.size()-1);
 2557   bool isPrefix = StringSwitch<bool>(Name)
 2572   while (isLockRepeatNtPrefix(Name.lower())) {
 2574         StringSwitch<unsigned>(Name)
 2589     Name = Parser.getTok().getString();
 2593     while (Name.startswith(";") || Name.startswith("\n") ||
 2593     while (Name.startswith(";") || Name.startswith("\n") ||
 2594            Name.startswith("#") || Name.startswith("\t") ||
 2594            Name.startswith("#") || Name.startswith("\t") ||
 2595            Name.startswith("/")) {
 2597       Name = Parser.getTok().getString();
 2603     PatchedName = Name;
 2681     Name == "fsub" || Name == "fdiv" || Name == "fsubr" || Name == "fdivr";
 2681     Name == "fsub" || Name == "fdiv" || Name == "fsubr" || Name == "fdivr";
 2681     Name == "fsub" || Name == "fdiv" || Name == "fsubr" || Name == "fdivr";
 2681     Name == "fsub" || Name == "fdiv" || Name == "fsubr" || Name == "fdivr";
 2683     const char *Repl = StringSwitch<const char *>(Name)
 2691   if ((Name == "mov" || Name == "movw" || Name == "movl") &&
 2691   if ((Name == "mov" || Name == "movw" || Name == "movl") &&
 2691   if ((Name == "mov" || Name == "movw" || Name == "movl") &&
 2704       if (Name != "mov" && Name[3] == (is16BitMode() ? 'l' : 'w')) {
 2704       if (Name != "mov" && Name[3] == (is16BitMode() ? 'l' : 'w')) {
 2705         Name = is16BitMode() ? "movw" : "movl";
 2706         Operands[0] = X86Operand::CreateToken(Name, NameLoc);
 2718   if ((Name == "outb" || Name == "outsb" || Name == "outw" || Name == "outsw" ||
 2718   if ((Name == "outb" || Name == "outsb" || Name == "outw" || Name == "outsw" ||
 2718   if ((Name == "outb" || Name == "outsb" || Name == "outw" || Name == "outsw" ||
 2718   if ((Name == "outb" || Name == "outsb" || Name == "outw" || Name == "outsw" ||
 2719        Name == "outl" || Name == "outsl" || Name == "out" || Name == "outs") &&
 2719        Name == "outl" || Name == "outsl" || Name == "out" || Name == "outs") &&
 2719        Name == "outl" || Name == "outsl" || Name == "out" || Name == "outs") &&
 2719        Name == "outl" || Name == "outsl" || Name == "out" || Name == "outs") &&
 2727   if ((Name == "inb" || Name == "insb" || Name == "inw" || Name == "insw" ||
 2727   if ((Name == "inb" || Name == "insb" || Name == "inw" || Name == "insw" ||
 2727   if ((Name == "inb" || Name == "insb" || Name == "inw" || Name == "insw" ||
 2727   if ((Name == "inb" || Name == "insb" || Name == "inw" || Name == "insw" ||
 2728        Name == "inl" || Name == "insl" || Name == "in" || Name == "ins") &&
 2728        Name == "inl" || Name == "insl" || Name == "in" || Name == "ins") &&
 2728        Name == "inl" || Name == "insl" || Name == "in" || Name == "ins") &&
 2728        Name == "inl" || Name == "insl" || Name == "in" || Name == "ins") &&
 2740   if (Name.startswith("ins") &&
 2742       (Name == "insb" || Name == "insw" || Name == "insl" || Name == "insd" ||
 2742       (Name == "insb" || Name == "insw" || Name == "insl" || Name == "insd" ||
 2742       (Name == "insb" || Name == "insw" || Name == "insl" || Name == "insd" ||
 2742       (Name == "insb" || Name == "insw" || Name == "insl" || Name == "insd" ||
 2743        Name == "ins")) {
 2752   if (Name.startswith("outs") &&
 2754       (Name == "outsb" || Name == "outsw" || Name == "outsl" ||
 2754       (Name == "outsb" || Name == "outsw" || Name == "outsl" ||
 2754       (Name == "outsb" || Name == "outsw" || Name == "outsl" ||
 2755        Name == "outsd" || Name == "outs")) {
 2755        Name == "outsd" || Name == "outs")) {
 2764   if (Name.startswith("lods") &&
 2766       (Name == "lods" || Name == "lodsb" || Name == "lodsw" ||
 2766       (Name == "lods" || Name == "lodsb" || Name == "lodsw" ||
 2766       (Name == "lods" || Name == "lodsb" || Name == "lodsw" ||
 2767        Name == "lodsl" || Name == "lodsd" || Name == "lodsq")) {
 2767        Name == "lodsl" || Name == "lodsd" || Name == "lodsq")) {
 2767        Name == "lodsl" || Name == "lodsd" || Name == "lodsq")) {
 2775   if (Name.startswith("stos") &&
 2777       (Name == "stos" || Name == "stosb" || Name == "stosw" ||
 2777       (Name == "stos" || Name == "stosb" || Name == "stosw" ||
 2777       (Name == "stos" || Name == "stosb" || Name == "stosw" ||
 2778        Name == "stosl" || Name == "stosd" || Name == "stosq")) {
 2778        Name == "stosl" || Name == "stosd" || Name == "stosq")) {
 2778        Name == "stosl" || Name == "stosd" || Name == "stosq")) {
 2786   if (Name.startswith("scas") &&
 2788       (Name == "scas" || Name == "scasb" || Name == "scasw" ||
 2788       (Name == "scas" || Name == "scasb" || Name == "scasw" ||
 2788       (Name == "scas" || Name == "scasb" || Name == "scasw" ||
 2789        Name == "scasl" || Name == "scasd" || Name == "scasq")) {
 2789        Name == "scasl" || Name == "scasd" || Name == "scasq")) {
 2789        Name == "scasl" || Name == "scasd" || Name == "scasq")) {
 2795   if (Name.startswith("cmps") &&
 2797       (Name == "cmps" || Name == "cmpsb" || Name == "cmpsw" ||
 2797       (Name == "cmps" || Name == "cmpsb" || Name == "cmpsw" ||
 2797       (Name == "cmps" || Name == "cmpsb" || Name == "cmpsw" ||
 2798        Name == "cmpsl" || Name == "cmpsd" || Name == "cmpsq")) {
 2798        Name == "cmpsl" || Name == "cmpsd" || Name == "cmpsq")) {
 2798        Name == "cmpsl" || Name == "cmpsd" || Name == "cmpsq")) {
 2805   if (((Name.startswith("movs") &&
 2806         (Name == "movs" || Name == "movsb" || Name == "movsw" ||
 2806         (Name == "movs" || Name == "movsb" || Name == "movsw" ||
 2806         (Name == "movs" || Name == "movsb" || Name == "movsw" ||
 2807          Name == "movsl" || Name == "movsd" || Name == "movsq")) ||
 2807          Name == "movsl" || Name == "movsd" || Name == "movsq")) ||
 2807          Name == "movsl" || Name == "movsd" || Name == "movsq")) ||
 2808        (Name.startswith("smov") &&
 2809         (Name == "smov" || Name == "smovb" || Name == "smovw" ||
 2809         (Name == "smov" || Name == "smovb" || Name == "smovw" ||
 2809         (Name == "smov" || Name == "smovb" || Name == "smovw" ||
 2810          Name == "smovl" || Name == "smovd" || Name == "smovq"))) &&
 2810          Name == "smovl" || Name == "smovd" || Name == "smovq"))) &&
 2810          Name == "smovl" || Name == "smovd" || Name == "smovq"))) &&
 2812     if (Name == "movsd" && Operands.size() == 1 && !isParsingIntelSyntax())
 2826   if ((Name.startswith("shr") || Name.startswith("sar") ||
 2826   if ((Name.startswith("shr") || Name.startswith("sar") ||
 2827        Name.startswith("shl") || Name.startswith("sal") ||
 2827        Name.startswith("shl") || Name.startswith("sal") ||
 2828        Name.startswith("rcl") || Name.startswith("rcr") ||
 2828        Name.startswith("rcl") || Name.startswith("rcr") ||
 2829        Name.startswith("rol") || Name.startswith("ror")) &&
 2829        Name.startswith("rol") || Name.startswith("ror")) &&
 2847   if (Name == "int" && Operands.size() == 2) {
 2858   if ((Name == "xlat" || Name == "xlatb") && Operands.size() == 2) {
 2858   if ((Name == "xlat" || Name == "xlatb") && Operands.size() == 2) {