Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp109 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-project/llvm/lib/IR/
DConstantRange.cpp110 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/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/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/llvm-project/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp59 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias()
73 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
DValueTracking.cpp478 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp59 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias()
73 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
DValueTracking.cpp458 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
95 .getUnsignedMin() in getBoundsCheckCond()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
95 .getUnsignedMin() in getBoundsCheckCond()
/external/llvm/include/llvm/IR/
DConstantRange.h183 APInt getUnsignedMin() const;
/external/llvm-project/llvm/include/llvm/IR/
DConstantRange.h248 APInt getUnsignedMin() const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h240 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/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp292 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/
DSimplifyIndVar.cpp778 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolution.h823 return getRangeRef(S, HINT_RANGE_UNSIGNED).getUnsignedMin();
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolution.h857 return getRangeRef(S, HINT_RANGE_UNSIGNED).getUnsignedMin();
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp788 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp8639 APInt Lo = CR.getUnsignedMin(); in lowerRangeToAssertZExt()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp8706 APInt Lo = CR.getUnsignedMin(); in lowerRangeToAssertZExt()