Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp311 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 DKnownBits.h105 bool isStrictlyPositive() const { in isStrictlyPositive() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h62 bool isStrictlyPositive() const { return isNonNegative() && !isZero(); } in isStrictlyPositive() function
H A DAPInt.h334 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 DImplicitNullChecks.cpp426 assert(MultiplierC.isStrictlyPositive() && in isSuitableMemoryOp()
H A DSwitchLoweringUtils.cpp407 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp833 } else if (LHS.isStrictlyPositive() && RHS.isNegative()) { in sdiv()
H A DAPInt.cpp2861 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap()
2876 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp334 if (!Sizes.getUpper().isStrictlyPositive() || isUnsafe(Sizes)) in getMemIntrinsicAccessRange()
H A DValueTracking.cpp294 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 DInstructionSimplify.cpp1709 if (C0->isStrictlyPositive()) { in simplifyAndOfICmpsWithAdd()
1800 if (C0->isStrictlyPositive()) { in simplifyOrOfICmpsWithAdd()
3350 if (C->isStrictlyPositive()) { in simplifyICmpWithBinOp()
H A DLoopAccessAnalysis.cpp2068 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
H A DScalarEvolution.cpp9295 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 DInstCombineCompares.cpp2554 !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 DPatternMatch.h499 bool isValue(const APInt &C) { return C.isStrictlyPositive(); } in isValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2383 assert(Offset.second.isStrictlyPositive() && in getSalvageOpsForGEP()
H A DSimplifyCFG.cpp6234 Dist.isStrictlyPositive() ? Val.sle(PrevVal) : Val.sgt(PrevVal); in SwitchLookupTable()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp8636 (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 DSemaExpr.cpp3915 bool ValueIsPositive = ValueAPS.isStrictlyPositive(); in CheckLoopHintExpr()
5508 if (!StrideValue.isStrictlyPositive()) { in ActOnOMPArraySectionExpr()
5586 if (!Value.isStrictlyPositive()) { in ActOnOMPArrayShapingExpr()
H A DSemaDeclAttr.cpp674 if (!ArgValue.isStrictlyPositive() || ParamIdxFromOne > NumParams) { in checkAttrArgsAreCapabilityObjs()
H A DSemaChecking.cpp9815 if (Result.isStrictlyPositive() && (Result & (Result - 1)) == 0) in SemaBuiltinConstantArgPower2()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp5633 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 DLoopStrengthReduce.cpp2218 if (!C->getValue().isStrictlyPositive()) continue; in OptimizeShadowIV()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6204 } else if (Divisor.isStrictlyPositive() && magics.Magic.isNegative()) { in BuildSDIV()
6207 } else if (Divisor.isNegative() && magics.Magic.isStrictlyPositive()) { in BuildSDIV()