Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Op2

1479       if (ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) {
1480 if (Op2->getType() != Op1->getType())
1485 Op2V = Op2->getValueAPF().convertToFloat();
1487 Op2V = Op2->getValueAPF().convertToDouble();
1490 APFloat APF = Op2->getValueAPF();
1524 if (ConstantInt *Op2 = dyn_cast<ConstantInt>(Operands[1])) {
1538 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow);
1541 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow);
1544 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow);
1547 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow);
1550 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow);
1553 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow);
1563 if (Op2->isOne() && Op1->isZero()) // cttz(0, 1) is undef.
1567 if (Op2->isOne() && Op1->isZero()) // ctlz(0, 1) is undef.