Home
last modified time | relevance | path

Searched refs:isStrictlyPositive (Results 1 – 21 of 21) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstantRange.cpp311 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion()
321 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion()
414 return !isUpperSignWrapped() && !Upper.isStrictlyPositive(); in isAllNegative()
1635 if (Upper.isStrictlyPositive() || !Lower.isStrictlyPositive()) in abs()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DKnownBits.h105 bool isStrictlyPositive() const { in isStrictlyPositive() function
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DAPSInt.h62 bool isStrictlyPositive() const { return isNonNegative() && !isZero(); } in isStrictlyPositive() function
H A DAPInt.h339 bool isStrictlyPositive() const { return isNonNegative() && !isZero(); } in isStrictlyPositive() function
344 bool isNonPositive() const { return !isStrictlyPositive(); } in isNonPositive()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DImplicitNullChecks.cpp426 assert(MultiplierC.isStrictlyPositive() && in isSuitableMemoryOp()
H A DSwitchLoweringUtils.cpp405 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
/openbsd/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp2842 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap()
2857 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2387 !C.isStrictlyPositive())) in foldICmpSRemConstant()
2532 } else if (C2->isStrictlyPositive()) { // Divisor is > 0. in foldICmpDivConstant()
2537 } else if (C.isStrictlyPositive()) { // (X / pos) op pos in foldICmpDivConstant()
2562 } else if (C.isStrictlyPositive()) { // (X / neg) op pos in foldICmpDivConstant()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1936 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
H A DInstructionSimplify.cpp1751 if (C0->isStrictlyPositive()) { in simplifyAndOfICmpsWithAdd()
1908 if (C0->isStrictlyPositive()) { in simplifyOrOfICmpsWithAdd()
3348 if (C->isStrictlyPositive()) { in simplifyICmpWithBinOp()
H A DValueTracking.cpp333 return CI->getValue().isStrictlyPositive(); in isKnownPositive()
3132 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()
3154 if (Denominator->isStrictlyPositive()) { in ComputeNumSignBitsImpl()
H A DScalarEvolution.cpp9315 return ShiftAmt->getValue().isStrictlyPositive(); in computeShiftCompareExitLimit()
10826 return getSignedRangeMin(S).isStrictlyPositive(); in isKnownPositive()
10834 return !getSignedRangeMax(S).isStrictlyPositive(); in isKnownNonPositive()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DPatternMatch.h491 bool isValue(const APInt &C) { return C.isStrictlyPositive(); } in isValue()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLocal.cpp1939 assert(Offset.second.isStrictlyPositive() && in getSalvageOpsForGEP()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4665 bool LHSPositive = LHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode()
4668 bool RHSPositive = RHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp8484 (TestIsStrictOp && LRes.isStrictlyPositive())); in calculateNumIters()
16375 (StrictlyPositive && Result->isStrictlyPositive()))) { in isNonNegativeIntegerValue()
16453 if ((StrictlyPositive && !Result.isStrictlyPositive()) || in VerifyPositiveIntegerConstantInClause()
17221 if (Result->isSigned() && !Result->isStrictlyPositive()) { in ActOnOpenMPScheduleClause()
20035 if (!Result->isNegative() && !Result->isStrictlyPositive()) in ActOnOpenMPLinearClause()
22715 if (Result->isSigned() && !Result->isStrictlyPositive()) { in ActOnOpenMPDistScheduleClause()
H A DSemaExpr.cpp3738 bool ValueIsPositive = ValueAPS.isStrictlyPositive(); in CheckLoopHintExpr()
5259 if (!StrideValue.isStrictlyPositive()) { in ActOnOMPArraySectionExpr()
5337 if (!Value.isStrictlyPositive()) { in ActOnOMPArrayShapingExpr()
H A DSemaDeclAttr.cpp660 if (!ArgValue.isStrictlyPositive() || ParamIdxFromOne > NumParams) { in checkAttrArgsAreCapabilityObjs()
H A DSemaChecking.cpp8063 if (Result.isStrictlyPositive() && (Result & (Result - 1)) == 0) in SemaBuiltinConstantArgPower2()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2218 if (!C->getValue().isStrictlyPositive()) continue; in OptimizeShadowIV()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5906 } else if (Divisor.isStrictlyPositive() && magics.Magic.isNegative()) { in BuildSDIV()
5909 } else if (Divisor.isNegative() && magics.Magic.isStrictlyPositive()) { in BuildSDIV()