Lines Matching refs:MSP430
1 //===- MSP430InstrInfo.cpp - MSP430 Instruction Information ---------------===//
10 // This file contains the MSP430 implementation of the TargetInstrInfo class.
14 #include "MSP430.h"
32 : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP),
52 if (RC == &MSP430::GR16RegClass)
53 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr))
56 else if (RC == &MSP430::GR8RegClass)
57 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)
199 if (I->getOpcode() == MSP430::Br ||
200 I->getOpcode() == MSP430::Bm)
204 if (I->getOpcode() == MSP430::JMP) {
230 assert(I->getOpcode() == MSP430::JCC && "Invalid conditional branch");
273 "MSP430 branch conditions have one component!");
278 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(TBB);
284 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm());
289 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB);
323 case MSP430::SAR8r1c:
324 case MSP430::SAR16r1c: