Home
last modified time | relevance | path

Searched refs:getSignedMin (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Support/
DConstantRange.cpp97 APInt SMin(CR.getSignedMin()); in makeICmpRegion()
109 APInt SMin(CR.getSignedMin()); in makeICmpRegion()
196 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange
604 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
/external/llvm/include/llvm/Support/
DConstantRange.h151 APInt getSignedMin() const;
/external/llvm/unittests/Support/
DConstantRangeTest.cpp143 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
144 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F()
145 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F()
146 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1034 getSignedRange(Step).getSignedMin()); in getZeroExtendExpr()
1075 SE->getSignedRange(Step).getSignedMin()); in getOverflowLimitForStep()
3576 APInt Min = APIntOps::smin(StartRange.getSignedMin(), in getSignedRange()
3577 EndRange.getSignedMin()); in getSignedRange()
5901 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
5909 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
5978 return getSignedRange(S).getSignedMin().isStrictlyPositive(); in isKnownPositive()
5982 return !getSignedRange(S).getSignedMin().isNegative(); in isKnownNonNegative()
6034 if (LHSRange.getSignedMax().slt(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
6036 if (LHSRange.getSignedMin().sge(RHSRange.getSignedMax())) in isKnownPredicateWithRanges()
[all …]