/external/llvm-project/llvm/unittests/ADT/ |
D | APSIntTest.cpp | 197 EXPECT_FALSE(False.isStrictlyPositive()); in TEST() 201 EXPECT_FALSE(True.isStrictlyPositive()); in TEST() 205 EXPECT_FALSE(CharMin.isStrictlyPositive()); in TEST() 209 EXPECT_TRUE(CharSmall.isStrictlyPositive()); in TEST() 213 EXPECT_TRUE(CharBoundaryUnder.isStrictlyPositive()); in TEST() 217 EXPECT_FALSE(CharBoundaryOver.isStrictlyPositive()); in TEST() 221 EXPECT_FALSE(CharLarge.isStrictlyPositive()); in TEST() 225 EXPECT_FALSE(CharMax.isStrictlyPositive()); in TEST() 240 EXPECT_FALSE(False.isStrictlyPositive()); in TEST() 244 EXPECT_TRUE(True.isStrictlyPositive()); in TEST() [all …]
|
D | APIntTest.cpp | 2914 EXPECT_FALSE(APInt(8, -1).isStrictlyPositive()); in TEST() 2919 EXPECT_FALSE(APInt(8, 0).isStrictlyPositive()); in TEST() 2924 EXPECT_TRUE(APInt(8, 1).isStrictlyPositive()); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 101 bool isStrictlyPositive() const { return Zero.isSignBitSet() && !One.isNullValue(); } in isStrictlyPositive() function
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 253 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion() 263 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion() 357 return !isUpperSignWrapped() && !Upper.isStrictlyPositive(); in isAllNegative() 1508 if (Upper.isStrictlyPositive() || !Lower.isStrictlyPositive()) in abs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 252 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion() 262 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion() 356 return !isUpperSignWrapped() && !Upper.isStrictlyPositive(); in isAllNegative() 1406 if (Upper.isStrictlyPositive() || !Lower.isStrictlyPositive()) in abs()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | KnownBits.h | 104 bool isStrictlyPositive() const { return Zero.isSignBitSet() && !One.isNullValue(); } in isStrictlyPositive() function
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APSInt.h | 61 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function
|
D | APInt.h | 391 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } 396 bool isNonPositive() const { return !isStrictlyPositive(); }
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 61 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function
|
D | APInt.h | 390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function 395 bool isNonPositive() const { return !isStrictlyPositive(); } in isNonPositive()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 429 assert(MultiplierC.isStrictlyPositive() && in isSuitableMemoryOp()
|
D | SwitchLoweringUtils.cpp | 405 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SwitchLoweringUtils.cpp | 402 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 333 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive() function
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 212 if (SignedMax.isStrictlyPositive()) in makeGuaranteedNoWrapRegion()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 337 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive() function
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1652 if (C1.isStrictlyPositive() && C2.isStrictlyPositive() && in getSignExtendExpr() 1796 if (C1.isStrictlyPositive() && C2.isStrictlyPositive() && C2.ugt(C1) && in getSignExtendExpr() 6174 return ShiftAmt->getValue().isStrictlyPositive(); in computeShiftCompareExitLimit() 7560 return getSignedRange(S).getSignedMin().isStrictlyPositive(); in isKnownPositive() 7568 return !getSignedRange(S).getSignedMax().isStrictlyPositive(); in isKnownNonPositive() 7806 !C.isStrictlyPositive()) in isKnownPredicateViaNoOverflow() 7815 C.isStrictlyPositive()) in isKnownPredicateViaNoOverflow()
|
D | ValueTracking.cpp | 190 return CI->getValue().isStrictlyPositive(); in isKnownPositive() 1983 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits() 2003 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits()
|
D | InstructionSimplify.cpp | 1535 if (CI1V.isStrictlyPositive()) { in SimplifyAndOfICmps() 1709 if (CI1V.isStrictlyPositive()) { in SimplifyOrOfICmps() 2743 if (RHSC->getValue().isStrictlyPositive()) { in SimplifyICmpInst()
|
D | LoopAccessAnalysis.cpp | 1276 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APInt.cpp | 2938 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap() 2953 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
|
/external/llvm-project/llvm/lib/Support/ |
D | APInt.cpp | 2937 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap() 2952 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1250 } else if (DivRHS->getValue().isStrictlyPositive()) { // Divisor is > 0. in FoldICmpDivCst() 1255 } else if (CmpRHSV.isStrictlyPositive()) { // (X / pos) op pos in FoldICmpDivCst() 1280 } else if (CmpRHSV.isStrictlyPositive()) { // (X / neg) op pos in FoldICmpDivCst()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 1571 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 260 return CI->getValue().isStrictlyPositive(); in isKnownPositive() 2506 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl() 2526 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()
|