Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Op2

1491       if (ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) {
1492 if (Op2->getType() != Op1->getType())
1497 Op2V = Op2->getValueAPF().convertToFloat();
1499 Op2V = Op2->getValueAPF().convertToDouble();
1502 APFloat APF = Op2->getValueAPF();
1536 if (ConstantInt *Op2 = dyn_cast<ConstantInt>(Operands[1])) {
1550 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow);
1553 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow);
1556 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow);
1559 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow);
1562 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow);
1565 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow);
1575 if (Op2->isOne() && Op1->isZero()) // cttz(0, 1) is undef.
1579 if (Op2->isOne() && Op1->isZero()) // ctlz(0, 1) is undef.