/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 66 APInt UMax(CR.getUnsignedMax()); in makeICmpRegion() 78 APInt UMax(CR.getUnsignedMax()); in makeICmpRegion() 161 APInt ConstantRange::getUnsignedMax() const { in getUnsignedMax() function in ConstantRange 557 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2); in multiply() 559 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2); in multiply() 586 APInt NewU = APIntOps::umax(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umax() 594 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax() == 0) in udiv() 599 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv() 611 APInt Upper = getUnsignedMax().udiv(RHS_umin) + 1; in udiv() 628 APInt umin = APIntOps::umin(Other.getUnsignedMax(), getUnsignedMax()); in binaryAnd() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 70 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 82 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 206 -Other.getUnsignedMax())); in makeGuaranteedNoWrapRegion() 270 APInt ConstantRange::getUnsignedMax() const { in getUnsignedMax() function in ConstantRange 708 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2); in multiply() 710 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2); in multiply() 763 APInt NewU = APIntOps::umax(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umax() 789 APInt NewU = APIntOps::umin(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umin() 797 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax() == 0) in udiv() 802 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 73 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 85 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 217 -Other.getUnsignedMax())); in makeGuaranteedNoWrapRegion() 241 SubsetIntersect(Result, ConstantRange(Other.getUnsignedMax(), in makeGuaranteedNoWrapRegion() 311 return makeSingleValueRegion(Other.getUnsignedMax()); in makeGuaranteedNoWrapRegion() 365 APInt ConstantRange::getUnsignedMax() const { in getUnsignedMax() function in ConstantRange 831 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2); in multiply() 833 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2); in multiply() 887 APInt NewU = APIntOps::umax(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umax() 913 APInt NewU = APIntOps::umin(getUnsignedMax(), Other.getUnsignedMax()) + 1; in umin() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 56 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax())) in alias() 70 (-ASizeInt).uge(SE.getUnsignedRange(AB).getUnsignedMax())) in alias()
|
D | ValueTracking.cpp | 449 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata() 452 Known.One &= Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata() 453 Known.Zero &= ~Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata()
|
D | ScalarEvolution.cpp | 8522 MaxBECount = APIntOps::umin(MaxBECount, CR.getUnsignedMax() - 1); in howFarToZero()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 56 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax())) in alias() 70 (-ASizeInt).uge(SE.getUnsignedRange(AB).getUnsignedMax())) in alias()
|
D | ScalarEvolution.cpp | 1178 SE->getUnsignedRange(Step).getUnsignedMax()); in getUnsignedOverflowLimitForStep() 1539 getUnsignedRange(Step).getUnsignedMax()); in getZeroExtendExpr() 4632 APInt Max = APIntOps::umax(StartURange.getUnsignedMax(), in getRangeForAffineAR() 4633 EndURange.getUnsignedMax()); in getRangeForAffineAR() 7129 MaxBECount = CR.getUnsignedMax().isMinValue() in howFarToZero() 7133 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax() in howFarToZero() 7506 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 7522 } else if (!getUnsignedRange(LHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 8594 APInt MaxRHS = getUnsignedRange(RHS).getUnsignedMax(); in doesIVOverflowOnLT() 8597 .getUnsignedMax(); in doesIVOverflowOnLT() [all …]
|
D | ValueTracking.cpp | 393 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata() 396 KnownOne &= Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata() 397 KnownZero &= ~Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 139 (-BSizeInt).uge(SE->getUnsignedRange(BA).getUnsignedMax())) in alias() 153 (-ASizeInt).uge(SE->getUnsignedRange(AB).getUnsignedMax())) in alias()
|
D | ScalarEvolution.cpp | 998 getUnsignedRange(Step).getUnsignedMax()); in getZeroExtendExpr() 3371 APInt Max = APIntOps::umax(StartRange.getUnsignedMax(), in getUnsignedRange() 3372 EndRange.getUnsignedMax()); in getUnsignedRange() 5334 MaxBECount = CR.getUnsignedMax().isMinValue() in HowFarToZero() 5338 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax() in HowFarToZero() 5646 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 5664 } else if (!getUnsignedRange(LHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() 5778 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges() 5780 if (LHSRange.getUnsignedMin().uge(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges() 5790 if (LHSRange.getUnsignedMax().ule(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond() 96 .uge(NeededSizeRange.getUnsignedMax()) in getBoundsCheckCond()
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | ConstantRangeTest.cpp | 125 EXPECT_EQ(Full.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F() 126 EXPECT_EQ(One.getUnsignedMax(), APInt(16, 0xa)); in TEST_F() 127 EXPECT_EQ(Some.getUnsignedMax(), APInt(16, 0xaa9)); in TEST_F() 128 EXPECT_EQ(Wrap.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantRange.h | 128 APInt getUnsignedMax() const;
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 179 APInt getUnsignedMax() const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 183 APInt getUnsignedMax() const;
|
/external/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 241 SE->getUnsignedRange(MaxTrips).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop() 253 SE->getUnsignedRange(MaxExec).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 248 SE->getUnsignedRange(MaxTrips).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop() 260 SE->getUnsignedRange(MaxExec).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop()
|
D | CorrelatedValuePropagation.cpp | 526 PowerOf2Ceil(OperandRange.getUnsignedMax().getActiveBits()), 8); in processUDivOrURem()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 132 if (CR->getUnsignedMax().ult(128)) in classifyGlobalReference()
|
D | X86ISelDAGToDAG.cpp | 1854 return CR->getUnsignedMax().ult(1ull << 32); in selectMOV64Imm32() 2020 if (!CR || CR->getUnsignedMax().uge(1ull << VT.getSizeInBits())) in selectRelocImm()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 138 EXPECT_EQ(Full.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F() 139 EXPECT_EQ(One.getUnsignedMax(), APInt(16, 0xa)); in TEST_F() 140 EXPECT_EQ(Some.getUnsignedMax(), APInt(16, 0xaa9)); in TEST_F() 141 EXPECT_EQ(Wrap.getUnsignedMax(), APInt(16, UINT16_MAX)); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 810 return getRangeRef(S, HINT_RANGE_UNSIGNED).getUnsignedMax();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 7924 APInt Hi = CR.getUnsignedMax(); in lowerRangeToAssertZExt()
|