Searched refs:isStrictlyPositive (Results 1 – 16 of 16) sorted by relevance
101 bool isStrictlyPositive() const { return Zero.isSignBitSet() && !One.isNullValue(); } in isStrictlyPositive() function
252 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion()262 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion()356 return !isUpperSignWrapped() && !Upper.isStrictlyPositive(); in isAllNegative()1406 if (Upper.isStrictlyPositive() || !Lower.isStrictlyPositive()) in abs()
61 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function
390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function395 bool isNonPositive() const { return !isStrictlyPositive(); } in isNonPositive()
402 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
337 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive() function
2938 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap()2953 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
260 return CI->getValue().isStrictlyPositive(); in isKnownPositive()2506 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()2526 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()
1672 if (C0->isStrictlyPositive()) { in simplifyAndOfICmpsWithAdd()1745 if (C0->isStrictlyPositive()) { in simplifyOrOfICmpsWithAdd()2834 if (RHSC->getValue().isStrictlyPositive()) { in simplifyICmpWithBinOp()
1545 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
7659 return ShiftAmt->getValue().isStrictlyPositive(); in computeShiftCompareExitLimit()9158 return getSignedRangeMin(S).isStrictlyPositive(); in isKnownPositive()9166 return !getSignedRangeMax(S).isStrictlyPositive(); in isKnownNonPositive()9449 !C.isStrictlyPositive()) in isKnownPredicateViaNoOverflow()9459 C.isStrictlyPositive()) in isKnownPredicateViaNoOverflow()
2393 } else if (C2->isStrictlyPositive()) { // Divisor is > 0. in foldICmpDivConstant()2398 } else if (C.isStrictlyPositive()) { // (X / pos) op pos in foldICmpDivConstant()2423 } else if (C.isStrictlyPositive()) { // (X / neg) op pos in foldICmpDivConstant()
379 bool isValue(const APInt &C) { return C.isStrictlyPositive(); } in isValue()
4485 bool LHSPositive = LHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode()4488 bool RHSPositive = RHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode()
4744 } else if (Divisor.isStrictlyPositive() && magics.m.isNegative()) { in BuildSDIV()4747 } else if (Divisor.isNegative() && magics.m.isStrictlyPositive()) { in BuildSDIV()
2163 if (!C->getValue().isStrictlyPositive()) continue; in OptimizeShadowIV()