/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | KnownBits.cpp | 69 if (!KnownOut.isNegative() && !KnownOut.isNonNegative()) { in computeForAddSub() 73 if (LHS.isNonNegative() && RHS.isNonNegative()) in computeForAddSub()
|
D | APInt.cpp | 1958 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov() 1959 Res.isNonNegative() != isNonNegative(); in sadd_ov() 1971 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov() 1972 Res.isNonNegative() != isNonNegative(); in ssub_ov() 2020 if (isNonNegative()) // Don't allow sign change. in sshl_ov() 2947 if (B.isNonNegative()) { in SolveQuadraticEquationWrap() 2995 assert(D.isNonNegative() && "Negative discriminant"); in SolveQuadraticEquationWrap() 3022 assert(X.isNonNegative() && "Solution should be non-negative"); in SolveQuadraticEquationWrap()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 66 if (!IsSigned || Known.isNegative() || Known.isNonNegative()) in fromKnownBits() 361 return !isSignWrappedSet() && Lower.isNonNegative(); in isAllNonNegative() 964 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply() 1167 if (MinLHS.isNonNegative()) { in srem() 1284 if (getSignedMin().isNonNegative()) { in ashr() 1386 APInt NewL = Min.sshl_sat(Min.isNonNegative() ? ShAmtMin : ShAmtMax); in sshl_sat() 1418 if (SMin.isNonNegative()) in abs() 1459 if (Min.isNonNegative() && OtherMin.isNonNegative() && in signedAddMayOverflow() 1466 if (Max.isNonNegative() && OtherMax.isNonNegative() && in signedAddMayOverflow() 1505 if (Min.isNonNegative() && OtherMax.isNegative() && in signedSubMayOverflow() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 98 bool isNonNegative() const { return Zero.isSignBitSet(); } in isNonNegative() function 183 if (isNonNegative()) in countMinSignBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 253 return Known.isNonNegative(); in isKnownNonNegative() 339 bool isKnownNonNegativeOp1 = Known.isNonNegative(); in computeKnownBitsMul() 340 bool isKnownNonNegativeOp0 = Known2.isNonNegative(); in computeKnownBitsMul() 436 else if (isKnownNegative && !Known.isNonNegative()) in computeKnownBitsMul() 849 if (RHSKnown.isNonNegative()) { in computeKnownBitsFromAssume() 862 if (RHSKnown.isAllOnes() || RHSKnown.isNonNegative()) { in computeKnownBitsFromAssume() 1146 else if (Known.isNonNegative() || Known2.isNonNegative()) in computeKnownBitsFromOperator() 1150 if (Known.isNonNegative() && Known2.isNonNegative()) in computeKnownBitsFromOperator() 1314 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBitsFromOperator() 1331 if (Known2.isNonNegative()) in computeKnownBitsFromOperator() [all …]
|
D | InstructionSimplify.cpp | 2629 if (LHSKnown.isNonNegative()) in simplifyICmpWithZero() 2637 if (LHSKnown.isNonNegative() && in simplifyICmpWithZero() 2646 if (LHSKnown.isNonNegative()) in simplifyICmpWithZero() 2654 if (LHSKnown.isNonNegative() && in simplifyICmpWithZero() 2792 if (RHSKnown.isNonNegative() && YKnown.isNegative()) in simplifyICmpWithBinOp() 2794 if (RHSKnown.isNegative() || YKnown.isNonNegative()) in simplifyICmpWithBinOp() 2808 if (LHSKnown.isNonNegative() && YKnown.isNegative()) in simplifyICmpWithBinOp() 2810 if (LHSKnown.isNegative() || YKnown.isNonNegative()) in simplifyICmpWithBinOp() 2844 if (RHSC->getValue().isNonNegative()) { in simplifyICmpWithBinOp() 2861 if (!Known.isNonNegative()) in simplifyICmpWithBinOp() [all …]
|
D | IVDescriptors.cpp | 137 if (!Bits.isNonNegative()) { in computeRecurrenceType()
|
D | BasicAliasAnalysis.cpp | 1487 bool SignKnownZero = Known.isNonNegative(); in aliasGEP()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 53 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function 61 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive()
|
D | APInt.h | 368 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function 390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 1970 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov() 1971 Res.isNonNegative() != isNonNegative(); in sadd_ov() 1983 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov() 1984 Res.isNonNegative() != isNonNegative(); in ssub_ov() 2025 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 329 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function 337 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 442 if (InputKnown.isNonNegative() || in SimplifyDemandedUseBits() 652 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits() 670 if (LHSKnown.isNonNegative()) in SimplifyDemandedUseBits()
|
D | InstCombineLoadStoreAlloca.cpp | 891 if (Known.isNonNegative()) in canReplaceGEPIdxWithZero()
|
D | InstCombineMulDivRem.cpp | 1075 if (I.isExact() && Op1C->isNonNegative() && Op1C->isPowerOf2()) { in visitSDiv()
|
D | InstCombineCalls.cpp | 2139 else if (Val->isNonNegative() == Val2->isNonNegative()) { in visitCallInst()
|
D | InstCombineCasts.cpp | 1378 if (Known.isNonNegative()) in visitSExt()
|
D | InstructionCombining.cpp | 2293 BasePtrOffset.isNonNegative()) { in visitGetElementPtrInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1710 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers() 1829 !NarrowDefRHS->isNonNegative()) in calculatePostIncRange()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 106 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256) in getIntImmCodeSizeCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3196 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBits() 3321 if (Known2.isNonNegative()) { in computeKnownBits() 3388 if (ValueLow.isNonNegative() && ValueHigh.isNonNegative()) { in computeKnownBits() 3791 if (Known.isNonNegative()) in ComputeNumSignBits() 3814 if (Known.isNonNegative()) in ComputeNumSignBits() 4049 if (Known.isNonNegative()) { // sign bit is 0 in ComputeNumSignBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 367 bool isValue(const APInt &C) { return C.isNonNegative(); } in isValue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 4484 bool LHSNonNegative = LHSKnown.isNonNegative(); in computeKnownBitsForTargetNode() 4487 bool RHSNonNegative = RHSKnown.isNonNegative(); in computeKnownBitsForTargetNode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 703 if ((Known.Zero.isNonNegative() && Known.Zero.ule(NullTermIdx)) || in optimizeStringLength()
|