| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 351 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion() 361 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion() 475 return !isUpperSignWrapped() && !Upper.isStrictlyPositive(); in isAllNegative() 490 return !isSignWrappedSet() && Lower.isStrictlyPositive(); in isAllPositive() 1954 if (Upper.isStrictlyPositive() || !Lower.isStrictlyPositive()) in abs()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 63 bool isStrictlyPositive() const { return isNonNegative() && !isZero(); } in isStrictlyPositive() function
|
| H A D | APInt.h | 356 bool isStrictlyPositive() const { return isNonNegative() && !isZero(); } in isStrictlyPositive() function 361 bool isNonPositive() const { return !isStrictlyPositive(); } in isNonPositive()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 107 bool isStrictlyPositive() const { in isStrictlyPositive() function
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ImplicitNullChecks.cpp | 425 assert(MultiplierC.isStrictlyPositive() && in isSuitableMemoryOp()
|
| H A D | SwitchLoweringUtils.cpp | 408 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
|
| H A D | MachineVerifier.cpp | 1761 if (!MI->getOperand(1).getCImm()->getValue().isStrictlyPositive()) { in verifyPreISelGenericInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 986 } else if (LHS.isStrictlyPositive() && RHS.isNegative()) { in sdiv()
|
| H A D | APInt.cpp | 2884 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap() 2899 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StackSafetyAnalysis.cpp | 358 if (!Sizes.getUpper().isStrictlyPositive() || isUnsafe(Sizes)) in getMemIntrinsicAccessRange()
|
| H A D | ValueTracking.cpp | 287 return CI->getValue().isStrictlyPositive(); in isKnownPositive() 3819 ((StartOffset.sge(OffsetB) && StepOffset.isStrictlyPositive()) || in isNonEqualPointersWithRecursiveGEP() 4076 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl() 4099 if (Denominator->isStrictlyPositive()) { in ComputeNumSignBitsImpl()
|
| H A D | InstructionSimplify.cpp | 1675 if (C0->isStrictlyPositive()) { in simplifyAndOfICmpsWithAdd() 1766 if (C0->isStrictlyPositive()) { in simplifyOrOfICmpsWithAdd() 3339 if (C->isStrictlyPositive()) { in simplifyICmpWithBinOp()
|
| H A D | ScalarEvolution.cpp | 9411 return ShiftAmt->getValue().isStrictlyPositive(); in computeShiftCompareExitLimit() 10935 return getSignedRangeMin(S).isStrictlyPositive(); in isKnownPositive() 10943 return !getSignedRangeMax(S).isStrictlyPositive(); in isKnownNonPositive()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 2726 !C.isStrictlyPositive())) in foldICmpSRemConstant() 2871 } else if (C2->isStrictlyPositive()) { // Divisor is > 0. in foldICmpDivConstant() 2876 } else if (C.isStrictlyPositive()) { // (X / pos) op pos in foldICmpDivConstant() 2901 } else if (C.isStrictlyPositive()) { // (X / neg) op pos in foldICmpDivConstant() 5310 if (!C.isStrictlyPositive()) in foldICmpBinOp() 5462 if (ZKnown.isStrictlyPositive()) in foldICmpBinOp()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 8478 (TestIsStrictOp && LRes.isStrictlyPositive())); in calculateNumIters() 15890 (StrictlyPositive && Result->isStrictlyPositive()))) { in isNonNegativeIntegerValue() 16003 if ((StrictlyPositive && !Result.isStrictlyPositive()) || in VerifyPositiveIntegerConstantInClause() 16884 if (Result->isSigned() && !Result->isStrictlyPositive()) { in ActOnOpenMPScheduleClause() 19869 if (!Result->isNegative() && !Result->isStrictlyPositive()) in ActOnOpenMPLinearClause() 22872 if (Result->isSigned() && !Result->isStrictlyPositive()) { in ActOnOpenMPDistScheduleClause() 24395 if (!StrideValue.isStrictlyPositive()) { in ActOnOMPArraySectionExpr() 24473 if (!Value.isStrictlyPositive()) { in ActOnOMPArrayShapingExpr()
|
| H A D | SemaDeclAttr.cpp | 413 if (!ArgValue.isStrictlyPositive() || ParamIdxFromOne > NumParams) { in checkAttrArgsAreCapabilityObjs()
|
| H A D | SemaChecking.cpp | 5851 if (Result.isStrictlyPositive() && (Result & (Result - 1)) == 0) in BuiltinConstantArgPower2()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 566 bool isValue(const APInt &C) const { return C.isStrictlyPositive(); } in isValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2452 assert(Offset.second.isStrictlyPositive() && in getSalvageOpsForGEP()
|
| H A D | SimplifyCFG.cpp | 6508 Dist.isStrictlyPositive() ? Val.sle(PrevVal) : Val.sgt(PrevVal); in SwitchLookupTable()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 5913 bool LHSPositive = LHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode() 5916 bool RHSPositive = RHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 5656 } else if (Divisor.isStrictlyPositive() && Magics.Magic.isNegative()) { in buildSDivUsingMul() 5659 } else if (Divisor.isNegative() && Magics.Magic.isStrictlyPositive()) { in buildSDivUsingMul()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 2393 if (!C->getValue().isStrictlyPositive()) in OptimizeShadowIV()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 5961 if (Op1.isStrictlyPositive()) in isKnownNeverZero() 5965 if (Op0.isStrictlyPositive()) in isKnownNeverZero()
|
| H A D | TargetLowering.cpp | 6551 } else if (Divisor.isStrictlyPositive() && magics.Magic.isNegative()) { in BuildSDIV() 6554 } else if (Divisor.isNegative() && magics.Magic.isStrictlyPositive()) { in BuildSDIV()
|