Lines Matching refs:Hexagon
12 #include "Hexagon.h"
40 "disable-hexagon-dealloc-ret",
42 cl::desc("Disable Dealloc Return for Hexagon target"));
103 assert((MI->getOpcode() == Hexagon::ADJDYNALLOC) &&
122 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(0);
125 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::CONST32_Int_Real),
127 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::SUB_rr),
132 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(NumBytes);
142 return RetOpcode == Hexagon::TCRETURNtg || RetOpcode == Hexagon::TCRETURNtext;
159 if (MBBI->getOpcode() == Hexagon::EH_RETURN_JMPR) {
161 BuildMI(MBB, MBBI, dl, TII.get(Hexagon::DEALLOCFRAME));
162 BuildMI(MBB, MBBI, dl, TII.get(Hexagon::ADD_rr),
163 Hexagon::R29).addReg(Hexagon::R29).addReg(Hexagon::R28);
169 MBBI->getOpcode() == Hexagon::JMPret && !DisableDeallocRet) {
175 BeforeJMPR->getOpcode() == Hexagon::RESTORE_DEALLOC_RET_JMP_V4) {
183 BuildMI(MBB, MBBI_end, dl, TII.get(Hexagon::DEALLOC_RET_V4));
195 I->getOpcode() == Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4)
198 BuildMI(MBB, MBBI, dl, TII.get(Hexagon::DEALLOCFRAME));
333 if (MI.getOpcode() == Hexagon::ADJCALLSTACKDOWN) {
335 } else if (MI.getOpcode() == Hexagon::ADJCALLSTACKUP) {