Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp90 APInt UMin(CR.getUnsignedMin()); in makeICmpRegion()
102 APInt UMin(CR.getUnsignedMin()); in makeICmpRegion()
171 APInt ConstantRange::getUnsignedMin() const { in getUnsignedMin() function in ConstantRange
556 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply()
558 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply()
585 APInt NewL = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in umax()
599 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv()
601 APInt RHS_umin = RHS.getUnsignedMin(); in udiv()
641 APInt umax = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in binaryOr()
652 APInt min = getUnsignedMin().shl(Other.getUnsignedMin()); in shl()
[all …]
/external/llvm/lib/IR/
DConstantRange.cpp94 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion()
106 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion()
279 APInt ConstantRange::getUnsignedMin() const { in getUnsignedMin() function in ConstantRange
707 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply()
709 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply()
762 APInt NewL = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in umax()
788 APInt NewL = APIntOps::umin(getUnsignedMin(), Other.getUnsignedMin()); in umin()
802 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv()
804 APInt RHS_umin = RHS.getUnsignedMin(); in udiv()
844 APInt umax = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in binaryOr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp97 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion()
109 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion()
371 APInt ConstantRange::getUnsignedMin() const { in getUnsignedMin() function in ConstantRange
830 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply()
832 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply()
886 APInt NewL = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in umax()
912 APInt NewL = APIntOps::umin(getUnsignedMin(), Other.getUnsignedMin()); in umin()
926 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv()
928 APInt RHS_umin = RHS.getUnsignedMin(); in udiv()
968 APInt umax = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in binaryOr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp55 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias()
69 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
DValueTracking.cpp449 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
/external/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp55 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias()
69 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
DScalarEvolution.cpp4630 APInt Min = APIntOps::umin(StartURange.getUnsignedMin(), in getRangeForAffineAR()
4631 EndURange.getUnsignedMin()); in getRangeForAffineAR()
7127 if (!CountDown && CR.getUnsignedMin().isMinValue()) in howFarToZero()
7134 : -CR.getUnsignedMin()); in howFarToZero()
7511 } else if (!getUnsignedRange(LHS).getUnsignedMin().isMinValue()) { in SimplifyICmpOperands()
7518 if (!getUnsignedRange(RHS).getUnsignedMin().isMinValue()) { in SimplifyICmpOperands()
8170 getSignedRange(V).getSignedMin() : getUnsignedRange(V).getUnsignedMin(); in isImpliedCond()
8620 APInt MinRHS = getUnsignedRange(RHS).getUnsignedMin(); in doesIVOverflowOnGT()
8683 : getUnsignedRange(Start).getUnsignedMin(); in howManyLessThans()
8686 : getUnsignedRange(Stride).getUnsignedMin(); in howManyLessThans()
[all …]
DValueTracking.cpp393 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp138 if (ASizeInt.ule(SE->getUnsignedRange(BA).getUnsignedMin()) && in alias()
152 if (BSizeInt.ule(SE->getUnsignedRange(AB).getUnsignedMin()) && in alias()
DScalarEvolution.cpp3369 APInt Min = APIntOps::umin(StartRange.getUnsignedMin(), in getUnsignedRange()
3370 EndRange.getUnsignedMin()); in getUnsignedRange()
5332 if (!CountDown && CR.getUnsignedMin().isMinValue()) in HowFarToZero()
5339 : -CR.getUnsignedMin()); in HowFarToZero()
5651 } else if (!getUnsignedRange(LHS).getUnsignedMin().isMinValue()) { in SimplifyICmpOperands()
5659 if (!getUnsignedRange(RHS).getUnsignedMin().isMinValue()) { 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()
5792 if (LHSRange.getUnsignedMin().ugt(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
95 .getUnsignedMin() in getBoundsCheckCond()
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp130 EXPECT_EQ(Full.getUnsignedMin(), APInt(16, 0)); in TEST_F()
131 EXPECT_EQ(One.getUnsignedMin(), APInt(16, 0xa)); in TEST_F()
132 EXPECT_EQ(Some.getUnsignedMin(), APInt(16, 0xa)); in TEST_F()
133 EXPECT_EQ(Wrap.getUnsignedMin(), APInt(16, 0)); in TEST_F()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h133 APInt getUnsignedMin() const;
/external/llvm/include/llvm/IR/
DConstantRange.h183 APInt getUnsignedMin() const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h186 APInt getUnsignedMin() const;
/external/llvm/unittests/IR/
DConstantRangeTest.cpp134 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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp143 EXPECT_EQ(Full.getUnsignedMin(), APInt(16, 0)); in TEST_F()
144 EXPECT_EQ(One.getUnsignedMin(), APInt(16, 0xa)); in TEST_F()
145 EXPECT_EQ(Some.getUnsignedMin(), APInt(16, 0xa)); in TEST_F()
146 EXPECT_EQ(Wrap.getUnsignedMin(), APInt(16, 0)); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp799 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolution.h805 return getRangeRef(S, HINT_RANGE_UNSIGNED).getUnsignedMin();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp7920 APInt Lo = CR.getUnsignedMin(); in lowerRangeToAssertZExt()