Lines Matching defs:Cond
128 reverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const {
129 assert(Cond.size() == 1 && "Invalid Xbranch condition!");
131 MSP430CC::CondCodes CC = static_cast<MSP430CC::CondCodes>(Cond[0].getImm());
155 Cond[0].setImm(CC);
162 SmallVectorImpl<MachineOperand> &Cond,
196 Cond.clear();
220 if (Cond.empty()) {
223 Cond.push_back(MachineOperand::CreateImm(BranchCode));
229 assert(Cond.size() == 1);
237 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm();
251 ArrayRef<MachineOperand> Cond,
256 assert((Cond.size() == 1 || Cond.size() == 0) &&
260 if (Cond.empty()) {
269 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm());