Lines Matching defs:Op2
169 bool isSameOperand(const MachineOperand &Op1, const MachineOperand &Op2) {
170 if (Op1.getType() != Op2.getType())
175 return Op1.getReg() == Op2.getReg();
177 return Op1.getImm() == Op2.getImm();
293 MachineOperand &Op2 = AluIter->getOperand(2);
300 if (Op2.isImm()) {
311 // Check that the Op2 would fit in the immediate field of the
313 ((IsSpls && isInt<10>(Op2.getImm())) ||
314 (!IsSpls && isInt<16>(Op2.getImm())))) ||
315 Offset.getImm() == Op2.getImm()))
317 } else if (Op2.isReg()) {
319 if (Offset.isReg() && Op2.getReg() == Offset.getReg())