Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp76 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion()
88 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion()
242 APInt ConstantRange::getSignedMax() const { in getSignedMax() function in ConstantRange
677 this_max = getSignedMax().sext(getBitWidth() * 2); in multiply()
679 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in multiply()
697 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax()
/external/llvm/include/llvm/IR/
DConstantRange.h161 APInt getSignedMax() const;
/external/llvm/unittests/IR/
DConstantRangeTest.cpp139 EXPECT_EQ(Full.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
140 EXPECT_EQ(One.getSignedMax(), APInt(16, 0xa)); in TEST_F()
141 EXPECT_EQ(Some.getSignedMax(), APInt(16, 0xaa9)); in TEST_F()
142 EXPECT_EQ(Wrap.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
150 EXPECT_EQ(ConstantRange(APInt(4, 7), APInt(4, 0)).getSignedMax(), in TEST_F()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1157 SE->getSignedRange(Step).getSignedMax()); in getSignedOverflowLimitForStep()
4365 APInt Max = APIntOps::smax(StartSRange.getSignedMax(), in getRange()
4366 EndSRange.getSignedMax()); in getRange()
6998 if (!getSignedRange(RHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
7016 } else if (!getSignedRange(LHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
7074 return getSignedRange(S).getSignedMax().isNegative(); in isKnownNegative()
7086 return !getSignedRange(S).getSignedMax().isStrictlyPositive(); in isKnownNonPositive()
7275 if (LHSRange.getSignedMax().slt(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
7277 if (LHSRange.getSignedMin().sge(RHSRange.getSignedMax())) in isKnownPredicateWithRanges()
7286 if (LHSRange.getSignedMax().sle(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
[all …]