Searched refs:RHSCst (Results 1 – 4 of 4) sorted by relevance
816 auto RHSCst = getConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands() local817 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
2365 if (auto RHSCst = getConstantVRegSExtVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() local2368 NewCst = Cst + *RHSCst; in matchCombineConstPtrAddToI2P()
3302 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local3306 if (LHSCst == RHSCst) { in getUDivExactExpr()3314 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()3318 RHSCst = in getUDivExactExpr()3319 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()3324 RHS = RHSCst; in getUDivExactExpr()
341 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS)) in matchBinaryPredicate() local342 return Match(LHSCst, RHSCst); in matchBinaryPredicate()356 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate() local357 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()362 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()