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

References

lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
 1291   switch (Inst.getOpcode()) {
 1293     if (HexagonMCInstrInfo::getDesc(MII, Inst).isPseudo()) {
 1304       MCOperand &Rx = Inst.getOperand(0);
 1305       MCOperand &Ry = Inst.getOperand(1);
 1314     Inst.setOpcode(Hexagon::A2_addi);
 1315     MCOperand Reg = Inst.getOperand(0);
 1316     MCOperand S27 = Inst.getOperand(1);
 1319     Inst.clear();
 1320     Inst.addOperand(Reg);
 1321     Inst.addOperand(MCOperand::createReg(Hexagon::R0));
 1322     Inst.addOperand(S27);
 1335     MCOperand &Ry = Inst.getOperand(0);
 1336     MCOperand &src = Inst.getOperand(2);
 1343     MCOperand &MO = Inst.getOperand(2);
 1348     Inst.setOpcode(Hexagon::C2_cmpgti);
 1353     MCOperand &MO = Inst.getOperand(2);
 1360       MCOperand &Pd = Inst.getOperand(0);
 1361       MCOperand &Rt = Inst.getOperand(1);
 1366       Inst = TmpInst;
 1372       Inst.setOpcode(Hexagon::C2_cmpgtui);
 1379     MCOperand &MO = Inst.getOperand(1);
 1387     Inst.addOperand(MCOperand::createReg(matchRegister(Reg2)));
 1388     Inst.setOpcode(Hexagon::A2_combinew);
 1394     MCOperand &MO = Inst.getOperand(2);
 1402     Inst.addOperand(MCOperand::createReg(matchRegister(Reg2)));
 1403     Inst.setOpcode((Inst.getOpcode() == Hexagon::A2_tfrpt)
 1403     Inst.setOpcode((Inst.getOpcode() == Hexagon::A2_tfrpt)
 1410     MCOperand &MO = Inst.getOperand(2);
 1418     Inst.addOperand(MCOperand::createReg(matchRegister(Reg2)));
 1419     Inst.setOpcode((Inst.getOpcode() == Hexagon::A2_tfrptnew)
 1419     Inst.setOpcode((Inst.getOpcode() == Hexagon::A2_tfrptnew)
 1427     MCOperand &MO = Inst.getOperand(1);
 1433     Inst.addOperand(MCOperand::createReg(MatchRegisterName(R2)));
 1434     Inst.setOpcode(Hexagon::V6_vcombine);
 1447       MCOperand &MO_1 = Inst.getOperand(1);
 1448       MCOperand &MO_0 = Inst.getOperand(0);
 1539         Inst = TmpInst;
 1546     MCOperand &Rdd = Inst.getOperand(0);
 1547     MCOperand &MO = Inst.getOperand(1);
 1552     Inst = makeCombineInst(Hexagon::A2_combineii, Rdd, imm, MO);
 1558     MCOperand &Rdd = Inst.getOperand(0);
 1559     MCOperand &MO = Inst.getOperand(1);
 1572       Inst = makeCombineInst(Hexagon::A4_combineii, Rdd, imm, imm2);
 1576       Inst = makeCombineInst(Hexagon::A4_combineii, Rdd, imm, MO);
 1583     MCOperand &Rdd = Inst.getOperand(0);
 1584     MCOperand &MO1 = Inst.getOperand(1);
 1585     MCOperand &MO2 = Inst.getOperand(2);
 1592     Inst = makeCombineInst(Hexagon::A2_combineii, Rdd, MO1, MO2);
 1598     MCOperand &Rdd = Inst.getOperand(0);
 1599     MCOperand &MO1 = Inst.getOperand(1);
 1606     MCOperand &MO2 = Inst.getOperand(2);
 1607     Inst = makeCombineInst(Hexagon::A4_combineii, Rdd, MO1, MO2);
 1612     Inst.setOpcode(Hexagon::S2_tableidxb);
 1617     MCOperand &Rx = Inst.getOperand(0);
 1618     MCOperand &Rs = Inst.getOperand(2);
 1619     MCOperand &Imm4 = Inst.getOperand(3);
 1620     MCOperand &Imm6 = Inst.getOperand(4);
 1631     Inst = TmpInst;
 1637     MCOperand &Rx = Inst.getOperand(0);
 1638     MCOperand &Rs = Inst.getOperand(2);
 1639     MCOperand &Imm4 = Inst.getOperand(3);
 1640     MCOperand &Imm6 = Inst.getOperand(4);
 1651     Inst = TmpInst;
 1657     MCOperand &Rx = Inst.getOperand(0);
 1658     MCOperand &Rs = Inst.getOperand(2);
 1659     MCOperand &Imm4 = Inst.getOperand(3);
 1660     MCOperand &Imm6 = Inst.getOperand(4);
 1671     Inst = TmpInst;
 1676     Inst.setOpcode(Hexagon::M2_mpyi);
 1680     MCOperand &Rd = Inst.getOperand(0);
 1681     MCOperand &Rs = Inst.getOperand(1);
 1682     MCOperand &Imm = Inst.getOperand(2);
 1700     Inst = TmpInst;
 1705     MCOperand &Imm = Inst.getOperand(2);
 1713       MCOperand &Rd = Inst.getOperand(0);
 1714       MCOperand &Rs = Inst.getOperand(1);
 1723       MCOperand &Rd = Inst.getOperand(0);
 1724       MCOperand &Rs = Inst.getOperand(1);
 1729     Inst = TmpInst;
 1734     MCOperand &Rdd = Inst.getOperand(0);
 1735     MCOperand &Rss = Inst.getOperand(1);
 1736     MCOperand &Imm = Inst.getOperand(2);
 1754       Inst = TmpInst;
 1760       Inst.setOpcode(Hexagon::S2_asr_i_p_rnd);
 1766     MCOperand &Rs = Inst.getOperand(1);
 1769       Inst.setOpcode(Hexagon::A4_boundscheck_hi);
 1774       Inst.setOpcode(Hexagon::A4_boundscheck_lo);
 1783     MCOperand &Rs = Inst.getOperand(1);
 1786       Inst.setOpcode(Hexagon::A2_addsph);
 1791       Inst.setOpcode(Hexagon::A2_addspl);
 1800     MCOperand &Rt = Inst.getOperand(2);
 1803       Inst.setOpcode(Hexagon::M2_vrcmpys_s1_h);
 1808       Inst.setOpcode(Hexagon::M2_vrcmpys_s1_l);
 1818     MCOperand &Rxx = Inst.getOperand(0);
 1819     MCOperand &Rss = Inst.getOperand(2);
 1820     MCOperand &Rt = Inst.getOperand(3);
 1838     Inst = TmpInst;
 1843     MCOperand &Rt = Inst.getOperand(2);
 1846       Inst.setOpcode(Hexagon::M2_vrcmpys_s1rp_h);
 1851       Inst.setOpcode(Hexagon::M2_vrcmpys_s1rp_l);
 1860     MCOperand &Imm = Inst.getOperand(2);
 1866       Inst.setOpcode(Hexagon::S2_vsathub);
 1872       Inst.setOpcode(Hexagon::S5_asrhub_rnd_sat);
 1878     MCOperand &Rdd = Inst.getOperand(0);
 1879     MCOperand &Rss = Inst.getOperand(1);
 1880     MCOperand &Imm = Inst.getOperand(2);
 1898       Inst = TmpInst;
 1904       Inst.setOpcode(Hexagon::S5_vasrhrnd);
 1911     MCOperand &Rd = Inst.getOperand(0);
 1912     MCOperand &Rs = Inst.getOperand(1);
 1918     Inst = TmpInst;
 1922     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
 1923       Inst.setOpcode(Hexagon::L2_loadrubgp);
 1926     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
 1927       Inst.setOpcode(Hexagon::L2_loadrbgp);
 1930     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
 1931       Inst.setOpcode(Hexagon::L2_loadruhgp);
 1934     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
 1935       Inst.setOpcode(Hexagon::L2_loadrhgp);
 1938     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
 1939       Inst.setOpcode(Hexagon::L2_loadrigp);
 1942     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
 1943       Inst.setOpcode(Hexagon::L2_loadrdgp);
 1946     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1947       Inst.setOpcode(Hexagon::S2_storerbgp);
 1950     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1951       Inst.setOpcode(Hexagon::S2_storerhgp);
 1954     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1955       Inst.setOpcode(Hexagon::S2_storerfgp);
 1958     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1959       Inst.setOpcode(Hexagon::S2_storerigp);
 1962     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1963       Inst.setOpcode(Hexagon::S2_storerdgp);
 1966     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1967       Inst.setOpcode(Hexagon::S2_storerbnewgp);
 1970     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1971       Inst.setOpcode(Hexagon::S2_storerhnewgp);
 1974     if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
 1975       Inst.setOpcode(Hexagon::S2_storerinewgp);
 1978     Inst.setOpcode(Hexagon::A2_andir);
 1979     Inst.addOperand(