Lines Matching refs:ExtOpc
389 bool isRegOffOpcode(unsigned ExtOpc) const ;
390 unsigned getRegOffOpcode(unsigned ExtOpc) const;
391 unsigned getDirectRegReplacement(unsigned ExtOpc) const;
864 unsigned HCE::getRegOffOpcode(unsigned ExtOpc) const { in getRegOffOpcode()
868 switch (ExtOpc) { in getRegOffOpcode()
873 const MCInstrDesc &D = HII->get(ExtOpc); in getRegOffOpcode()
881 switch (ExtOpc) { in getRegOffOpcode()
954 if (!isStoreImmediate(ExtOpc)) in getRegOffOpcode()
955 return ExtOpc; in getRegOffOpcode()
964 unsigned HCE::getDirectRegReplacement(unsigned ExtOpc) const { in getDirectRegReplacement()
965 switch (ExtOpc) { in getDirectRegReplacement()
1588 unsigned ExtOpc = MI.getOpcode(); in replaceInstrExact() local
1593 unsigned RegOpc = getDirectRegReplacement(ExtOpc); in replaceInstrExact()
1596 if (ExtOpc == Hexagon::A4_combineri) in replaceInstrExact()
1603 else if (ExtOpc == Hexagon::A4_combineir) in replaceInstrExact()
1615 if (ExtOpc == Hexagon::C2_cmpgei || ExtOpc == Hexagon::C2_cmpgeui) { in replaceInstrExact()
1616 unsigned NewOpc = ExtOpc == Hexagon::C2_cmpgei ? Hexagon::C2_cmplt in replaceInstrExact()
1641 if ((MI.mayLoad() || MI.mayStore()) && !isStoreImmediate(ExtOpc)) { in replaceInstrExact()
1652 RegOpc = HII->changeAddrMode_io_rr(ExtOpc); in replaceInstrExact()
1657 RegOpc = HII->changeAddrMode_ur_rr(ExtOpc); in replaceInstrExact()
1664 dbgs() << "\nExtOpc: " << HII->getName(ExtOpc) << " has no rr version\n"; in replaceInstrExact()
1706 unsigned ExtOpc = MI.getOpcode(); in replaceInstrExpr() local
1708 if (ExtOpc == Hexagon::A2_tfrsi) { in replaceInstrExpr()
1717 unsigned IdxOpc = getRegOffOpcode(ExtOpc); in replaceInstrExpr()
1753 if (ExtOpc == Hexagon::A2_addi || ExtOpc == Hexagon::A2_subri) { in replaceInstrExpr()
1758 bool IsAddi = ExtOpc == Hexagon::A2_addi; in replaceInstrExpr()
1771 if (ExtOpc == Hexagon::M2_accii || ExtOpc == Hexagon::M2_naccii || in replaceInstrExpr()
1772 ExtOpc == Hexagon::S4_addaddi || ExtOpc == Hexagon::S4_subaddi) { in replaceInstrExpr()
1781 bool IsSub = ExtOpc == Hexagon::S4_subaddi; in replaceInstrExpr()
1786 unsigned NewOpc = ExtOpc == Hexagon::M2_naccii ? Hexagon::A2_sub in replaceInstrExpr()
1797 unsigned IdxOpc = getRegOffOpcode(ExtOpc); in replaceInstrExpr()