Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp103 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion()
115 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion()
219 const APInt &SignedMin = Other.getSignedMin(); in makeGuaranteedNoWrapRegion()
244 const APInt &SignedMin = Other.getSignedMin(); in makeGuaranteedNoWrapRegion()
313 return SubsetIntersect(makeSingleValueRegion(Other.getSignedMin()), in makeGuaranteedNoWrapRegion()
383 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange
853 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply()
855 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply()
873 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
899 APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin()); in smin()
[all …]
/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/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/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h143 APInt getSignedMin() const;
/external/llvm/include/llvm/IR/
DConstantRange.h191 APInt getSignedMin() const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h192 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-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp153 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
154 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F()
155 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F()
156 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolution.h821 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMin();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1525 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2076 return CR && CR->getSignedMin().sge(-1ull << Width) && in isSExtAbsoluteSymbolRef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp5818 getRangeForAffineARHelper(StepSRange.getSignedMin(), StartSRange, in getRangeForAffineAR()