Home
last modified time | relevance | path

Searched refs:getSignedMin (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/IR/
DConstantRange.cpp100 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion()
112 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion()
209 APInt SignedMin = Other.getSignedMin(); in makeGuaranteedNoWrapRegion()
303 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange
729 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply()
731 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply()
749 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
775 APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin()); in smin()
/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp96 APInt SMin(CR.getSignedMin()); in makeICmpRegion()
108 APInt SMin(CR.getSignedMin()); in makeICmpRegion()
199 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange
572 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h143 APInt getSignedMin() const;
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp140 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
141 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F()
142 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F()
143 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
/external/llvm/include/llvm/IR/
DConstantRange.h191 APInt getSignedMin() const;
/external/llvm/unittests/IR/
DConstantRangeTest.cpp144 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
145 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F()
146 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F()
147 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp1012 getSignedRange(Step).getSignedMin()); in getZeroExtendExpr()
1053 SE->getSignedRange(Step).getSignedMin()); in getOverflowLimitForStep()
3521 APInt Min = APIntOps::smin(StartRange.getSignedMin(), in getSignedRange()
3522 EndRange.getSignedMin()); in getSignedRange()
5625 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
5633 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
5697 return getSignedRange(S).getSignedMin().isStrictlyPositive(); in isKnownPositive()
5701 return !getSignedRange(S).getSignedMin().isNegative(); in isKnownNonNegative()
5754 if (LHSRange.getSignedMax().slt(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
5756 if (LHSRange.getSignedMin().sge(RHSRange.getSignedMax())) in isKnownPredicateWithRanges()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1163 SE->getSignedRange(Step).getSignedMin()); in getSignedOverflowLimitForStep()
1554 getSignedRange(Step).getSignedMin()); in getZeroExtendExpr()
3482 !getSignedRange(RHS).getSignedMin().isMinSignedValue(); in getMinusSCEV()
4652 APIntOps::smin(StartSRange.getSignedMin(), EndSRange.getSignedMin()); in getRangeForAffineAR()
7485 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
7493 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
7560 return getSignedRange(S).getSignedMin().isStrictlyPositive(); in isKnownPositive()
7564 return !getSignedRange(S).getSignedMin().isNegative(); in isKnownNonNegative()
8170 getSignedRange(V).getSignedMin() : getUnsignedRange(V).getUnsignedMin(); in isImpliedCond()
8611 APInt MinRHS = getSignedRange(RHS).getSignedMin(); in doesIVOverflowOnGT()
[all …]