Lines Matching refs:LHSC
2296 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getAddExpr() local
2301 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr()
2304 LHSC = cast<SCEVConstant>(Ops[0]); in getAddExpr()
2308 if (LHSC->getValue()->isZero()) { in getAddExpr()
2814 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getMulExpr() local
2819 Ops[0] = getConstant(LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr()
2822 LHSC = cast<SCEVConstant>(Ops[0]); in getMulExpr()
2826 if (LHSC->getValue()->isZero()) in getMulExpr()
2827 return LHSC; in getMulExpr()
2830 if (LHSC->getValue()->isOne()) { in getMulExpr()
2856 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getMulExpr() local
2867 return getAddExpr(getMulExpr(LHSC, Add->getOperand(0), in getMulExpr()
2869 getMulExpr(LHSC, Add->getOperand(1), in getMulExpr()
3221 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in getUDivExpr() local
3222 Constant *LHSCV = LHSC->getValue(); in getUDivExpr()
3517 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getMinMaxExpr() local
3535 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt())); in getMinMaxExpr()
3539 LHSC = cast<SCEVConstant>(Ops[0]); in getMinMaxExpr()
3542 bool IsMinV = LHSC->getValue()->isMinValue(IsSigned); in getMinMaxExpr()
3543 bool IsMaxV = LHSC->getValue()->isMaxValue(IsSigned); in getMinMaxExpr()
3552 return LHSC; in getMinMaxExpr()
9224 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in SimplifyICmpOperands() local
9228 LHSC->getValue(), in SimplifyICmpOperands()