Lines Matching defs:ExtOpc
391 bool isRegOffOpcode(unsigned ExtOpc) const ;
392 unsigned getRegOffOpcode(unsigned ExtOpc) const;
393 unsigned getDirectRegReplacement(unsigned ExtOpc) const;
866 unsigned HCE::getRegOffOpcode(unsigned ExtOpc) const {
868 // that corresponds to the ExtOpc, return it, otherwise return 0.
870 switch (ExtOpc) {
875 const MCInstrDesc &D = HII->get(ExtOpc);
883 switch (ExtOpc) {
956 if (!isStoreImmediate(ExtOpc))
957 return ExtOpc;
966 unsigned HCE::getDirectRegReplacement(unsigned ExtOpc) const {
967 switch (ExtOpc) {
1611 unsigned ExtOpc = MI.getOpcode();
1616 unsigned RegOpc = getDirectRegReplacement(ExtOpc);
1619 if (ExtOpc == Hexagon::A4_combineri)
1626 else if (ExtOpc == Hexagon::A4_combineir)
1638 if (ExtOpc == Hexagon::C2_cmpgei || ExtOpc == Hexagon::C2_cmpgeui) {
1639 unsigned NewOpc = ExtOpc == Hexagon::C2_cmpgei ? Hexagon::C2_cmplt
1664 if (MI.mayLoadOrStore() && !isStoreImmediate(ExtOpc)) {
1675 RegOpc = HII->changeAddrMode_io_rr(ExtOpc);
1680 RegOpc = HII->changeAddrMode_ur_rr(ExtOpc);
1687 dbgs() << "\nExtOpc: " << HII->getName(ExtOpc) << " has no rr version\n";
1729 unsigned ExtOpc = MI.getOpcode();
1731 if (ExtOpc == Hexagon::A2_tfrsi) {
1740 unsigned IdxOpc = getRegOffOpcode(ExtOpc);
1776 if (ExtOpc == Hexagon::A2_addi || ExtOpc == Hexagon::A2_subri) {
1781 bool IsAddi = ExtOpc == Hexagon::A2_addi;
1794 if (ExtOpc == Hexagon::M2_accii || ExtOpc == Hexagon::M2_naccii ||
1795 ExtOpc == Hexagon::S4_addaddi || ExtOpc == Hexagon::S4_subaddi) {
1804 bool IsSub = ExtOpc == Hexagon::S4_subaddi;
1809 unsigned NewOpc = ExtOpc == Hexagon::M2_naccii ? Hexagon::A2_sub
1820 unsigned IdxOpc = getRegOffOpcode(ExtOpc);