Lines Matching refs:Opcode
178 unsigned Opcode = getOpcodeForOffset( in expandRXYPseudo() local
181 MI.setDesc(get(Opcode)); in expandRXYPseudo()
190 unsigned Opcode = SystemZ::isHighReg(Reg) ? HighOpcode : LowOpcode; in expandLOCPseudo() local
191 MI.setDesc(get(Opcode)); in expandLOCPseudo()
252 unsigned Opcode; in emitGRX32Move() local
256 Opcode = SystemZ::RISBHH; in emitGRX32Move()
258 Opcode = SystemZ::RISBHL; in emitGRX32Move()
260 Opcode = SystemZ::RISBLH; in emitGRX32Move()
266 return BuildMI(MBB, MBBI, DL, get(Opcode), DestReg) in emitGRX32Move()
674 unsigned Opcode = MI.getOpcode(); in isPredicable() local
675 if (Opcode == SystemZ::Return || in isPredicable()
676 Opcode == SystemZ::Trap || in isPredicable()
677 Opcode == SystemZ::CallJG || in isPredicable()
678 Opcode == SystemZ::CallBR) in isPredicable()
725 unsigned Opcode = MI.getOpcode(); in PredicateInstruction() local
726 if (Opcode == SystemZ::Trap) { in PredicateInstruction()
733 if (Opcode == SystemZ::Return) { in PredicateInstruction()
740 if (Opcode == SystemZ::CallJG) { in PredicateInstruction()
754 if (Opcode == SystemZ::CallBR) { in PredicateInstruction()
828 unsigned Opcode = in copyPhysReg() local
830 BuildMI(MBB, MBBI, DL, get(Opcode)) in copyPhysReg()
837 unsigned Opcode; in copyPhysReg() local
839 Opcode = SystemZ::LGR; in copyPhysReg()
842 Opcode = STI.hasVector() ? SystemZ::LDR32 : SystemZ::LER; in copyPhysReg()
844 Opcode = SystemZ::LDR; in copyPhysReg()
846 Opcode = SystemZ::LXR; in copyPhysReg()
848 Opcode = SystemZ::VLR32; in copyPhysReg()
850 Opcode = SystemZ::VLR64; in copyPhysReg()
852 Opcode = SystemZ::VLR; in copyPhysReg()
854 Opcode = SystemZ::CPYA; in copyPhysReg()
858 BuildMI(MBB, MBBI, DL, get(Opcode), DestReg) in copyPhysReg()
916 static LogicOp interpretAndImmediate(unsigned Opcode) { in interpretAndImmediate() argument
917 switch (Opcode) { in interpretAndImmediate()
1002 unsigned Opcode = MI.getOpcode(); in foldMemoryOperandImpl() local
1018 if (!CCLiveAtMI && (Opcode == SystemZ::LA || Opcode == SystemZ::LAY) && in foldMemoryOperandImpl()
1043 if ((Opcode == SystemZ::AHI || Opcode == SystemZ::AGHI) && OpNum == 0 && in foldMemoryOperandImpl()
1046 Opcode = (Opcode == SystemZ::AHI ? SystemZ::ASI : SystemZ::AGSI); in foldMemoryOperandImpl()
1048 BuildMI(*InsertPt->getParent(), InsertPt, MI.getDebugLoc(), get(Opcode)) in foldMemoryOperandImpl()
1057 if ((Opcode == SystemZ::ALFI && OpNum == 0 && in foldMemoryOperandImpl()
1059 (Opcode == SystemZ::ALGFI && OpNum == 0 && in foldMemoryOperandImpl()
1062 Opcode = (Opcode == SystemZ::ALFI ? SystemZ::ALSI : SystemZ::ALGSI); in foldMemoryOperandImpl()
1064 BuildMI(*InsertPt->getParent(), InsertPt, MI.getDebugLoc(), get(Opcode)) in foldMemoryOperandImpl()
1072 if ((Opcode == SystemZ::SLFI && OpNum == 0 && in foldMemoryOperandImpl()
1074 (Opcode == SystemZ::SLGFI && OpNum == 0 && in foldMemoryOperandImpl()
1077 Opcode = (Opcode == SystemZ::SLFI ? SystemZ::ALSI : SystemZ::ALGSI); in foldMemoryOperandImpl()
1079 BuildMI(*InsertPt->getParent(), InsertPt, MI.getDebugLoc(), get(Opcode)) in foldMemoryOperandImpl()
1088 switch (Opcode) { in foldMemoryOperandImpl()
1113 if (Opcode == SystemZ::LGDR || Opcode == SystemZ::LDGR) { in foldMemoryOperandImpl()
1114 bool Op0IsGPR = (Opcode == SystemZ::LGDR); in foldMemoryOperandImpl()
1115 bool Op1IsGPR = (Opcode == SystemZ::LDGR); in foldMemoryOperandImpl()
1185 int MemOpcode = SystemZ::getMemOpcode(Opcode); in foldMemoryOperandImpl()
1212 bool FusedFPOp = (Opcode == SystemZ::WFMADB || Opcode == SystemZ::WFMASB || in foldMemoryOperandImpl()
1213 Opcode == SystemZ::WFMSDB || Opcode == SystemZ::WFMSSB); in foldMemoryOperandImpl()
1617 unsigned SystemZInstrInfo::getOpcodeForOffset(unsigned Opcode, in getOpcodeForOffset() argument
1619 const MCInstrDesc &MCID = get(Opcode); in getOpcodeForOffset()
1623 int Disp12Opcode = SystemZ::getDisp12Opcode(Opcode); in getOpcodeForOffset()
1629 return Opcode; in getOpcodeForOffset()
1633 int Disp20Opcode = SystemZ::getDisp20Opcode(Opcode); in getOpcodeForOffset()
1639 return Opcode; in getOpcodeForOffset()
1644 unsigned SystemZInstrInfo::getLoadAndTest(unsigned Opcode) const { in getLoadAndTest()
1645 switch (Opcode) { in getLoadAndTest()
1714 unsigned SystemZInstrInfo::getFusedCompare(unsigned Opcode, in getFusedCompare() argument
1717 switch (Opcode) { in getFusedCompare()
1738 switch (Opcode) { in getFusedCompare()
1759 switch (Opcode) { in getFusedCompare()
1780 switch (Opcode) { in getFusedCompare()
1801 switch (Opcode) { in getFusedCompare()
1903 unsigned SystemZInstrInfo::getLoadAndTrap(unsigned Opcode) const { in getLoadAndTrap()
1906 switch (Opcode) { in getLoadAndTrap()
1926 unsigned Opcode; in loadImmediate() local
1928 Opcode = SystemZ::LGHI; in loadImmediate()
1930 Opcode = SystemZ::LLILL; in loadImmediate()
1932 Opcode = SystemZ::LLILH; in loadImmediate()
1936 Opcode = SystemZ::LGFI; in loadImmediate()
1938 BuildMI(MBB, MBBI, DL, get(Opcode), Reg).addImm(Value); in loadImmediate()