Lines Matching defs:Cond
132 reverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const {
133 assert(Cond.size() == 1 && "Invalid Xbranch condition!");
135 MSP430CC::CondCodes CC = static_cast<MSP430CC::CondCodes>(Cond[0].getImm());
159 Cond[0].setImm(CC);
166 SmallVectorImpl<MachineOperand> &Cond,
201 Cond.clear();
225 if (Cond.empty()) {
228 Cond.push_back(MachineOperand::CreateImm(BranchCode));
234 assert(Cond.size() == 1);
242 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm();
256 ArrayRef<MachineOperand> Cond,
261 assert((Cond.size() == 1 || Cond.size() == 0) &&
265 if (Cond.empty()) {
274 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm());