Lines Matching refs:Op2
170 bool isSameOperand(const MachineOperand &Op1, const MachineOperand &Op2) { in isSameOperand() argument
171 if (Op1.getType() != Op2.getType()) in isSameOperand()
176 return Op1.getReg() == Op2.getReg(); in isSameOperand()
178 return Op1.getImm() == Op2.getImm(); in isSameOperand()
295 MachineOperand &Op2 = AluIter->getOperand(2); in isSuitableAluInstr() local
302 if (Op2.isImm()) { in isSuitableAluInstr()
315 ((IsSpls && isInt<10>(Op2.getImm())) || in isSuitableAluInstr()
316 (!IsSpls && isInt<16>(Op2.getImm())))) || in isSuitableAluInstr()
317 Offset.getImm() == Op2.getImm())) in isSuitableAluInstr()
319 } else if (Op2.isReg()) { in isSuitableAluInstr()
321 if (Offset.isReg() && Op2.getReg() == Offset.getReg()) in isSuitableAluInstr()