Lines Matching refs:Opcode
187 unsigned Opcode = getOpcodeForOffset(isHighReg(Reg) ? HighOpcode : LowOpcode, in expandRXYPseudo() local
189 MI.setDesc(get(Opcode)); in expandRXYPseudo()
198 unsigned Opcode = isHighReg(Reg) ? HighOpcode : LowOpcode; in expandLOCPseudo() local
199 MI.setDesc(get(Opcode)); in expandLOCPseudo()
283 unsigned Opcode; in emitGRX32Move() local
287 Opcode = SystemZ::RISBHH; in emitGRX32Move()
289 Opcode = SystemZ::RISBHL; in emitGRX32Move()
291 Opcode = SystemZ::RISBLH; in emitGRX32Move()
297 return BuildMI(MBB, MBBI, DL, get(Opcode), DestReg) in emitGRX32Move()
686 unsigned Opcode = MI.getOpcode(); in isPredicable() local
687 if (Opcode == SystemZ::Return || in isPredicable()
688 Opcode == SystemZ::Trap || in isPredicable()
689 Opcode == SystemZ::CallJG || in isPredicable()
690 Opcode == SystemZ::CallBR) in isPredicable()
737 unsigned Opcode = MI.getOpcode(); in PredicateInstruction() local
738 if (Opcode == SystemZ::Trap) { in PredicateInstruction()
745 if (Opcode == SystemZ::Return) { in PredicateInstruction()
752 if (Opcode == SystemZ::CallJG) { in PredicateInstruction()
766 if (Opcode == SystemZ::CallBR) { in PredicateInstruction()
853 unsigned Opcode; in copyPhysReg() local
855 Opcode = SystemZ::LGR; in copyPhysReg()
858 Opcode = STI.hasVector() ? SystemZ::LDR32 : SystemZ::LER; in copyPhysReg()
860 Opcode = SystemZ::LDR; in copyPhysReg()
862 Opcode = SystemZ::LXR; in copyPhysReg()
864 Opcode = SystemZ::VLR32; in copyPhysReg()
866 Opcode = SystemZ::VLR64; in copyPhysReg()
868 Opcode = SystemZ::VLR; in copyPhysReg()
870 Opcode = SystemZ::CPYA; in copyPhysReg()
873 Opcode = SystemZ::SAR; in copyPhysReg()
876 Opcode = SystemZ::EAR; in copyPhysReg()
880 BuildMI(MBB, MBBI, DL, get(Opcode), DestReg) in copyPhysReg()
938 static LogicOp interpretAndImmediate(unsigned Opcode) { in interpretAndImmediate() argument
939 switch (Opcode) { in interpretAndImmediate()
984 unsigned Opcode = MI.getOpcode(); in convertToThreeAddress() local
999 if (Opcode == SystemZ::AHIMux && in convertToThreeAddress()
1007 int ThreeOperandOpcode = SystemZ::getThreeOperandOpcode(Opcode); in convertToThreeAddress()
1027 if (LogicOp And = interpretAndImmediate(Opcode)) { in convertToThreeAddress()
1068 unsigned Opcode = MI.getOpcode(); in foldMemoryOperandImpl() local
1071 if (LIS != nullptr && (Opcode == SystemZ::LA || Opcode == SystemZ::LAY) && in foldMemoryOperandImpl()
1107 if ((Opcode == SystemZ::AHI || Opcode == SystemZ::AGHI) && OpNum == 0 && in foldMemoryOperandImpl()
1110 Opcode = (Opcode == SystemZ::AHI ? SystemZ::ASI : SystemZ::AGSI); in foldMemoryOperandImpl()
1112 BuildMI(*InsertPt->getParent(), InsertPt, MI.getDebugLoc(), get(Opcode)) in foldMemoryOperandImpl()
1120 if ((Opcode == SystemZ::ALFI && OpNum == 0 && in foldMemoryOperandImpl()
1122 (Opcode == SystemZ::ALGFI && OpNum == 0 && in foldMemoryOperandImpl()
1125 Opcode = (Opcode == SystemZ::ALFI ? SystemZ::ALSI : SystemZ::ALGSI); in foldMemoryOperandImpl()
1127 BuildMI(*InsertPt->getParent(), InsertPt, MI.getDebugLoc(), get(Opcode)) in foldMemoryOperandImpl()
1135 if ((Opcode == SystemZ::SLFI && OpNum == 0 && in foldMemoryOperandImpl()
1137 (Opcode == SystemZ::SLGFI && OpNum == 0 && in foldMemoryOperandImpl()
1140 Opcode = (Opcode == SystemZ::SLFI ? SystemZ::ALSI : SystemZ::ALGSI); in foldMemoryOperandImpl()
1142 BuildMI(*InsertPt->getParent(), InsertPt, MI.getDebugLoc(), get(Opcode)) in foldMemoryOperandImpl()
1150 if (Opcode == SystemZ::LGDR || Opcode == SystemZ::LDGR) { in foldMemoryOperandImpl()
1151 bool Op0IsGPR = (Opcode == SystemZ::LGDR); in foldMemoryOperandImpl()
1152 bool Op1IsGPR = (Opcode == SystemZ::LDGR); in foldMemoryOperandImpl()
1220 int MemOpcode = SystemZ::getMemOpcode(Opcode); in foldMemoryOperandImpl()
1535 unsigned SystemZInstrInfo::getOpcodeForOffset(unsigned Opcode, in getOpcodeForOffset() argument
1537 const MCInstrDesc &MCID = get(Opcode); in getOpcodeForOffset()
1541 int Disp12Opcode = SystemZ::getDisp12Opcode(Opcode); in getOpcodeForOffset()
1547 return Opcode; in getOpcodeForOffset()
1551 int Disp20Opcode = SystemZ::getDisp20Opcode(Opcode); in getOpcodeForOffset()
1557 return Opcode; in getOpcodeForOffset()
1562 unsigned SystemZInstrInfo::getLoadAndTest(unsigned Opcode) const { in getLoadAndTest()
1563 switch (Opcode) { in getLoadAndTest()
1632 unsigned SystemZInstrInfo::getFusedCompare(unsigned Opcode, in getFusedCompare() argument
1635 switch (Opcode) { in getFusedCompare()
1656 switch (Opcode) { in getFusedCompare()
1677 switch (Opcode) { in getFusedCompare()
1698 switch (Opcode) { in getFusedCompare()
1719 switch (Opcode) { in getFusedCompare()
1747 unsigned SystemZInstrInfo::getLoadAndTrap(unsigned Opcode) const { in getLoadAndTrap()
1750 switch (Opcode) { in getLoadAndTrap()
1770 unsigned Opcode; in loadImmediate() local
1772 Opcode = SystemZ::LGHI; in loadImmediate()
1774 Opcode = SystemZ::LLILL; in loadImmediate()
1776 Opcode = SystemZ::LLILH; in loadImmediate()
1780 Opcode = SystemZ::LGFI; in loadImmediate()
1782 BuildMI(MBB, MBBI, DL, get(Opcode), Reg).addImm(Value); in loadImmediate()