Lines Matching refs:Op1

624                                            Constant *Op1,  in SymbolicallyEvaluateBinop()  argument
637 computeKnownBits(Op1, KnownZero1, KnownOne1, DL); in SymbolicallyEvaluateBinop()
644 return Op1; in SymbolicallyEvaluateBinop()
661 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
1649 if (ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall() local
1652 double Op1V = getValueAsDouble(Op1); in ConstantFoldScalarCall()
1655 if (Op2->getType() != Op1->getType()) in ConstantFoldScalarCall()
1663 APFloat V1 = Op1->getValueAPF(); in ConstantFoldScalarCall()
1670 const APFloat &C1 = Op1->getValueAPF(); in ConstantFoldScalarCall()
1676 const APFloat &C1 = Op1->getValueAPF(); in ConstantFoldScalarCall()
1709 if (ConstantInt *Op1 = dyn_cast<ConstantInt>(Operands[0])) { in ConstantFoldScalarCall() local
1724 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1727 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1730 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1733 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1736 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1739 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1749 if (Op2->isOne() && Op1->isZero()) // cttz(0, 1) is undef. in ConstantFoldScalarCall()
1751 return ConstantInt::get(Ty, Op1->getValue().countTrailingZeros()); in ConstantFoldScalarCall()
1753 if (Op2->isOne() && Op1->isZero()) // ctlz(0, 1) is undef. in ConstantFoldScalarCall()
1755 return ConstantInt::get(Ty, Op1->getValue().countLeadingZeros()); in ConstantFoldScalarCall()
1767 if (const ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall() local
1774 APFloat V = Op1->getValueAPF(); in ConstantFoldScalarCall()