Home
last modified time | relevance | path

Searched refs:getSignedMax (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp79 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion()
91 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion()
220 const APInt &SignedMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion()
245 const APInt &SignedMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion()
314 makeSingleValueRegion(Other.getSignedMax())); in makeGuaranteedNoWrapRegion()
377 APInt ConstantRange::getSignedMax() const { in getSignedMax() function in ConstantRange
854 this_max = getSignedMax().sext(getBitWidth() * 2); in multiply()
856 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in multiply()
874 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax()
900 APInt NewU = APIntOps::smin(getSignedMax(), Other.getSignedMax()) + 1; in smin()
[all …]
/external/llvm/lib/IR/
DConstantRange.cpp76 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion()
88 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion()
210 APInt SignedMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion()
288 APInt ConstantRange::getSignedMax() const { in getSignedMax() function in ConstantRange
730 this_max = getSignedMax().sext(getBitWidth() * 2); in multiply()
732 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in multiply()
750 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax()
776 APInt NewU = APIntOps::smin(getSignedMax(), Other.getSignedMax()) + 1; in smin()
/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp72 APInt SMax(CR.getSignedMax()); in makeICmpRegion()
84 APInt SMax(CR.getSignedMax()); in makeICmpRegion()
181 APInt ConstantRange::getSignedMax() const { in getSignedMax() function in ConstantRange
573 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax()
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp135 EXPECT_EQ(Full.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
136 EXPECT_EQ(One.getSignedMax(), APInt(16, 0xa)); in TEST_F()
137 EXPECT_EQ(Some.getSignedMax(), APInt(16, 0xaa9)); in TEST_F()
138 EXPECT_EQ(Wrap.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
146 EXPECT_EQ(ConstantRange(APInt(4, 7), APInt(4, 0)).getSignedMax(), in TEST_F()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h138 APInt getSignedMax() const;
/external/llvm/include/llvm/IR/
DConstantRange.h187 APInt getSignedMax() const;
/external/llvm/unittests/IR/
DConstantRangeTest.cpp139 EXPECT_EQ(Full.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
140 EXPECT_EQ(One.getSignedMax(), APInt(16, 0xa)); in TEST_F()
141 EXPECT_EQ(Some.getSignedMax(), APInt(16, 0xaa9)); in TEST_F()
142 EXPECT_EQ(Wrap.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
150 EXPECT_EQ(ConstantRange(APInt(4, 7), APInt(4, 0)).getSignedMax(), in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h189 APInt getSignedMax() const;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp148 EXPECT_EQ(Full.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
149 EXPECT_EQ(One.getSignedMax(), APInt(16, 0xa)); in TEST_F()
150 EXPECT_EQ(Some.getSignedMax(), APInt(16, 0xaa9)); in TEST_F()
151 EXPECT_EQ(Wrap.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F()
159 EXPECT_EQ(ConstantRange(APInt(4, 7), APInt(4, 0)).getSignedMax(), in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp1048 SE->getSignedRange(Step).getSignedMax()); in getOverflowLimitForStep()
3523 APInt Max = APIntOps::smax(StartRange.getSignedMax(), in getSignedRange()
3524 EndRange.getSignedMax()); in getSignedRange()
5620 if (!getSignedRange(RHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
5638 } else if (!getSignedRange(LHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
5693 return getSignedRange(S).getSignedMax().isNegative(); in isKnownNegative()
5705 return !getSignedRange(S).getSignedMax().isStrictlyPositive(); in isKnownNonPositive()
5754 if (LHSRange.getSignedMax().slt(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
5756 if (LHSRange.getSignedMin().sge(RHSRange.getSignedMax())) in isKnownPredicateWithRanges()
5766 if (LHSRange.getSignedMax().sle(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1158 SE->getSignedRange(Step).getSignedMax()); in getSignedOverflowLimitForStep()
4654 APIntOps::smax(StartSRange.getSignedMax(), EndSRange.getSignedMax()); in getRangeForAffineAR()
7480 if (!getSignedRange(RHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
7498 } else if (!getSignedRange(LHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
7556 return getSignedRange(S).getSignedMax().isNegative(); in isKnownNegative()
7568 return !getSignedRange(S).getSignedMax().isStrictlyPositive(); in isKnownNonPositive()
8585 APInt MaxRHS = getSignedRange(RHS).getSignedMax(); in doesIVOverflowOnLT()
8588 .getSignedMax(); in doesIVOverflowOnLT()
8614 .getSignedMax(); in doesIVOverflowOnGT()
8696 IsSigned ? APIntOps::smin(getSignedRange(RHS).getSignedMax(), Limit) in howManyLessThans()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolution.h826 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMax();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2077 CR->getSignedMax().slt(1ull << Width); in isSExtAbsoluteSymbolRef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp5820 SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(), in getRangeForAffineAR()