Searched refs:LHSCst (Results 1 – 2 of 2) sorted by relevance
3533 if (const auto *LHSCst = dyn_cast<SCEVConstant>(Mul->getOperand(0))) { in getUDivExactExpr() local3534 if (LHSCst == RHSCst) { in getUDivExactExpr()3542 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()3544 LHSCst = in getUDivExactExpr()3545 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()3549 Operands.push_back(LHSCst); in getUDivExactExpr()
338 if (auto *LHSCst = dyn_cast<ConstantSDNode>(LHS)) in matchBinaryPredicate() local340 return Match(LHSCst, RHSCst); in matchBinaryPredicate()354 auto *LHSCst = dyn_cast<ConstantSDNode>(LHSOp); in matchBinaryPredicate() local356 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()361 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()