Home
last modified time | relevance | path

Searched refs:getUnsignedMax (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Support/
DConstantRange.cpp66 APInt UMax(CR.getUnsignedMax()); in makeICmpRegion()
78 APInt UMax(CR.getUnsignedMax()); in makeICmpRegion()
162 APInt ConstantRange::getUnsignedMax() const { in getUnsignedMax() function in ConstantRange
588 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2); in multiply()
590 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2); in multiply()
617 APInt NewU = APIntOps::umax(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umax()
625 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax() == 0) in udiv()
630 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv()
642 APInt Upper = getUnsignedMax().udiv(RHS_umin) + 1; in udiv()
659 APInt umin = APIntOps::umin(Other.getUnsignedMax(), getUnsignedMax()); in binaryAnd()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp139 (-BSizeInt).uge(SE->getUnsignedRange(BA).getUnsignedMax())) in alias()
153 (-ASizeInt).uge(SE->getUnsignedRange(AB).getUnsignedMax())) in alias()
DScalarEvolution.cpp1017 getUnsignedRange(Step).getUnsignedMax()); in getZeroExtendExpr()
3386 APInt Max = APIntOps::umax(StartRange.getUnsignedMax(), in getUnsignedRange()
3387 EndRange.getUnsignedMax()); in getUnsignedRange()
5511 MaxBECount = CR.getUnsignedMax().isMinValue() in HowFarToZero()
5515 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax() in HowFarToZero()
5838 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands()
5856 } else if (!getUnsignedRange(LHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands()
5974 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges()
5976 if (LHSRange.getUnsignedMin().uge(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges()
5986 if (LHSRange.getUnsignedMax().ule(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges()
[all …]
/external/llvm/include/llvm/Support/
DConstantRange.h128 APInt getUnsignedMax() const;
/external/llvm/unittests/Support/
DConstantRangeTest.cpp128 EXPECT_EQ(Full.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F()
129 EXPECT_EQ(One.getUnsignedMax(), APInt(16, 0xa)); in TEST_F()
130 EXPECT_EQ(Some.getUnsignedMax(), APInt(16, 0xaa9)); in TEST_F()
131 EXPECT_EQ(Wrap.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F()