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

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp912 ConstantInt *RHSCst = dyn_cast<ConstantInt>(RHS->getOperand(1)); local
913 if (!LHSCst || !RHSCst) return nullptr;
915 if (LHSCst == RHSCst && LHSCC == RHSCC) {
943 SmallCst = RHSCst;
948 BigCst = RHSCst;
982 ConstantRange::makeAllowedICmpRegion(RHSCC, RHSCst->getValue());
996 ShouldSwap = LHSCst->getValue().sgt(RHSCst->getValue());
998 ShouldSwap = LHSCst->getValue().ugt(RHSCst->getValue());
1002 std::swap(LHSCst, RHSCst);
1012 assert(LHSCst != RHSCst
1787 ConstantInt *RHSCst = dyn_cast<ConstantInt>(RHS->getOperand(1)); local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp586 Constant *RHSCst = cast<Constant>(Cmp->getOperand(1)); local
594 RHSCst, P, BB, CxtI ? CxtI : Cmp);
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp2781 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) {
2785 if (LHSCst == RHSCst) {
2791 // We can't just assume that LHSCst divides RHSCst cleanly, it could be
2794 APInt Factor = gcd(LHSCst, RHSCst);
2798 RHSCst =
2799 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor)));
2804 RHS = RHSCst;

Completed in 145 milliseconds