Searched refs:RHSCst (Results 1 – 3 of 3) sorted by relevance
914 ConstantInt *RHSCst = dyn_cast<ConstantInt>(RHS->getOperand(1)); in FoldAndOfICmps() local915 if (!LHSCst || !RHSCst) return nullptr; in FoldAndOfICmps()917 if (LHSCst == RHSCst && LHSCC == RHSCC) { in FoldAndOfICmps()945 SmallCst = RHSCst; in FoldAndOfICmps()950 BigCst = RHSCst; in FoldAndOfICmps()984 ConstantRange::makeAllowedICmpRegion(RHSCC, RHSCst->getValue()); in FoldAndOfICmps()998 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue()); in FoldAndOfICmps()1000 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue()); in FoldAndOfICmps()1004 std::swap(LHSCst, RHSCst); in FoldAndOfICmps()1014 assert(LHSCst != RHSCst && "Compares not folded above?"); in FoldAndOfICmps()[all …]
539 Constant *RHSCst = cast<Constant>(Cmp->getOperand(1)); in ComputeValueKnownInPredecessors() local547 RHSCst, P, BB, CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessors()
2754 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local2759 if (LHSCst == RHSCst) { in getUDivExactExpr()2768 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()2772 RHSCst = cast<SCEVConstant>( in getUDivExactExpr()2773 getConstant(RHSCst->getValue()->getValue().udiv(Factor))); in getUDivExactExpr()2778 RHS = RHSCst; in getUDivExactExpr()