Lines Matching defs:RHSC
2423 APInt RHSC = C;
2425 if (RHSC.countr_zero() < Amt && ICmpInst::isStrictPredicate(CmpPred)) {
2436 RHSC = cast<ConstantInt>(FlippedStrictness->second)->getValue();
2440 if (RHSC.countr_zero() >= Amt) {
2443 ConstantInt::get(TruncTy, RHSC.ashr(*ShiftAmt).trunc(TypeBits - Amt));
4093 Constant *RHSC = dyn_cast<Constant>(Op1);
4095 if (!RHSC || !LHSI)
4105 if (RHSC->isNullValue() &&
4106 DL.getIntPtrType(RHSC->getType()) == LHSI->getOperand(0)->getType())
5186 if (Constant *RHSC = dyn_cast<Constant>(Op1))
5187 if (RHSC->isNotMinSignedValue())
5189 ConstantExpr::getNeg(RHSC));
6030 } else if (auto *RHSC = dyn_cast<Constant>(ICmp.getOperand(1))) {
6031 NewOp1 = ConstantExpr::getIntToPtr(RHSC, SrcTy);
7605 Constant *RHSC) {
7607 if (!match(RHSC, m_APFloat(RHS)))
7770 // the compare predicate and sometimes the value. RHSC is rounded towards
7840 Constant *RHSC) {
7862 if (!match(RHSC, m_AnyZeroFP()))
7882 return new FCmpInst(Pred, LHSI->getOperand(1), RHSC, "", &I);
8006 Constant *RHSC, InstCombinerImpl &CI) {
8038 if (match(RHSC, m_AnyZeroFP()) &&
8209 Constant *RHSC;
8210 if (match(Op0, m_Instruction(LHSI)) && match(Op1, m_Constant(RHSC))) {
8214 if (FCmpInst::isEquality(Pred) && match(RHSC, m_AnyZeroFP()) &&
8224 if (Instruction *NV = foldFCmpFSubIntoFCmp(I, LHSI, RHSC, *this))
8233 if (Instruction *NV = foldFCmpIntToFPConst(I, LHSI, RHSC))
8237 if (Instruction *NV = foldFCmpReciprocalAndZero(I, LHSI, RHSC))