Home
last modified time | relevance | path

Searched refs:isStrictlyPositive (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/llvm/unittests/ADT/
DAPSIntTest.cpp197 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 …]
DAPIntTest.cpp2914 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/
DKnownBits.h101 bool isStrictlyPositive() const { return Zero.isSignBitSet() && !One.isNullValue(); } in isStrictlyPositive() function
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp253 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/
DConstantRange.cpp252 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/
DKnownBits.h104 bool isStrictlyPositive() const { return Zero.isSignBitSet() && !One.isNullValue(); } in isStrictlyPositive() function
/external/llvm-project/llvm/include/llvm/ADT/
DAPSInt.h61 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function
DAPInt.h391 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); }
396 bool isNonPositive() const { return !isStrictlyPositive(); }
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h61 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function
DAPInt.h390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() function
395 bool isNonPositive() const { return !isStrictlyPositive(); } in isNonPositive()
/external/llvm-project/llvm/lib/CodeGen/
DImplicitNullChecks.cpp429 assert(MultiplierC.isStrictlyPositive() && in isSuitableMemoryOp()
DSwitchLoweringUtils.cpp405 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSwitchLoweringUtils.cpp402 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
/external/llvm/include/llvm/ADT/
DAPInt.h333 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive() function
/external/llvm/lib/IR/
DConstantRange.cpp212 if (SignedMax.isStrictlyPositive()) in makeGuaranteedNoWrapRegion()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h337 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive() function
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1652 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()
DValueTracking.cpp190 return CI->getValue().isStrictlyPositive(); in isKnownPositive()
1983 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits()
2003 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits()
DInstructionSimplify.cpp1535 if (CI1V.isStrictlyPositive()) { in SimplifyAndOfICmps()
1709 if (CI1V.isStrictlyPositive()) { in SimplifyOrOfICmps()
2743 if (RHSC->getValue().isStrictlyPositive()) { in SimplifyICmpInst()
DLoopAccessAnalysis.cpp1276 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp2938 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap()
2953 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
/external/llvm-project/llvm/lib/Support/
DAPInt.cpp2937 assert(A.isStrictlyPositive()); in SolveQuadraticEquationWrap()
2952 if (C.isStrictlyPositive()) in SolveQuadraticEquationWrap()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1250 } 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/
DLoopAccessAnalysis.cpp1571 assert(Val.isStrictlyPositive() && "Expect a positive value"); in isDependent()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp260 return CI->getValue().isStrictlyPositive(); in isKnownPositive()
2506 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()
2526 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl()

123