Searched refs:getUnsignedMax (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 70 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 82 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 224 APInt ConstantRange::getUnsignedMax() const { in getUnsignedMax() function in ConstantRange 662 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2); in multiply() 664 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2); in multiply() 710 APInt NewU = APIntOps::umax(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umax() 718 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax() == 0) in udiv() 723 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv() 735 APInt Upper = getUnsignedMax().udiv(RHS_umin) + 1; in udiv() 752 APInt umin = APIntOps::umin(Other.getUnsignedMax(), getUnsignedMax()); in binaryAnd() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 57 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax())) in alias() 71 (-ASizeInt).uge(SE.getUnsignedRange(AB).getUnsignedMax())) in alias()
|
D | ScalarEvolution.cpp | 1177 SE->getUnsignedRange(Step).getUnsignedMax()); in getUnsignedOverflowLimitForStep() 1522 getUnsignedRange(Step).getUnsignedMax()); in getZeroExtendExpr() 4343 APInt Max = APIntOps::umax(StartURange.getUnsignedMax(), in getRange() 4344 EndURange.getUnsignedMax()); in getRange() 6640 MaxBECount = CR.getUnsignedMax().isMinValue() in HowFarToZero() 6644 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax() in HowFarToZero() 7024 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 7040 } else if (!getUnsignedRange(LHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 7297 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges() 7299 if (LHSRange.getUnsignedMin().uge(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges() [all …]
|
D | ValueTracking.cpp | 388 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata() 391 KnownOne &= Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata() 392 KnownZero &= ~Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 153 APInt getUnsignedMax() const;
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 129 EXPECT_EQ(Full.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F() 130 EXPECT_EQ(One.getUnsignedMax(), APInt(16, 0xa)); in TEST_F() 131 EXPECT_EQ(Some.getUnsignedMax(), APInt(16, 0xaa9)); in TEST_F() 132 EXPECT_EQ(Wrap.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F()
|
/external/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 261 SE->getUnsignedRange(MaxTrips).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop() 273 SE->getUnsignedRange(MaxExec).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop()
|