Lines Matching refs:MSP430
1 //===-- MSP430InstrInfo.cpp - MSP430 Instruction Information --------------===//
10 // This file contains the MSP430 implementation of the TargetInstrInfo class.
15 #include "MSP430.h"
34 : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP),
53 if (RC == &MSP430::GR16RegClass)
54 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr))
57 else if (RC == &MSP430::GR8RegClass)
58 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr))
81 if (RC == &MSP430::GR16RegClass)
82 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm))
84 else if (RC == &MSP430::GR8RegClass)
85 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm))
96 if (MSP430::GR16RegClass.contains(DestReg, SrcReg))
97 Opc = MSP430::MOV16rr;
98 else if (MSP430::GR8RegClass.contains(DestReg, SrcReg))
99 Opc = MSP430::MOV8rr;
115 if (I->getOpcode() != MSP430::JMP &&
116 I->getOpcode() != MSP430::JCC &&
117 I->getOpcode() != MSP430::Br &&
118 I->getOpcode() != MSP430::Bm)
196 if (I->getOpcode() == MSP430::Br ||
197 I->getOpcode() == MSP430::Bm)
201 if (I->getOpcode() == MSP430::JMP) {
227 assert(I->getOpcode() == MSP430::JCC && "Invalid conditional branch");
270 "MSP430 branch conditions have one component!");
275 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(TBB);
281 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm());
286 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB);
318 case MSP430::SAR8r1c:
319 case MSP430::SAR16r1c: