Searched refs:getUnsignedMin (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 94 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion() 106 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion() 233 APInt ConstantRange::getUnsignedMin() const { in getUnsignedMin() function in ConstantRange 661 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply() 663 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply() 709 APInt NewL = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in umax() 723 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv() 725 APInt RHS_umin = RHS.getUnsignedMin(); in udiv() 765 APInt umax = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in binaryOr() 776 APInt min = getUnsignedMin().shl(Other.getUnsignedMin()); in shl() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 56 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias() 70 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
|
D | ScalarEvolution.cpp | 4341 APInt Min = APIntOps::umin(StartURange.getUnsignedMin(), in getRange() 4342 EndURange.getUnsignedMin()); in getRange() 6638 if (!CountDown && CR.getUnsignedMin().isMinValue()) in HowFarToZero() 6645 : -CR.getUnsignedMin()); in HowFarToZero() 7029 } else if (!getUnsignedRange(LHS).getUnsignedMin().isMinValue()) { in SimplifyICmpOperands() 7036 if (!getUnsignedRange(RHS).getUnsignedMin().isMinValue()) { in SimplifyICmpOperands() 7297 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges() 7299 if (LHSRange.getUnsignedMin().uge(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges() 7308 if (LHSRange.getUnsignedMax().ule(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges() 7310 if (LHSRange.getUnsignedMin().ugt(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges() [all …]
|
D | ValueTracking.cpp | 388 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 157 APInt getUnsignedMin() const;
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 134 EXPECT_EQ(Full.getUnsignedMin(), APInt(16, 0)); in TEST_F() 135 EXPECT_EQ(One.getUnsignedMin(), APInt(16, 0xa)); in TEST_F() 136 EXPECT_EQ(Some.getUnsignedMin(), APInt(16, 0xa)); in TEST_F() 137 EXPECT_EQ(Wrap.getUnsignedMin(), APInt(16, 0)); in TEST_F()
|