Home
last modified time | relevance | path

Searched refs:RHSCst (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp914 ConstantInt *RHSCst = dyn_cast<ConstantInt>(RHS->getOperand(1)); in FoldAndOfICmps() local
915 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 …]
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp539 Constant *RHSCst = cast<Constant>(Cmp->getOperand(1)); in ComputeValueKnownInPredecessors() local
547 RHSCst, P, BB, CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessors()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2754 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local
2759 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()