Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp116 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion()
124 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion()
250 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion()
261 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion()
271 return makeExactMulNSWRegion(Other.getSignedMin()) in makeGuaranteedNoWrapRegion()
383 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange
427 return std::max(getSignedMin().getMinSignedBits(), in getMinSignedBits()
1039 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply()
1041 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply()
1059 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
[all …]
DAsmWriter.cpp3199 Out << "[" << Range.getSignedMin() << ", " << Range.getSignedMax() << "]"; in printFunctionSummary()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp115 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion()
123 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion()
249 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion()
260 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion()
270 return makeExactMulNSWRegion(Other.getSignedMin()) in makeGuaranteedNoWrapRegion()
382 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange
973 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply()
975 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply()
993 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
1015 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/llvm/include/llvm/IR/
DConstantRange.h191 APInt getSignedMin() const;
/external/llvm-project/llvm/include/llvm/IR/
DConstantRange.h254 APInt getSignedMin() const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h246 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/llvm-project/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
/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-10.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp507 APInt Min = APIntOps::smin(ValRange.getSignedMin(), Low); in processSwitchInst()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp411 APInt Min = APIntOps::smin(ValRange.getSignedMin(), Low); in ProcessSwitchInst()
DSimplifyIndVar.cpp1851 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers()
/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp302 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
303 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F()
304 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F()
305 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolution.h839 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMin();
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolution.h873 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMin();
/external/llvm-project/polly/lib/Analysis/
DScopInfo.cpp175 V = valFromAPInt(Ctx.get(), Range.getSignedMin(), true); in addRangeBoundsToSet()
753 const auto LB = isWrapping ? Range.getLower() : Range.getSignedMin(); in computeBoundsOnAccessRelation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1710 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2697 return CR && CR->getSignedMin().sge(-1ull << Width) && in isSExtAbsoluteSymbolRef()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2795 return CR->getSignedMin().sge(-1ull << Width) && in isSExtAbsoluteSymbolRef()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp385 ROffset = Range.getSignedMin(); in stripAndAccumulateMinimalOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp5877 getRangeForAffineARHelper(StepSRange.getSignedMin(), StartSRange, in getRangeForAffineAR()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp5978 getRangeForAffineARHelper(StepSRange.getSignedMin(), StartSRange, in getRangeForAffineAR()