Searched refs:getSignedMin (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 100 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion() 112 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion() 209 APInt SignedMin = Other.getSignedMin(); in makeGuaranteedNoWrapRegion() 303 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange 729 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply() 731 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply() 749 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax() 775 APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin()); in smin()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 96 APInt SMin(CR.getSignedMin()); in makeICmpRegion() 108 APInt SMin(CR.getSignedMin()); in makeICmpRegion() 199 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange 572 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantRange.h | 143 APInt getSignedMin() const;
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | ConstantRangeTest.cpp | 140 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F() 141 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F() 142 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F() 143 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 191 APInt getSignedMin() const;
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 144 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F() 145 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F() 146 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F() 147 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolution.cpp | 1012 getSignedRange(Step).getSignedMin()); in getZeroExtendExpr() 1053 SE->getSignedRange(Step).getSignedMin()); in getOverflowLimitForStep() 3521 APInt Min = APIntOps::smin(StartRange.getSignedMin(), in getSignedRange() 3522 EndRange.getSignedMin()); in getSignedRange() 5625 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands() 5633 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands() 5697 return getSignedRange(S).getSignedMin().isStrictlyPositive(); in isKnownPositive() 5701 return !getSignedRange(S).getSignedMin().isNegative(); in isKnownNonNegative() 5754 if (LHSRange.getSignedMax().slt(RHSRange.getSignedMin())) in isKnownPredicateWithRanges() 5756 if (LHSRange.getSignedMin().sge(RHSRange.getSignedMax())) in isKnownPredicateWithRanges() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1163 SE->getSignedRange(Step).getSignedMin()); in getSignedOverflowLimitForStep() 1554 getSignedRange(Step).getSignedMin()); in getZeroExtendExpr() 3482 !getSignedRange(RHS).getSignedMin().isMinSignedValue(); in getMinusSCEV() 4652 APIntOps::smin(StartSRange.getSignedMin(), EndSRange.getSignedMin()); in getRangeForAffineAR() 7485 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands() 7493 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands() 7560 return getSignedRange(S).getSignedMin().isStrictlyPositive(); in isKnownPositive() 7564 return !getSignedRange(S).getSignedMin().isNegative(); in isKnownNonNegative() 8170 getSignedRange(V).getSignedMin() : getUnsignedRange(V).getUnsignedMin(); in isImpliedCond() 8611 APInt MinRHS = getSignedRange(RHS).getSignedMin(); in doesIVOverflowOnGT() [all …]
|