Home | History | Annotate | Download | only in MSP430

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),
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))
83 else if (RC == &MSP430::GR8RegClass)
84 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)
197 if (I->getOpcode() == MSP430::Br ||
198 I->getOpcode() == MSP430::Bm)
202 if (I->getOpcode() == MSP430::JMP) {
228 assert(I->getOpcode() == MSP430::JCC && "Invalid conditional branch");
271 "MSP430 branch conditions have one component!");
276 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(TBB);
282 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm());
287 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB);
319 case MSP430::SAR8r1c:
320 case MSP430::SAR16r1c: