Lines Matching full: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),
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))
79 if (RC == &MSP430::GR16RegClass)
80 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm))
82 else if (RC == &MSP430::GR8RegClass)
83 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm))
94 if (MSP430::GR16RegClass.contains(DestReg, SrcReg))
95 Opc = MSP430::MOV16rr;
96 else if (MSP430::GR8RegClass.contains(DestReg, SrcReg))
97 Opc = MSP430::MOV8rr;
113 if (I->getOpcode() != MSP430::JMP &&
114 I->getOpcode() != MSP430::JCC &&
115 I->getOpcode() != MSP430::Br &&
116 I->getOpcode() != MSP430::Bm)
194 if (I->getOpcode() == MSP430::Br ||
195 I->getOpcode() == MSP430::Bm)
199 if (I->getOpcode() == MSP430::JMP) {
225 assert(I->getOpcode() == MSP430::JCC && "Invalid conditional branch");
268 "MSP430 branch conditions have one component!");
273 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(TBB);
279 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm());
284 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB);
316 case MSP430::SAR8r1c:
317 case MSP430::SAR16r1c: