Home
last modified time | relevance | path

Searched refs:isNonNegative (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DKnownBits.cpp69 if (!KnownOut.isNegative() && !KnownOut.isNonNegative()) { in computeForAddSub()
73 if (LHS.isNonNegative() && RHS.isNonNegative()) in computeForAddSub()
DAPInt.cpp1958 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/
DConstantRange.cpp66 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/
DKnownBits.h98 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/
DValueTracking.cpp253 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 …]
DInstructionSimplify.cpp2629 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 …]
DIVDescriptors.cpp137 if (!Bits.isNonNegative()) { in computeRecurrenceType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h53 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function
61 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive()
DAPInt.h368 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function
390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive()
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dsliver_padding.dart35 assert(padding.isNonNegative),
47 assert(_resolvedPadding.isNonNegative);
63 assert(padding.isNonNegative);
Dshifted_box.dart107 assert(padding.isNonNegative),
118 assert(_resolvedPadding.isNonNegative);
134 assert(value.isNonNegative);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1970 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/
DBoundsChecking.cpp101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dink_decoration.dart129 }) : assert(padding == null || padding.isNonNegative),
167 }) : assert(padding == null || padding.isNonNegative),
/third_party/flutter/flutter/packages/flutter/test/scheduler/
Dscheduler_test.dart146 expect(event['number'], isNonNegative);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h329 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function
337 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dcontainer.dart313 }) : assert(margin == null || margin.isNonNegative),
314 assert(padding == null || padding.isNonNegative),
Dscrollbar.dart68 assert(padding.isNonNegative),
Dimplicit_animations.dart625 }) : assert(margin == null || margin.isNonNegative),
626 assert(padding == null || padding.isNonNegative),
782 assert(padding.isNonNegative),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp442 if (InputKnown.isNonNegative() || in SimplifyDemandedUseBits()
652 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
670 if (LHSKnown.isNonNegative()) in SimplifyDemandedUseBits()
DInstCombineLoadStoreAlloca.cpp891 if (Known.isNonNegative()) in canReplaceGEPIdxWithZero()
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dedge_insets.dart38 bool get isNonNegative {
684 bool get isNonNegative => start >= 0.0 && top >= 0.0 && end >= 0.0 && bottom >= 0.0;
841 bool get isNonNegative {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1710 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/
DARMTargetTransformInfo.cpp106 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256) in getIntImmCodeSizeCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3196 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()

12