Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp134 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion()
443 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange
487 return std::max(getSignedMin().getMinSignedBits(), in getMinSignedBits()
1143 APInt Min = getSignedMin(); in smul_fast()
1145 APInt OtherMin = Other.getSignedMin(); in smul_fast()
1164 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax()
1192 APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin()); in smin()
1521 if (getSignedMin().isNonNegative()) { in ashr()
1550 APInt NewL = getSignedMin().sadd_sat(Other.getSignedMin()); in sadd_sat()
1592 APInt Min = getSignedMin(); in smul_sat()
[all …]
H A DAsmWriter.cpp3182 Out << "[" << Range.getSignedMin() << ", " << Range.getSignedMax() << "]"; in printFunctionSummary()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstantRange.h285 APInt getSignedMin() const;
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp99 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp420 APInt Min = APIntOps::smin(ValRange.getSignedMin(), Low); in ProcessSwitchInst()
H A DSimplifyIndVar.cpp1862 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantRangeTest.cpp358 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
359 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F()
360 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F()
361 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolution.h970 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMin();
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopInfo.cpp179 V = valFromAPInt(Ctx.get(), Range.getSignedMin(), true); in addRangeBoundsToSet()
729 const auto LB = isWrapping ? Range.getLower() : Range.getSignedMin(); in computeBoundsOnAccessRelation()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2934 return CR->getSignedMin().sge(-1ull << Width) && in isSExtAbsoluteSymbolRef()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp362 ROffset = Range.getSignedMin(); in stripAndAccumulateOffsets()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp6754 getRangeForAffineARHelper(StepSRange.getSignedMin(), StartSRange, in getRangeForAffineAR()