Lines Matching refs:RHSC
1787 if (Constant *RHSC = dyn_cast<Constant>(ICI.getOperand(1))) {
1788 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy);
1789 } else if (PtrToIntInst *RHSC = dyn_cast<PtrToIntInst>(ICI.getOperand(1))) {
1790 RHSOp = RHSC->getOperand(0);
2432 if (Constant *RHSC = dyn_cast<Constant>(Op1)) {
2437 if (RHSC->isNullValue() &&
2456 Op1 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC);
2458 Op2 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC);
2469 RHSC, I.getName());
2472 RHSC, I.getName());
2479 if (RHSC->isNullValue() && TD &&
2480 TD->getIntPtrType(RHSC->getContext()) ==
2806 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(Op1))
2807 return new ICmpInst(I.getPredicate(), ConstantExpr::getNot(RHSC), A);
2951 Constant *RHSC) {
2952 if (!isa<ConstantFP>(RHSC)) return 0;
2953 const APFloat &RHS = cast<ConstantFP>(RHSC)->getValueAPF();
3075 ? ConstantExpr::getFPToUI(RHSC, IntTy)
3076 : ConstantExpr::getFPToSI(RHSC, IntTy);
3079 ? ConstantExpr::getUIToFP(RHSInt, RHSC->getType()) == RHSC
3080 : ConstantExpr::getSIToFP(RHSInt, RHSC->getType()) == RHSC;
3083 // the compare predicate and sometimes the value. RHSC is rounded towards
3191 if (Constant *RHSC = dyn_cast<Constant>(Op1)) {
3197 ConstantFP *RHSF = dyn_cast<ConstantFP>(RHSC);
3231 ConstantFP::get(RHSC->getContext(), F));
3244 if (Instruction *NV = FoldFCmp_IntToFP_Cst(I, LHSI, RHSC))
3255 Op1 = ConstantExpr::getCompare(I.getPredicate(), C, RHSC);
3258 LHSI->getOperand(2), RHSC, I.getName());
3261 Op2 = ConstantExpr::getCompare(I.getPredicate(), C, RHSC);
3264 RHSC, I.getName());
3277 ConstantExpr::getFNeg(RHSC));
3294 if (RHSC->isNullValue() && CI->getCalledFunction() &&
3307 RHSC);
3311 RHSC);
3315 RHSC);
3323 RHSC);