Home
last modified time | relevance | path

Searched refs:getUnsignedMax (Results 1 – 25 of 25) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp66 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/
DConstantRange.cpp70 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/
DConstantRange.cpp73 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/
DScalarEvolutionAliasAnalysis.cpp56 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax())) in alias()
70 (-ASizeInt).uge(SE.getUnsignedRange(AB).getUnsignedMax())) in alias()
DValueTracking.cpp449 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros(); in computeKnownBitsFromRangeMetadata()
452 Known.One &= Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata()
453 Known.Zero &= ~Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata()
DScalarEvolution.cpp8522 MaxBECount = APIntOps::umin(MaxBECount, CR.getUnsignedMax() - 1); in howFarToZero()
/external/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp56 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax())) in alias()
70 (-ASizeInt).uge(SE.getUnsignedRange(AB).getUnsignedMax())) in alias()
DScalarEvolution.cpp1178 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 …]
DValueTracking.cpp393 (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/
DScalarEvolutionAliasAnalysis.cpp139 (-BSizeInt).uge(SE->getUnsignedRange(BA).getUnsignedMax())) in alias()
153 (-ASizeInt).uge(SE->getUnsignedRange(AB).getUnsignedMax())) in alias()
DScalarEvolution.cpp998 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/
DBoundsChecking.cpp91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
96 .uge(NeededSizeRange.getUnsignedMax()) in getBoundsCheckCond()
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp125 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/
DConstantRange.h128 APInt getUnsignedMax() const;
/external/llvm/include/llvm/IR/
DConstantRange.h179 APInt getUnsignedMax() const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h183 APInt getUnsignedMax() const;
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp241 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/
DPlaceSafepoints.cpp248 SE->getUnsignedRange(MaxTrips).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop()
260 SE->getUnsignedRange(MaxExec).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop()
DCorrelatedValuePropagation.cpp526 PowerOf2Ceil(OperandRange.getUnsignedMax().getActiveBits()), 8); in processUDivOrURem()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp129 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/
DX86Subtarget.cpp132 if (CR->getUnsignedMax().ult(128)) in classifyGlobalReference()
DX86ISelDAGToDAG.cpp1854 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/
DConstantRangeTest.cpp138 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/
DScalarEvolution.h810 return getRangeRef(S, HINT_RANGE_UNSIGNED).getUnsignedMax();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp7924 APInt Hi = CR.getUnsignedMax(); in lowerRangeToAssertZExt()