Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DKnownBits.cpp55 if (LHS.isNonNegative() && RHS.isNonNegative()) in computeForAddSub()
DAPInt.cpp1887 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
1888 Res.isNonNegative() != isNonNegative(); in sadd_ov()
1900 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
1901 Res.isNonNegative() != isNonNegative(); in ssub_ov()
1942 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DKnownBits.h99 bool isNonNegative() const { return Zero.isSignBitSet(); } in isNonNegative() function
158 if (isNonNegative()) in countMinSignBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp246 return Known.isNonNegative(); in isKnownNonNegative()
330 bool isKnownNonNegativeOp1 = Known.isNonNegative(); in computeKnownBitsMul()
331 bool isKnownNonNegativeOp0 = Known2.isNonNegative(); in computeKnownBitsMul()
427 else if (isKnownNegative && !Known.isNonNegative()) in computeKnownBitsMul()
775 if (RHSKnown.isNonNegative()) { in computeKnownBitsFromAssume()
786 if (RHSKnown.isAllOnes() || RHSKnown.isNonNegative()) { in computeKnownBitsFromAssume()
1059 else if (Known.isNonNegative() || Known2.isNonNegative()) in computeKnownBitsFromOperator()
1063 if (Known.isNonNegative() && Known2.isNonNegative()) in computeKnownBitsFromOperator()
1229 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBitsFromOperator()
1246 if (Known2.isNonNegative()) in computeKnownBitsFromOperator()
[all …]
DInstructionSimplify.cpp2428 if (LHSKnown.isNonNegative()) in simplifyICmpWithZero()
2436 if (LHSKnown.isNonNegative() && in simplifyICmpWithZero()
2445 if (LHSKnown.isNonNegative()) in simplifyICmpWithZero()
2453 if (LHSKnown.isNonNegative() && in simplifyICmpWithZero()
2757 if (RHSKnown.isNonNegative() && YKnown.isNegative()) in simplifyICmpWithBinOp()
2759 if (RHSKnown.isNegative() || YKnown.isNonNegative()) in simplifyICmpWithBinOp()
2773 if (LHSKnown.isNonNegative() && YKnown.isNegative()) in simplifyICmpWithBinOp()
2775 if (LHSKnown.isNegative() || YKnown.isNonNegative()) in simplifyICmpWithBinOp()
2809 if (RHSC->getValue().isNonNegative()) { in simplifyICmpWithBinOp()
2826 if (!Known.isNonNegative()) in simplifyICmpWithBinOp()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp2057 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
2058 Res.isNonNegative() != isNonNegative(); in sadd_ov()
2070 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
2071 Res.isNonNegative() != isNonNegative(); in ssub_ov()
2112 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
/external/llvm/lib/Support/
DAPInt.cpp2011 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
2012 Res.isNonNegative() != isNonNegative(); in sadd_ov()
2024 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
2025 Res.isNonNegative() != isNonNegative(); in ssub_ov()
2066 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1985 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
1986 Res.isNonNegative() != isNonNegative(); in sadd_ov()
1998 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
1999 Res.isNonNegative() != isNonNegative(); in ssub_ov()
2040 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
/external/llvm/include/llvm/ADT/
DAPInt.h325 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function
333 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h301 bool isNonNegative() const { in isNonNegative() function
310 return isNonNegative() && !!*this; in isStrictlyPositive()
/external/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp392 if (InputKnown.isNonNegative() || in SimplifyDemandedUseBits()
602 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
620 if (LHSKnown.isNonNegative()) in SimplifyDemandedUseBits()
DInstCombineLoadStoreAlloca.cpp923 if (Known.isNonNegative()) in canReplaceGEPIdxWithZero()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h368 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function
390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp844 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
1043 if (getSignedMin().isNonNegative()) { in ashr()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp55 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256) in getIntImmCodeSizeCost()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp519 if (I.isExact() && RHS->getValue().isNonNegative() && in visitSDiv()
DInstCombineSimplifyDemanded.cpp719 if (DemandedMask.isNegative() && KnownZero.isNonNegative()) { in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp93 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256) in getIntImmCodeSizeCost()
/external/llvm/lib/IR/
DConstantRange.cpp720 if (!UR.isWrappedSet() && UR.getLower().isNonNegative()) in multiply()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1525 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers()
1649 !NarrowDefRHS->isNonNegative()) in calculatePostIncRange()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp710 if (DemandedMask.isNegative() && KnownZero.isNonNegative()) { in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2744 if (CLHS->getAPIntValue().isNonNegative()) { in computeKnownBits()
2960 if (Known2.isNonNegative()) { in computeKnownBits()
3028 if (ValueLow.isNonNegative() && ValueHigh.isNonNegative()) { in computeKnownBits()
3409 if (Known.isNonNegative()) in ComputeNumSignBits()
3433 if (Known.isNonNegative()) in ComputeNumSignBits()
3594 if (Known.isNonNegative()) { // sign bit is 0 in ComputeNumSignBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp139 if (!Bits.isNonNegative()) { in computeRecurrenceType()

123