Lines Matching refs: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 { in getRegOffOpcode()
870 switch (ExtOpc) { in getRegOffOpcode()
875 const MCInstrDesc &D = HII->get(ExtOpc); in getRegOffOpcode()
883 switch (ExtOpc) { in getRegOffOpcode()
956 if (!isStoreImmediate(ExtOpc)) in getRegOffOpcode()
957 return ExtOpc; in getRegOffOpcode()
966 unsigned HCE::getDirectRegReplacement(unsigned ExtOpc) const { in getDirectRegReplacement()
967 switch (ExtOpc) { in getDirectRegReplacement()
1608 unsigned ExtOpc = MI.getOpcode(); in replaceInstrExact() local
1613 unsigned RegOpc = getDirectRegReplacement(ExtOpc); in replaceInstrExact()
1616 if (ExtOpc == Hexagon::A4_combineri) in replaceInstrExact()
1623 else if (ExtOpc == Hexagon::A4_combineir) in replaceInstrExact()
1635 if (ExtOpc == Hexagon::C2_cmpgei || ExtOpc == Hexagon::C2_cmpgeui) { in replaceInstrExact()
1636 unsigned NewOpc = ExtOpc == Hexagon::C2_cmpgei ? Hexagon::C2_cmplt in replaceInstrExact()
1661 if (MI.mayLoadOrStore() && !isStoreImmediate(ExtOpc)) { in replaceInstrExact()
1672 RegOpc = HII->changeAddrMode_io_rr(ExtOpc); in replaceInstrExact()
1677 RegOpc = HII->changeAddrMode_ur_rr(ExtOpc); in replaceInstrExact()
1684 dbgs() << "\nExtOpc: " << HII->getName(ExtOpc) << " has no rr version\n"; in replaceInstrExact()
1726 unsigned ExtOpc = MI.getOpcode(); in replaceInstrExpr() local
1728 if (ExtOpc == Hexagon::A2_tfrsi) { in replaceInstrExpr()
1737 unsigned IdxOpc = getRegOffOpcode(ExtOpc); in replaceInstrExpr()
1773 if (ExtOpc == Hexagon::A2_addi || ExtOpc == Hexagon::A2_subri) { in replaceInstrExpr()
1778 bool IsAddi = ExtOpc == Hexagon::A2_addi; in replaceInstrExpr()
1791 if (ExtOpc == Hexagon::M2_accii || ExtOpc == Hexagon::M2_naccii || in replaceInstrExpr()
1792 ExtOpc == Hexagon::S4_addaddi || ExtOpc == Hexagon::S4_subaddi) { in replaceInstrExpr()
1801 bool IsSub = ExtOpc == Hexagon::S4_subaddi; in replaceInstrExpr()
1806 unsigned NewOpc = ExtOpc == Hexagon::M2_naccii ? Hexagon::A2_sub in replaceInstrExpr()
1817 unsigned IdxOpc = getRegOffOpcode(ExtOpc); in replaceInstrExpr()