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()
159 Cond[0].setImm(CC); in ReverseBranchCondition()
178 SmallVectorImpl<MachineOperand> &Cond, in AnalyzeBranch() argument
213 Cond.clear(); in AnalyzeBranch()
237 if (Cond.empty()) { in AnalyzeBranch()
240 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
246 assert(Cond.size() == 1); in AnalyzeBranch()
254 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm(); in AnalyzeBranch()
268 const SmallVectorImpl<MachineOperand> &Cond, in InsertBranch() argument
272 assert((Cond.size() == 1 || Cond.size() == 0) && in InsertBranch()
275 if (Cond.empty()) { in InsertBranch()
284 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm()); in InsertBranch()