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()
175 SmallVectorImpl<MachineOperand> &Cond, in AnalyzeBranch() argument
210 Cond.clear(); in AnalyzeBranch()
234 if (Cond.empty()) { in AnalyzeBranch()
237 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
243 assert(Cond.size() == 1); in AnalyzeBranch()
251 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm(); in AnalyzeBranch()
265 ArrayRef<MachineOperand> Cond, in InsertBranch() argument
269 assert((Cond.size() == 1 || Cond.size() == 0) && in InsertBranch()
272 if (Cond.empty()) { in InsertBranch()
281 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm()); in InsertBranch()