/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 110 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion() 122 return getNonEmpty(CR.getUnsignedMin(), APInt::getNullValue(W)); in makeAllowedICmpRegion() 371 APInt ConstantRange::getUnsignedMin() const { in getUnsignedMin() function in ConstantRange 991 if (getUnsignedMax().ult(Other.getUnsignedMin())) in subWithNoWrap() 1016 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply() 1018 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply() 1070 APInt NewL = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in umax() 1092 APInt NewL = APIntOps::umin(getUnsignedMin(), Other.getUnsignedMin()); in umin() 1102 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv() 1104 APInt RHS_umin = RHS.getUnsignedMin(); in udiv() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 109 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion() 121 return getNonEmpty(CR.getUnsignedMin(), APInt::getNullValue(W)); in makeAllowedICmpRegion() 370 APInt ConstantRange::getUnsignedMin() const { in getUnsignedMin() function in ConstantRange 925 if (getUnsignedMax().ult(Other.getUnsignedMin())) in subWithNoWrap() 950 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply() 952 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply() 1004 APInt NewL = APIntOps::umax(getUnsignedMin(), Other.getUnsignedMin()); in umax() 1026 APInt NewL = APIntOps::umin(getUnsignedMin(), Other.getUnsignedMin()); in umin() 1036 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv() 1038 APInt RHS_umin = RHS.getUnsignedMin(); in udiv() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 94 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/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 55 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias() 69 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
|
D | ScalarEvolution.cpp | 4630 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 …]
|
D | ValueTracking.cpp | 393 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 59 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias() 73 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
|
D | ValueTracking.cpp | 478 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionAliasAnalysis.cpp | 59 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias() 73 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
|
D | ValueTracking.cpp | 458 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond() 95 .getUnsignedMin() in getBoundsCheckCond()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond() 95 .getUnsignedMin() in getBoundsCheckCond()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 183 APInt getUnsignedMin() const;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantRange.h | 248 APInt getUnsignedMin() const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 240 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()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 292 EXPECT_EQ(Full.getUnsignedMin(), APInt(16, 0)); in TEST_F() 293 EXPECT_EQ(One.getUnsignedMin(), APInt(16, 0xa)); in TEST_F() 294 EXPECT_EQ(Some.getUnsignedMin(), APInt(16, 0xa)); in TEST_F() 295 EXPECT_EQ(Wrap.getUnsignedMin(), APInt(16, 0)); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 778 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 823 return getRangeRef(S, HINT_RANGE_UNSIGNED).getUnsignedMin();
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 857 return getRangeRef(S, HINT_RANGE_UNSIGNED).getUnsignedMin();
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 788 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 8639 APInt Lo = CR.getUnsignedMin(); in lowerRangeToAssertZExt()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 8706 APInt Lo = CR.getUnsignedMin(); in lowerRangeToAssertZExt()
|