/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | KnownBits.cpp | 55 if (LHS.isNonNegative() && RHS.isNonNegative()) in computeForAddSub()
|
D | APInt.cpp | 1887 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/ |
D | KnownBits.h | 99 bool isNonNegative() const { return Zero.isSignBitSet(); } in isNonNegative() function 158 if (isNonNegative()) in countMinSignBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 246 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 …]
|
D | InstructionSimplify.cpp | 2428 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/ |
D | APInt.cpp | 2057 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/ |
D | APInt.cpp | 2011 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/ |
D | APInt.cpp | 1985 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/ |
D | BoundsChecking.cpp | 101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 325 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/ |
D | APInt.h | 301 bool isNonNegative() const { in isNonNegative() function 310 return isNonNegative() && !!*this; in isStrictlyPositive()
|
/external/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 392 if (InputKnown.isNonNegative() || in SimplifyDemandedUseBits() 602 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits() 620 if (LHSKnown.isNonNegative()) in SimplifyDemandedUseBits()
|
D | InstCombineLoadStoreAlloca.cpp | 923 if (Known.isNonNegative()) in canReplaceGEPIdxWithZero()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 368 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/ |
D | ConstantRange.cpp | 844 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply() 1043 if (getSignedMin().isNonNegative()) { in ashr()
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 55 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256) in getIntImmCodeSizeCost()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 519 if (I.isExact() && RHS->getValue().isNonNegative() && in visitSDiv()
|
D | InstCombineSimplifyDemanded.cpp | 719 if (DemandedMask.isNegative() && KnownZero.isNonNegative()) { in SimplifyDemandedUseBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 93 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256) in getIntImmCodeSizeCost()
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 720 if (!UR.isWrappedSet() && UR.getLower().isNonNegative()) in multiply()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1525 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers() 1649 !NarrowDefRHS->isNonNegative()) in calculatePostIncRange()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 710 if (DemandedMask.isNegative() && KnownZero.isNonNegative()) { in SimplifyDemandedUseBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2744 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/ |
D | LoopUtils.cpp | 139 if (!Bits.isNonNegative()) { in computeRecurrenceType()
|