/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 79 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/ |
D | ConstantRange.cpp | 76 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/ |
D | ConstantRange.cpp | 72 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/ |
D | ConstantRangeTest.cpp | 135 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/ |
D | ConstantRange.h | 138 APInt getSignedMax() const;
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 187 APInt getSignedMax() const;
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 139 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/ |
D | ConstantRange.h | 189 APInt getSignedMax() const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 148 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/ |
D | ScalarEvolution.cpp | 1048 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/ |
D | ScalarEvolution.cpp | 1158 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/ |
D | ScalarEvolution.h | 826 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMax();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2077 CR->getSignedMax().slt(1ull << Width); in isSExtAbsoluteSymbolRef()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 5820 SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(), in getRangeForAffineAR()
|