Lines Matching refs:RHSC
2010 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getAddExpr() local
2012 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr()
2429 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getMulExpr() local
2432 ConstantInt::get(getContext(), LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr()
2643 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) { in getUDivExpr() local
2644 if (RHSC->getValue()->equalsInt(1)) in getUDivExpr()
2649 if (!RHSC->getValue()->isZero()) { in getUDivExpr()
2654 unsigned LZ = RHSC->getAPInt().countLeadingZeros(); in getUDivExpr()
2658 if (!RHSC->getAPInt().isPowerOf2()) in getUDivExpr()
2667 const APInt &DivInt = RHSC->getAPInt(); in getUDivExpr()
2703 const SCEV *Div = getUDivExpr(Op, RHSC); in getUDivExpr()
2704 if (!isa<SCEVUDivExpr>(Div) && getMulExpr(Div, RHSC) == Op) { in getUDivExpr()
2734 Constant *RHSCV = RHSC->getValue(); in getUDivExpr()
3013 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getSMaxExpr() local
3016 getContext(), APIntOps::smax(LHSC->getAPInt(), RHSC->getAPInt())); in getSMaxExpr()
3116 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { in getUMaxExpr() local
3119 getContext(), APIntOps::umax(LHSC->getAPInt(), RHSC->getAPInt())); in getUMaxExpr()
5480 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) in computeExitLimitFromICmp() local
5485 ICmpInst::makeConstantRange(Cond, RHSC->getAPInt())); in computeExitLimitFromICmp()
6810 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) { in SimplifyICmpOperands() local
6813 RHSC->getValue())->isNullValue()) in SimplifyICmpOperands()