| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 55 if (LHS.isNonNegative() && RHS.isNonNegative()) in computeForAddSub()
|
| H A D | APInt.cpp | 1877 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov() 1878 Res.isNonNegative() != isNonNegative(); in sadd_ov() 1890 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov() 1891 Res.isNonNegative() != isNonNegative(); in ssub_ov() 1932 if (isNonNegative()) // Don't allow sign change. in sshl_ov() 2819 if (B.isNonNegative()) { in SolveQuadraticEquationWrap() 2867 assert(D.isNonNegative() && "Negative discriminant"); in SolveQuadraticEquationWrap() 2894 assert(X.isNonNegative() && "Solution should be non-negative"); in SolveQuadraticEquationWrap()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 99 bool isNonNegative() const { return Zero.isSignBitSet(); } in isNonNegative() function 158 if (isNonNegative()) in countMinSignBits()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 253 return Known.isNonNegative(); in isKnownNonNegative() 1069 else if (Known.isNonNegative() || Known2.isNonNegative()) in computeKnownBitsFromOperator() 1073 if (Known.isNonNegative() && Known2.isNonNegative()) in computeKnownBitsFromOperator() 1256 if (Known2.isNonNegative()) in computeKnownBitsFromOperator() 1393 if (Known2.isNonNegative() && Known3.isNonNegative()) in computeKnownBitsFromOperator() 2105 if (XKnown.isNonNegative() && YKnown.isNonNegative()) in isKnownNonZero() 4013 if (LHSKnown.isNonNegative() || RHSKnown.isNonNegative()) in computeOverflowForSignedMul() 4034 if (LHSKnown.isNonNegative() && RHSKnown.isNonNegative()) { in computeOverflowForUnsignedAdd() 4059 if (LHSKnown.isNonNegative() || RHSKnown.isNonNegative()) { in checkRippleForSignedAdd() 4132 (LHSKnown.isNonNegative() || RHSKnown.isNonNegative()); in computeOverflowForSignedAdd() [all …]
|
| H A D | InstructionSimplify.cpp | 2440 if (LHSKnown.isNonNegative()) in simplifyICmpWithZero() 2448 if (LHSKnown.isNonNegative() && in simplifyICmpWithZero() 2457 if (LHSKnown.isNonNegative()) in simplifyICmpWithZero() 2465 if (LHSKnown.isNonNegative() && in simplifyICmpWithZero() 2840 if (RHSKnown.isNonNegative() && YKnown.isNegative()) in simplifyICmpWithBinOp() 2842 if (RHSKnown.isNegative() || YKnown.isNonNegative()) in simplifyICmpWithBinOp() 2892 if (RHSC->getValue().isNonNegative()) { in simplifyICmpWithBinOp() 2909 if (!Known.isNonNegative()) in simplifyICmpWithBinOp() 2920 if (!Known.isNonNegative()) in simplifyICmpWithBinOp() 2939 if (!Known.isNonNegative()) in simplifyICmpWithBinOp() [all …]
|
| H A D | IVDescriptors.cpp | 139 if (!Bits.isNonNegative()) { in computeRecurrenceType()
|
| H A D | BasicAliasAnalysis.cpp | 1445 bool SignKnownZero = Known.isNonNegative(); in aliasGEP()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 414 if (InputKnown.isNonNegative() || in SimplifyDemandedUseBits() 624 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits() 642 if (LHSKnown.isNonNegative()) in SimplifyDemandedUseBits()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 924 if (Known.isNonNegative()) in canReplaceGEPIdxWithZero()
|
| H A D | InstCombineMulDivRem.cpp | 983 if (I.isExact() && Op1C->isNonNegative() && Op1C->isPowerOf2()) { in visitSDiv()
|
| H A D | InstCombineCalls.cpp | 2110 else if (Val->isNonNegative() == Val2->isNonNegative()) { in visitCallInst()
|
| H A D | InstCombineCasts.cpp | 1376 if (Known.isNonNegative()) { in visitSExt()
|
| H A D | InstructionCombining.cpp | 2159 BasePtrOffset.isNonNegative()) { in visitGetElementPtrInst()
|
| H A D | InstCombineAndOrXor.cpp | 797 if (!Known.isNonNegative()) in simplifyRangeCheck()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 844 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply() 1043 if (getSignedMin().isNonNegative()) { in ashr()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 369 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function 391 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 93 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256) in getIntImmCodeSizeCost()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | IndVarSimplify.cpp | 1659 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers() 1783 !NarrowDefRHS->isNonNegative()) in calculatePostIncRange()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2885 if (CLHS->getAPIntValue().isNonNegative()) { in computeKnownBits() 3100 if (Known2.isNonNegative()) { in computeKnownBits() 3167 if (ValueLow.isNonNegative() && ValueHigh.isNonNegative()) { in computeKnownBits() 3565 if (Known.isNonNegative()) in ComputeNumSignBits() 3588 if (Known.isNonNegative()) in ComputeNumSignBits() 3782 if (Known.isNonNegative()) { // sign bit is 0 in ComputeNumSignBits()
|
| H A D | TargetLowering.cpp | 1144 if (Known.isNonNegative()) in SimplifyDemandedBits() 2454 return DAG.getConstant(C1.isNonNegative(), dl, VT); in SimplifySetCC()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 339 bool isValue(const APInt &C) { return C.isNonNegative(); } in isValue()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 837 assert(ExtentInt.isNonNegative() || ExtentInt.isUnsigned()); in collectSubRegionBindings()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 564 if ((Known.Zero.isNonNegative() && Known.Zero.ule(NullTermIdx)) || in optimizeStringLength()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 4323 bool LHSPositive = LHSKnown.isNonNegative(); in computeKnownBitsForTargetNode() 4325 bool RHSPositive = RHSKnown.isNonNegative(); in computeKnownBitsForTargetNode()
|