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

References

gen/lib/Target/X86/X86GenAsmMatcher.inc
  952       switch (Mnemonic.size()) {
  955         switch (Mnemonic[0]) {
  958           switch (Mnemonic[1]) {
  961             if (Mnemonic[2] != 'w')
  963             Mnemonic = "cbtw";	 // "cbw"
  966             if (Mnemonic[2] != 'q')
  968             Mnemonic = "cltd";	 // "cdq"
  971             if (Mnemonic[2] != 'o')
  973             Mnemonic = "cqto";	 // "cqo"
  976             if (Mnemonic[2] != 'd')
  978             Mnemonic = "cwtd";	 // "cwd"
  983           if (memcmp(Mnemonic.data()+1, "op", 2) != 0)
  986             Mnemonic = "popw";
  988             Mnemonic = "popl";
  990             Mnemonic = "popq";
  993           if (memcmp(Mnemonic.data()+1, "et", 2) != 0)
  996             Mnemonic = "retw";
  998             Mnemonic = "retl";
 1000             Mnemonic = "retq";
 1005         switch (Mnemonic[0]) {
 1008           switch (Mnemonic[1]) {
 1011             if (memcmp(Mnemonic.data()+2, "ll", 2) != 0)
 1014               Mnemonic = "callw";
 1016               Mnemonic = "calll";
 1018               Mnemonic = "callq";
 1021             if (memcmp(Mnemonic.data()+2, "qe", 2) != 0)
 1023             Mnemonic = "cltq";	 // "cdqe"
 1026             if (memcmp(Mnemonic.data()+2, "de", 2) != 0)
 1028             Mnemonic = "cwtl";	 // "cwde"
 1033           if (memcmp(Mnemonic.data()+1, "ret", 3) != 0)
 1036             Mnemonic = "iretw";
 1038             Mnemonic = "iretl";
 1041           switch (Mnemonic[1]) {
 1044             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1047               Mnemonic = "lgdtw";
 1049               Mnemonic = "lgdtl";
 1051               Mnemonic = "lgdtq";
 1054             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1057               Mnemonic = "lidtw";
 1059               Mnemonic = "lidtl";
 1061               Mnemonic = "lidtq";
 1064             if (memcmp(Mnemonic.data()+2, "et", 2) != 0)
 1067               Mnemonic = "lretw";
 1069               Mnemonic = "lretl";
 1074           switch (Mnemonic[1]) {
 1077             if (Mnemonic[2] != 'p')
 1079             switch (Mnemonic[3]) {
 1083                 Mnemonic = "popaw";
 1085                 Mnemonic = "popal";
 1089                 Mnemonic = "popfw";
 1091                 Mnemonic = "popfl";
 1093                 Mnemonic = "popfq";
 1098             if (memcmp(Mnemonic.data()+2, "sh", 2) != 0)
 1101               Mnemonic = "pushw";
 1103               Mnemonic = "pushl";
 1105               Mnemonic = "pushq";
 1110           if (memcmp(Mnemonic.data()+1, "etn", 3) != 0)
 1113             Mnemonic = "retw";
 1115             Mnemonic = "retl";
 1117             Mnemonic = "retq";
 1120           switch (Mnemonic[1]) {
 1123             if (Mnemonic[2] != 'l')
 1125             switch (Mnemonic[3]) {
 1128               Mnemonic = "shlb";	 // "salb"
 1131               Mnemonic = "shll";	 // "sall"
 1134               Mnemonic = "shlq";	 // "salq"
 1137               Mnemonic = "shlw";	 // "salw"
 1142             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1145               Mnemonic = "sgdtw";
 1147               Mnemonic = "sgdtl";
 1149               Mnemonic = "sgdtq";
 1152             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1155               Mnemonic = "sidtw";
 1157               Mnemonic = "sidtl";
 1159               Mnemonic = "sidtq";
 1164           if (memcmp(Mnemonic.data()+1, "d2a", 3) != 0)
 1166           Mnemonic = "ud2";	 // "ud2a"
 1171         switch (Mnemonic[0]) {
 1174           if (memcmp(Mnemonic.data()+1, "ildq", 4) != 0)
 1176           Mnemonic = "fildll";	 // "fildq"
 1179           switch (Mnemonic[1]) {
 1182             if (memcmp(Mnemonic.data()+2, "pfd", 3) != 0)
 1184             Mnemonic = "popfl";	 // "popfd"
 1187             if (memcmp(Mnemonic.data()+2, "sh", 2) != 0)
 1189             switch (Mnemonic[4]) {
 1193                 Mnemonic = "pushaw";
 1195                 Mnemonic = "pushal";
 1199                 Mnemonic = "pushfw";
 1201                 Mnemonic = "pushfl";
 1203                 Mnemonic = "pushfq";
 1210           if (memcmp(Mnemonic.data()+1, "mov", 3) != 0)
 1212           switch (Mnemonic[4]) {
 1215             Mnemonic = "movsb";	 // "smovb"
 1218             Mnemonic = "movsl";	 // "smovl"
 1221             Mnemonic = "movsq";	 // "smovq"
 1224             Mnemonic = "movsw";	 // "smovw"
 1229           if (memcmp(Mnemonic.data()+1, "errw", 4) != 0)
 1231           Mnemonic = "verr";	 // "verrw"
 1236         switch (Mnemonic[0]) {
 1239           if (memcmp(Mnemonic.data()+1, "mov", 3) != 0)
 1241           switch (Mnemonic[4]) {
 1244             switch (Mnemonic[5]) {
 1247               Mnemonic = "cmovbl";	 // "cmovcl"
 1250               Mnemonic = "cmovbq";	 // "cmovcq"
 1253               Mnemonic = "cmovbw";	 // "cmovcw"
 1258             switch (Mnemonic[5]) {
 1261               Mnemonic = "cmovel";	 // "cmovzl"
 1264               Mnemonic = "cmoveq";	 // "cmovzq"
 1267               Mnemonic = "cmovew";	 // "cmovzw"
 1274           switch (Mnemonic[1]) {
 1277             if (memcmp(Mnemonic.data()+2, "mov", 3) != 0)
 1279             switch (Mnemonic[5]) {
 1282               Mnemonic = "fcmovnbe";	 // "fcmova"
 1285               Mnemonic = "fcmove";	 // "fcmovz"
 1290             if (memcmp(Mnemonic.data()+2, "stpq", 4) != 0)
 1292             Mnemonic = "fistpll";	 // "fistpq"
 1295             if (memcmp(Mnemonic.data()+2, "dcww", 4) != 0)
 1297             Mnemonic = "fldcw";	 // "fldcww"
 1302           if (memcmp(Mnemonic.data()+1, "eave", 4) != 0)
 1304           switch (Mnemonic[5]) {
 1308               Mnemonic = "leave";
 1312               Mnemonic = "leave";
 1317           if (memcmp(Mnemonic.data()+1, "ushfd", 5) != 0)
 1319           Mnemonic = "pushfl";	 // "pushfd"
 1322           if (memcmp(Mnemonic.data()+1, "ysret", 5) != 0)
 1324           Mnemonic = "sysretl";	 // "sysret"
 1327           if (memcmp(Mnemonic.data()+1, "saveq", 5) != 0)
 1329           Mnemonic = "xsave64";	 // "xsaveq"
 1334         switch (Mnemonic[0]) {
 1337           if (memcmp(Mnemonic.data()+1, "mov", 3) != 0)
 1339           switch (Mnemonic[4]) {
 1342             switch (Mnemonic[5]) {
 1345               switch (Mnemonic[6]) {
 1348                 Mnemonic = "cmovbel";	 // "cmovnal"
 1351                 Mnemonic = "cmovbeq";	 // "cmovnaq"
 1354                 Mnemonic = "cmovbew";	 // "cmovnaw"
 1359               switch (Mnemonic[6]) {
 1362                 Mnemonic = "cmovael";	 // "cmovnbl"
 1365                 Mnemonic = "cmovaeq";	 // "cmovnbq"
 1368                 Mnemonic = "cmovaew";	 // "cmovnbw"
 1373               switch (Mnemonic[6]) {
 1376                 Mnemonic = "cmovael";	 // "cmovncl"
 1379                 Mnemonic = "cmovaeq";	 // "cmovncq"
 1382                 Mnemonic = "cmovaew";	 // "cmovncw"
 1387               switch (Mnemonic[6]) {
 1390                 Mnemonic = "cmovlel";	 // "cmovngl"
 1393                 Mnemonic = "cmovleq";	 // "cmovngq"
 1396                 Mnemonic = "cmovlew";	 // "cmovngw"
 1401               switch (Mnemonic[6]) {
 1404                 Mnemonic = "cmovgel";	 // "cmovnll"
 1407                 Mnemonic = "cmovgeq";	 // "cmovnlq"
 1410                 Mnemonic = "cmovgew";	 // "cmovnlw"
 1415               switch (Mnemonic[6]) {
 1418                 Mnemonic = "cmovnel";	 // "cmovnzl"
 1421                 Mnemonic = "cmovneq";	 // "cmovnzq"
 1424                 Mnemonic = "cmovnew";	 // "cmovnzw"
 1431             switch (Mnemonic[5]) {
 1434               switch (Mnemonic[6]) {
 1437                 Mnemonic = "cmovpl";	 // "cmovpel"
 1440                 Mnemonic = "cmovpq";	 // "cmovpeq"
 1443                 Mnemonic = "cmovpw";	 // "cmovpew"
 1448               switch (Mnemonic[6]) {
 1451                 Mnemonic = "cmovnpl";	 // "cmovpol"
 1454                 Mnemonic = "cmovnpq";	 // "cmovpoq"
 1457                 Mnemonic = "cmovnpw";	 // "cmovpow"
 1466           switch (Mnemonic[1]) {
 1469             if (memcmp(Mnemonic.data()+2, "mov", 3) != 0)
 1471             switch (Mnemonic[5]) {
 1474               if (Mnemonic[6] != 'e')
 1476               Mnemonic = "fcmovnb";	 // "fcmovae"
 1479               if (Mnemonic[6] != 'a')
 1481               Mnemonic = "fcmovbe";	 // "fcmovna"
 1486             if (memcmp(Mnemonic.data()+2, "sttpq", 5) != 0)
 1488             Mnemonic = "fisttpll";	 // "fisttpq"
 1491             if (memcmp(Mnemonic.data()+2, "st", 2) != 0)
 1493             switch (Mnemonic[4]) {
 1496               if (memcmp(Mnemonic.data()+5, "ww", 2) != 0)
 1498               Mnemonic = "fnstcw";	 // "fnstcww"
 1501               if (memcmp(Mnemonic.data()+5, "ww", 2) != 0)
 1503               Mnemonic = "fnstsw";	 // "fnstsww"
 1508             if (memcmp(Mnemonic.data()+2, "saveq", 5) != 0)
 1510             Mnemonic = "fxsave64";	 // "fxsaveq"
 1515           if (memcmp(Mnemonic.data()+1, "ysexit", 6) != 0)
 1517           Mnemonic = "sysexitl";	 // "sysexit"
 1520           switch (Mnemonic[1]) {
 1523             if (memcmp(Mnemonic.data()+2, "storq", 5) != 0)
 1525             Mnemonic = "xrstor64";	 // "xrstorq"
 1528             if (memcmp(Mnemonic.data()+2, "ave", 3) != 0)
 1530             switch (Mnemonic[5]) {
 1533               if (Mnemonic[6] != 'q')
 1535               Mnemonic = "xsavec64";	 // "xsavecq"
 1538               if (Mnemonic[6] != 'q')
 1540               Mnemonic = "xsaves64";	 // "xsavesq"
 1549         switch (Mnemonic[0]) {
 1552           if (memcmp(Mnemonic.data()+1, "movn", 4) != 0)
 1554           switch (Mnemonic[5]) {
 1557             if (Mnemonic[6] != 'e')
 1559             switch (Mnemonic[7]) {
 1562               Mnemonic = "cmovbl";	 // "cmovnael"
 1565               Mnemonic = "cmovbq";	 // "cmovnaeq"
 1568               Mnemonic = "cmovbw";	 // "cmovnaew"
 1573             if (Mnemonic[6] != 'e')
 1575             switch (Mnemonic[7]) {
 1578               Mnemonic = "cmoval";	 // "cmovnbel"
 1581               Mnemonic = "cmovaq";	 // "cmovnbeq"
 1584               Mnemonic = "cmovaw";	 // "cmovnbew"
 1589             if (Mnemonic[6] != 'e')
 1591             switch (Mnemonic[7]) {
 1594               Mnemonic = "cmovll";	 // "cmovngel"
 1597               Mnemonic = "cmovlq";	 // "cmovngeq"
 1600               Mnemonic = "cmovlw";	 // "cmovngew"
 1605             if (Mnemonic[6] != 'e')
 1607             switch (Mnemonic[7]) {
 1610               Mnemonic = "cmovgl";	 // "cmovnlel"
 1613               Mnemonic = "cmovgq";	 // "cmovnleq"
 1616               Mnemonic = "cmovgw";	 // "cmovnlew"
 1623           switch (Mnemonic[1]) {
 1626             if (memcmp(Mnemonic.data()+2, "movnae", 6) != 0)
 1628             Mnemonic = "fcmovb";	 // "fcmovnae"
 1631             if (memcmp(Mnemonic.data()+2, "rstorq", 6) != 0)
 1633             Mnemonic = "fxrstor64";	 // "fxrstorq"
 1638           if (memcmp(Mnemonic.data()+1, "rstorsq", 7) != 0)
 1640           Mnemonic = "xrstors64";	 // "xrstorsq"
 1645         if (memcmp(Mnemonic.data()+0, "xsaveoptq", 9) != 0)
 1647         Mnemonic = "xsaveopt64";	 // "xsaveoptq"
 1652       switch (Mnemonic.size()) {
 1655         if (memcmp(Mnemonic.data()+0, "sal", 3) != 0)
 1657         Mnemonic = "shl";	 // "sal"
 1660         switch (Mnemonic[0]) {
 1663           switch (Mnemonic[1]) {
 1666             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1669               Mnemonic = "lgdtw";
 1671               Mnemonic = "lgdtd";
 1674             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1677               Mnemonic = "lidtw";
 1679               Mnemonic = "lidtd";
 1684           if (memcmp(Mnemonic.data()+1, "op", 2) != 0)
 1686           switch (Mnemonic[3]) {
 1690               Mnemonic = "popaw";
 1692               Mnemonic = "popal";
 1696               Mnemonic = "popfq";
 1701           if (memcmp(Mnemonic.data()+1, "etn", 3) != 0)
 1703           Mnemonic = "ret";	 // "retn"
 1706           switch (Mnemonic[1]) {
 1709             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1712               Mnemonic = "sgdtw";
 1714               Mnemonic = "sgdtd";
 1717             if (memcmp(Mnemonic.data()+2, "dt", 2) != 0)
 1720               Mnemonic = "sidtw";
 1722               Mnemonic = "sidtd";
 1729         switch (Mnemonic[0]) {
 1732           if (memcmp(Mnemonic.data()+1, "mov", 3) != 0)
 1734           switch (Mnemonic[4]) {
 1737             Mnemonic = "cmovb";	 // "cmovc"
 1740             Mnemonic = "cmove";	 // "cmovz"
 1745           switch (Mnemonic[1]) {
 1748             if (Mnemonic[2] != 'p')
 1750             switch (Mnemonic[3]) {
 1753               if (Mnemonic[4] != 'd')
 1756                 Mnemonic = "popal";
 1759               if (Mnemonic[4] != 'w')
 1762                 Mnemonic = "popf";
 1764                 Mnemonic = "popf";
 1769             if (memcmp(Mnemonic.data()+2, "sh", 2) != 0)
 1771             switch (Mnemonic[4]) {
 1775                 Mnemonic = "pushaw";
 1777                 Mnemonic = "pushal";
 1781                 Mnemonic = "pushfq";
 1790         switch (Mnemonic[0]) {
 1793           if (memcmp(Mnemonic.data()+1, "mov", 3) != 0)
 1795           switch (Mnemonic[4]) {
 1798             switch (Mnemonic[5]) {
 1801               Mnemonic = "cmovbe";	 // "cmovna"
 1804               Mnemonic = "cmovae";	 // "cmovnb"
 1807               Mnemonic = "cmovae";	 // "cmovnc"
 1810               Mnemonic = "cmovle";	 // "cmovng"
 1813               Mnemonic = "cmovge";	 // "cmovnl"
 1816               Mnemonic = "cmovne";	 // "cmovnz"
 1821             switch (Mnemonic[5]) {
 1824               Mnemonic = "cmovp";	 // "cmovpe"
 1827               Mnemonic = "cmovnp";	 // "cmovpo"
 1834           if (memcmp(Mnemonic.data()+1, "ush", 3) != 0)
 1836           switch (Mnemonic[4]) {
 1839             if (Mnemonic[5] != 'd')
 1842               Mnemonic = "pushal";
 1845             if (Mnemonic[5] != 'w')
 1848               Mnemonic = "pushf";
 1850               Mnemonic = "pushf";
 1857         switch (Mnemonic[0]) {
 1860           if (memcmp(Mnemonic.data()+1, "cquire", 6) != 0)
 1862           Mnemonic = "xacquire";	 // "acquire"
 1865           if (memcmp(Mnemonic.data()+1, "movn", 4) != 0)
 1867           switch (Mnemonic[5]) {
 1870             if (Mnemonic[6] != 'e')
 1872             Mnemonic = "cmovb";	 // "cmovnae"
 1875             if (Mnemonic[6] != 'e')
 1877             Mnemonic = "cmova";	 // "cmovnbe"
 1880             if (Mnemonic[6] != 'e')
 1882             Mnemonic = "cmovl";	 // "cmovnge"
 1885             if (Mnemonic[6] != 'e')
 1887             Mnemonic = "cmovg";	 // "cmovnle"
 1892           if (memcmp(Mnemonic.data()+1, "elease", 6) != 0)
 1894           Mnemonic = "xrelease";	 // "release"
 1901   switch (Mnemonic.size()) {
 1904     if (Mnemonic[0] != 'j')
 1906     switch (Mnemonic[1]) {
 1909       Mnemonic = "jb";	 // "jc"
 1912       Mnemonic = "je";	 // "jz"
 1917     if (Mnemonic[0] != 'j')
 1919     switch (Mnemonic[1]) {
 1922       switch (Mnemonic[2]) {
 1925         Mnemonic = "jbe";	 // "jna"
 1928         Mnemonic = "jae";	 // "jnb"
 1931         Mnemonic = "jae";	 // "jnc"
 1934         Mnemonic = "jle";	 // "jng"
 1937         Mnemonic = "jge";	 // "jnl"
 1940         Mnemonic = "jne";	 // "jnz"
 1945       switch (Mnemonic[2]) {
 1948         Mnemonic = "jp";	 // "jpe"
 1951         Mnemonic = "jnp";	 // "jpo"
 1958     switch (Mnemonic[0]) {
 1961       if (Mnemonic[1] != 'n')
 1963       switch (Mnemonic[2]) {
 1966         if (Mnemonic[3] != 'e')
 1968         Mnemonic = "jb";	 // "jnae"
 1971         if (Mnemonic[3] != 'e')
 1973         Mnemonic = "ja";	 // "jnbe"
 1976         if (Mnemonic[3] != 'e')
 1978         Mnemonic = "jl";	 // "jnge"
 1981         if (Mnemonic[3] != 'e')
 1983         Mnemonic = "jg";	 // "jnle"
 1988       if (memcmp(Mnemonic.data()+1, "ep", 2) != 0)
 1990       switch (Mnemonic[3]) {
 1993         Mnemonic = "rep";	 // "repe"
 1996         Mnemonic = "rep";	 // "repz"
 2001       if (memcmp(Mnemonic.data()+1, "et", 2) != 0)
 2003       switch (Mnemonic[3]) {
 2006         Mnemonic = "setb";	 // "setc"
 2009         Mnemonic = "sete";	 // "setz"
 2016     switch (Mnemonic[0]) {
 2019       if (memcmp(Mnemonic.data()+1, "wait", 4) != 0)
 2021       Mnemonic = "wait";	 // "fwait"
 2024       if (memcmp(Mnemonic.data()+1, "oopz", 4) != 0)
 2026       Mnemonic = "loope";	 // "loopz"
 2029       if (memcmp(Mnemonic.data()+1, "epnz", 4) != 0)
 2031       Mnemonic = "repne";	 // "repnz"
 2034       if (memcmp(Mnemonic.data()+1, "et", 2) != 0)
 2036       switch (Mnemonic[3]) {
 2039         switch (Mnemonic[4]) {
 2042           Mnemonic = "setbe";	 // "setna"
 2045           Mnemonic = "setae";	 // "setnb"
 2048           Mnemonic = "setae";	 // "setnc"
 2051           Mnemonic = "setle";	 // "setng"
 2054           Mnemonic = "setge";	 // "setnl"
 2057           Mnemonic = "setne";	 // "setnz"
 2062         switch (Mnemonic[4]) {
 2065           Mnemonic = "setp";	 // "setpe"
 2068           Mnemonic = "setnp";	 // "setpo"
 2077     switch (Mnemonic[0]) {
 2080       if (memcmp(Mnemonic.data()+1, "comip", 5) != 0)
 2082       Mnemonic = "fcompi";	 // "fcomip"
 2085       if (memcmp(Mnemonic.data()+1, "oopnz", 5) != 0)
 2087       Mnemonic = "loopne";	 // "loopnz"
 2090       if (memcmp(Mnemonic.data()+1, "etn", 3) != 0)
 2092       switch (Mnemonic[4]) {
 2095         if (Mnemonic[5] != 'e')
 2097         Mnemonic = "setb";	 // "setnae"
 2100         if (Mnemonic[5] != 'e')
 2102         Mnemonic = "seta";	 // "setnbe"
 2105         if (Mnemonic[5] != 'e')
 2107         Mnemonic = "setl";	 // "setnge"
 2110         if (Mnemonic[5] != 'e')
 2112         Mnemonic = "setg";	 // "setnle"
 2119     if (memcmp(Mnemonic.data()+0, "fucomip", 7) != 0)
 2121     Mnemonic = "fucompi";	 // "fucomip"