Lines Matching defs:RHSC

2479     APInt RHSC = C;
2481 if (RHSC.countr_zero() < Amt && ICmpInst::isStrictPredicate(CmpPred)) {
2491 RHSC = cast<ConstantInt>(FlippedStrictness->second)->getValue();
2495 if (RHSC.countr_zero() >= Amt) {
2498 ConstantInt::get(TruncTy, RHSC.ashr(*ShiftAmt).trunc(TypeBits - Amt));
4264 Constant *RHSC = dyn_cast<Constant>(Op1);
4266 if (!RHSC || !LHSI)
4276 if (RHSC->isNullValue() &&
4277 DL.getIntPtrType(RHSC->getType()) == LHSI->getOperand(0)->getType())
5374 if (Constant *RHSC = dyn_cast<Constant>(Op1))
5375 if (RHSC->isNotMinSignedValue())
5377 ConstantExpr::getNeg(RHSC));
6220 } else if (auto *RHSC = dyn_cast<Constant>(ICmp.getOperand(1))) {
6221 NewOp1 = ConstantExpr::getIntToPtr(RHSC, SrcTy);
6236 } else if (auto *RHSC = dyn_cast<Constant>(ICmp.getOperand(1))) {
6237 NewOp1 = ConstantFoldConstant(ConstantExpr::getPtrToInt(RHSC, SrcTy), DL);
7717 Constant *RHSC) {
7719 if (!match(RHSC, m_APFloat(RHS)))
7882 // the compare predicate and sometimes the value. RHSC is rounded towards
7952 Constant *RHSC) {
7974 if (!match(RHSC, m_AnyZeroFP()))
7994 return new FCmpInst(Pred, LHSI->getOperand(1), RHSC, "", &I);
8179 Constant *RHSC, InstCombinerImpl &CI) {
8211 if (match(RHSC, m_AnyZeroFP()) &&
8451 Constant *RHSC;
8452 if (match(Op0, m_Instruction(LHSI)) && match(Op1, m_Constant(RHSC))) {
8456 if (FCmpInst::isEquality(Pred) && match(RHSC, m_AnyZeroFP()) &&
8464 if (Instruction *NV = foldFCmpFSubIntoFCmp(I, LHSI, RHSC, *this))
8473 if (Instruction *NV = foldFCmpIntToFPConst(I, LHSI, RHSC))
8477 if (Instruction *NV = foldFCmpReciprocalAndZero(I, LHSI, RHSC))