Searched refs:RHSCst (Results 1 – 5 of 5) sorted by relevance
94 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo() local95 if (RHSCst) in getPointerInfo()96 Info.setOffset(RHSCst->Value.getSExtValue()); in getPointerInfo()
2349 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() local2355 NewCst += RHSCst->sextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
885 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands() local886 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
3602 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local3606 if (LHSCst == RHSCst) { in getUDivExactExpr()3614 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()3618 RHSCst = in getUDivExactExpr()3619 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()3624 RHS = RHSCst; in getUDivExactExpr()
395 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS)) in matchBinaryPredicate() local396 return Match(LHSCst, RHSCst); in matchBinaryPredicate()411 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate() local412 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()417 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()