Searched refs:RHSCst (Results 1 – 5 of 5) sorted by relevance
92 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo() local93 if (RHSCst) in getPointerInfo()94 Info.Offset = RHSCst->Value.getSExtValue(); in getPointerInfo()
2106 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() local2112 NewCst += RHSCst->sextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
859 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands() local860 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
3609 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local3613 if (LHSCst == RHSCst) { in getUDivExactExpr()3621 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()3625 RHSCst = in getUDivExactExpr()3626 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()3631 RHS = RHSCst; in getUDivExactExpr()
382 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS)) in matchBinaryPredicate() local383 return Match(LHSCst, RHSCst); in matchBinaryPredicate()398 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate() local399 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()404 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()