Searched refs:getUnsignedMax (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 68 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 80 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 171 APInt ConstantRange::getUnsignedMax() const { in getUnsignedMax() function in ConstantRange 609 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2); in multiply() 611 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2); in multiply() 657 APInt NewU = APIntOps::umax(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umax() 665 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax() == 0) in udiv() 670 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv() 682 APInt Upper = getUnsignedMax().udiv(RHS_umin) + 1; in udiv() 699 APInt umin = APIntOps::umin(Other.getUnsignedMax(), getUnsignedMax()); in binaryAnd() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 140 (-BSizeInt).uge(SE->getUnsignedRange(BA).getUnsignedMax())) in alias() 154 (-ASizeInt).uge(SE->getUnsignedRange(AB).getUnsignedMax())) in alias()
|
D | ScalarEvolution.cpp | 1183 SE->getUnsignedRange(Step).getUnsignedMax()); in getUnsignedOverflowLimitForStep() 1528 getUnsignedRange(Step).getUnsignedMax()); in getZeroExtendExpr() 3995 APInt Max = APIntOps::umax(StartURange.getUnsignedMax(), in getRange() 3996 EndURange.getUnsignedMax()); in getRange() 6145 MaxBECount = CR.getUnsignedMax().isMinValue() in HowFarToZero() 6149 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax() in HowFarToZero() 6483 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 6501 } else if (!getUnsignedRange(LHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 6628 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges() 6630 if (LHSRange.getUnsignedMin().uge(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 251 if (SE->getUnsignedRange(MaxTrips).getUnsignedMax().ult(upperTripBound)) in mustBeFiniteCountedLoop() 254 SE->getUnsignedRange(MaxTrips).getUnsignedMax().isIntN(32)) in mustBeFiniteCountedLoop() 266 if (SE->getUnsignedRange(MaxExec).getUnsignedMax().ult(upperTripBound)) in mustBeFiniteCountedLoop() 269 SE->getUnsignedRange(MaxExec).getUnsignedMax().isIntN(32)) in mustBeFiniteCountedLoop()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 142 APInt getUnsignedMax() const;
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 128 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()
|