Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp92 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion()
104 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion()
180 APInt ConstantRange::getUnsignedMin() const { in getUnsignedMin() function in ConstantRange
608 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply()
610 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply()
656 APInt NewL = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in umax()
670 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv()
672 APInt RHS_umin = RHS.getUnsignedMin(); in udiv()
712 APInt umax = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in binaryOr()
723 APInt min = getUnsignedMin().shl(Other.getUnsignedMin()); in shl()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp139 if (ASizeInt.ule(SE->getUnsignedRange(BA).getUnsignedMin()) && in alias()
153 if (BSizeInt.ule(SE->getUnsignedRange(AB).getUnsignedMin()) && in alias()
DScalarEvolution.cpp3993 APInt Min = APIntOps::umin(StartURange.getUnsignedMin(), in getRange()
3994 EndURange.getUnsignedMin()); in getRange()
6143 if (!CountDown && CR.getUnsignedMin().isMinValue()) in HowFarToZero()
6150 : -CR.getUnsignedMin()); in HowFarToZero()
6488 } else if (!getUnsignedRange(LHS).getUnsignedMin().isMinValue()) { in SimplifyICmpOperands()
6496 if (!getUnsignedRange(RHS).getUnsignedMin().isMinValue()) { in SimplifyICmpOperands()
6628 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges()
6630 if (LHSRange.getUnsignedMin().uge(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges()
6639 if (LHSRange.getUnsignedMax().ule(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges()
6641 if (LHSRange.getUnsignedMin().ugt(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges()
[all …]
/external/llvm/include/llvm/IR/
DConstantRange.h146 APInt getUnsignedMin() const;
/external/llvm/unittests/IR/
DConstantRangeTest.cpp133 EXPECT_EQ(Full.getUnsignedMin(), APInt(16, 0)); in TEST_F()
134 EXPECT_EQ(One.getUnsignedMin(), APInt(16, 0xa)); in TEST_F()
135 EXPECT_EQ(Some.getUnsignedMin(), APInt(16, 0xa)); in TEST_F()
136 EXPECT_EQ(Wrap.getUnsignedMin(), APInt(16, 0)); in TEST_F()