Lines Matching refs:Cond
130 ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const { in ReverseBranchCondition()
131 assert(Cond.size() == 1 && "Invalid Xbranch condition!"); in ReverseBranchCondition()
133 MSP430CC::CondCodes CC = static_cast<MSP430CC::CondCodes>(Cond[0].getImm()); in ReverseBranchCondition()
157 Cond[0].setImm(CC); in ReverseBranchCondition()
176 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
211 Cond.clear(); in analyzeBranch()
235 if (Cond.empty()) { in analyzeBranch()
238 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
244 assert(Cond.size() == 1); in analyzeBranch()
252 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm(); in analyzeBranch()
266 ArrayRef<MachineOperand> Cond, in InsertBranch() argument
270 assert((Cond.size() == 1 || Cond.size() == 0) && in InsertBranch()
273 if (Cond.empty()) { in InsertBranch()
282 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm()); in InsertBranch()