Lines Matching refs:Op2
1389 if (ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) {
1390 if (Op2->getType() != Op1->getType())
1394 (double)Op2->getValueAPF().convertToFloat():
1395 Op2->getValueAPF().convertToDouble();
1422 if (ConstantInt *Op2 = dyn_cast<ConstantInt>(Operands[1])) {
1436 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow);
1439 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow);
1442 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow);
1445 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow);
1448 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow);
1451 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow);
1461 // FIXME: This should check for Op2 == 1, and become unreachable if
1465 // FIXME: This should check for Op2 == 1, and become unreachable if