| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 311 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion() 321 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion() 418 return !isUpperSignWrapped() && !Upper.isStrictlyPositive(); in isAllNegative() 1676 if (Upper.isStrictlyPositive() || !Lower.isStrictlyPositive()) in abs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 105 bool isStrictlyPositive() const { in isStrictlyPositive() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 62 bool isStrictlyPositive() const { return isNonNegative() && !isZero(); } in isStrictlyPositive() function
|
| H A D | APInt.h | 334 bool isStrictlyPositive() const { return isNonNegative() && !isZero(); } in isStrictlyPositive() function 339 bool isNonPositive() const { return !isStrictlyPositive(); } in isNonPositive()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ImplicitNullChecks.cpp | 426 assert(MultiplierC.isStrictlyPositive() && in isSuitableMemoryOp()
|
| H A D | SwitchLoweringUtils.cpp | 407 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 833 } else if (LHS.isStrictlyPositive() && RHS.isNegative()) { in sdiv()
|
| H A D | APInt.cpp | 2861 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap() 2876 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StackSafetyAnalysis.cpp | 334 if (!Sizes.getUpper().isStrictlyPositive() || isUnsafe(Sizes)) in getMemIntrinsicAccessRange()
|
| H A D | ValueTracking.cpp | 294 return CI->getValue().isStrictlyPositive(); in isKnownPositive() 2710 : K.isStrictlyPositive(); in isKnownNonZeroFromOperator() 3111 ((StartOffset.sge(OffsetB) && StepOffset.isStrictlyPositive()) || in isNonEqualPointersWithRecursiveGEP() 3325 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl() 3347 if (Denominator->isStrictlyPositive()) { in ComputeNumSignBitsImpl()
|
| H A D | InstructionSimplify.cpp | 1709 if (C0->isStrictlyPositive()) { in simplifyAndOfICmpsWithAdd() 1800 if (C0->isStrictlyPositive()) { in simplifyOrOfICmpsWithAdd() 3350 if (C->isStrictlyPositive()) { in simplifyICmpWithBinOp()
|
| H A D | LoopAccessAnalysis.cpp | 2068 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
|
| H A D | ScalarEvolution.cpp | 9295 return ShiftAmt->getValue().isStrictlyPositive(); in computeShiftCompareExitLimit() 10774 return getSignedRangeMin(S).isStrictlyPositive(); in isKnownPositive() 10782 return !getSignedRangeMax(S).isStrictlyPositive(); in isKnownNonPositive()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 2554 !C.isStrictlyPositive())) in foldICmpSRemConstant() 2699 } else if (C2->isStrictlyPositive()) { // Divisor is > 0. in foldICmpDivConstant() 2704 } else if (C.isStrictlyPositive()) { // (X / pos) op pos in foldICmpDivConstant() 2729 } else if (C.isStrictlyPositive()) { // (X / neg) op pos in foldICmpDivConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 499 bool isValue(const APInt &C) { return C.isStrictlyPositive(); } in isValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2383 assert(Offset.second.isStrictlyPositive() && in getSalvageOpsForGEP()
|
| H A D | SimplifyCFG.cpp | 6234 Dist.isStrictlyPositive() ? Val.sle(PrevVal) : Val.sgt(PrevVal); in SwitchLookupTable()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 8636 (TestIsStrictOp && LRes.isStrictlyPositive())); in calculateNumIters() 16673 (StrictlyPositive && Result->isStrictlyPositive()))) { in isNonNegativeIntegerValue() 16751 if ((StrictlyPositive && !Result.isStrictlyPositive()) || in VerifyPositiveIntegerConstantInClause() 17524 if (Result->isSigned() && !Result->isStrictlyPositive()) { in ActOnOpenMPScheduleClause() 20400 if (!Result->isNegative() && !Result->isStrictlyPositive()) in ActOnOpenMPLinearClause() 23130 if (Result->isSigned() && !Result->isStrictlyPositive()) { in ActOnOpenMPDistScheduleClause()
|
| H A D | SemaExpr.cpp | 3915 bool ValueIsPositive = ValueAPS.isStrictlyPositive(); in CheckLoopHintExpr() 5508 if (!StrideValue.isStrictlyPositive()) { in ActOnOMPArraySectionExpr() 5586 if (!Value.isStrictlyPositive()) { in ActOnOMPArrayShapingExpr()
|
| H A D | SemaDeclAttr.cpp | 674 if (!ArgValue.isStrictlyPositive() || ParamIdxFromOne > NumParams) { in checkAttrArgsAreCapabilityObjs()
|
| H A D | SemaChecking.cpp | 9815 if (Result.isStrictlyPositive() && (Result & (Result - 1)) == 0) in SemaBuiltinConstantArgPower2()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 5633 bool LHSPositive = LHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode() 5636 bool RHSPositive = RHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 2218 if (!C->getValue().isStrictlyPositive()) continue; in OptimizeShadowIV()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 6204 } else if (Divisor.isStrictlyPositive() && magics.Magic.isNegative()) { in BuildSDIV() 6207 } else if (Divisor.isNegative() && magics.Magic.isStrictlyPositive()) { in BuildSDIV()
|