Lines Matching refs:Cond
133 reverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const { in reverseBranchCondition()
134 assert(Cond.size() == 1 && "Invalid Xbranch condition!"); in reverseBranchCondition()
136 MSP430CC::CondCodes CC = static_cast<MSP430CC::CondCodes>(Cond[0].getImm()); in reverseBranchCondition()
160 Cond[0].setImm(CC); in reverseBranchCondition()
179 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
214 Cond.clear(); in analyzeBranch()
238 if (Cond.empty()) { in analyzeBranch()
241 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
247 assert(Cond.size() == 1); in analyzeBranch()
255 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm(); in analyzeBranch()
269 ArrayRef<MachineOperand> Cond, in insertBranch() argument
274 assert((Cond.size() == 1 || Cond.size() == 0) && in insertBranch()
278 if (Cond.empty()) { in insertBranch()
287 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm()); in insertBranch()