/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 100 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion() 108 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); in makeAllowedICmpRegion() 250 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 261 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 272 .intersectWith(makeExactMulNSWRegion(Other.getSignedMax())); in makeGuaranteedNoWrapRegion() 377 APInt ConstantRange::getSignedMax() const { in getSignedMax() function in ConstantRange 428 getSignedMax().getMinSignedBits()); in getMinSignedBits() 1040 this_max = getSignedMax().sext(getBitWidth() * 2); in multiply() 1042 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in multiply() 1060 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax() [all …]
|
D | AsmWriter.cpp | 3199 Out << "[" << Range.getSignedMin() << ", " << Range.getSignedMax() << "]"; in printFunctionSummary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 99 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion() 107 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); in makeAllowedICmpRegion() 249 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 260 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 271 .intersectWith(makeExactMulNSWRegion(Other.getSignedMax())); in makeGuaranteedNoWrapRegion() 376 APInt ConstantRange::getSignedMax() const { in getSignedMax() function in ConstantRange 974 this_max = getSignedMax().sext(getBitWidth() * 2); in multiply() 976 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in multiply() 994 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax() 1016 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/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/llvm-project/llvm/include/llvm/IR/ |
D | ConstantRange.h | 251 APInt getSignedMax() const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 243 APInt getSignedMax() const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 508 APInt Max = APIntOps::smax(ValRange.getSignedMax(), High); in processSwitchInst()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 412 APInt Max = APIntOps::smax(ValRange.getSignedMax(), High); in ProcessSwitchInst()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 297 EXPECT_EQ(Full.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F() 298 EXPECT_EQ(One.getSignedMax(), APInt(16, 0xa)); in TEST_F() 299 EXPECT_EQ(Some.getSignedMax(), APInt(16, 0xaa9)); in TEST_F() 300 EXPECT_EQ(Wrap.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F() 308 EXPECT_EQ(ConstantRange(APInt(4, 7), APInt(4, 0)).getSignedMax(), in TEST_F()
|
/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-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 844 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMax();
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 878 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMax();
|
/external/llvm-project/polly/lib/Analysis/ |
D | ScopInfo.cpp | 177 V = valFromAPInt(Ctx.get(), Range.getSignedMax(), true); in addRangeBoundsToSet() 754 const auto UB = isWrapping ? (Range.getUpper() - One) : Range.getSignedMax(); in computeBoundsOnAccessRelation()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2698 CR->getSignedMax().slt(1ull << Width); in isSExtAbsoluteSymbolRef()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2796 CR->getSignedMax().slt(1ull << Width); in isSExtAbsoluteSymbolRef()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 5879 SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(), in getRangeForAffineAR()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 5980 SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(), in getRangeForAffineAR()
|