Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantRange.cpp221 if (SignedMax.isStrictlyPositive()) in makeGuaranteedNoWrapRegion()
246 if (SignedMax.isStrictlyPositive()) in makeGuaranteedNoWrapRegion()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPInt.h391 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPInt.cpp2810 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap()
2825 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp260 return CI->getValue().isStrictlyPositive(); in isKnownPositive()
2338 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()
2358 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()
H A DInstructionSimplify.cpp1580 if (C0->isStrictlyPositive()) { in simplifyAndOfICmpsWithAdd()
1653 if (C0->isStrictlyPositive()) { in simplifyOrOfICmpsWithAdd()
2882 if (RHSC->getValue().isStrictlyPositive()) { in simplifyICmpWithBinOp()
H A DLoopAccessAnalysis.cpp1533 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
H A DScalarEvolution.cpp7537 return ShiftAmt->getValue().isStrictlyPositive(); in computeShiftCompareExitLimit()
9016 return getSignedRangeMin(S).isStrictlyPositive(); in isKnownPositive()
9024 return !getSignedRangeMax(S).isStrictlyPositive(); in isKnownNonPositive()
9307 !C.isStrictlyPositive()) in isKnownPredicateViaNoOverflow()
9317 C.isStrictlyPositive()) in isKnownPredicateViaNoOverflow()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2210 } else if (C2->isStrictlyPositive()) { // Divisor is > 0. in foldICmpDivConstant()
2215 } else if (C.isStrictlyPositive()) { // (X / pos) op pos in foldICmpDivConstant()
2240 } else if (C.isStrictlyPositive()) { // (X / neg) op pos in foldICmpDivConstant()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOpenMP.cpp8940 (StrictlyPositive && Result.isStrictlyPositive()))) { in isNonNegativeIntegerValue()
8989 if ((StrictlyPositive && !Result.isStrictlyPositive()) || in VerifyPositiveIntegerConstantInClause()
9417 if (Result.isSigned() && !Result.isStrictlyPositive()) { in ActOnOpenMPScheduleClause()
11685 if (IsConstant && !Result.isNegative() && !Result.isStrictlyPositive()) in ActOnOpenMPLinearClause()
13537 if (Result.isSigned() && !Result.isStrictlyPositive()) { in ActOnOpenMPDistScheduleClause()
H A DSemaDeclAttr.cpp719 if (!ArgValue.isStrictlyPositive() || ParamIdxFromOne > NumParams) { in checkAttrArgsAreCapabilityObjs()
H A DSemaChecking.cpp12424 if (!size.isStrictlyPositive()) in CheckArrayAccess()
H A DSemaExpr.cpp3253 bool ValueIsPositive = ValueAPS.isStrictlyPositive(); in CheckLoopHintExpr()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3801 } else if (Divisor.isStrictlyPositive() && magics.m.isNegative()) { in BuildSDIV()
3804 } else if (Divisor.isNegative() && magics.m.isStrictlyPositive()) { in BuildSDIV()
H A DSelectionDAGBuilder.cpp9720 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2135 if (!C->getValue().isStrictlyPositive()) continue; in OptimizeShadowIV()