reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
243 APInt getSignedMax() const;
844 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMax();
lib/Analysis/ScalarEvolution.cpp 5838 SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(),
lib/IR/ConstantRange.cpp99 APInt SMax(CR.getSignedMax()); 107 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); 249 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); 260 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); 271 .intersectWith(makeExactMulNSWRegion(Other.getSignedMax())); 879 APInt LMin = getSignedMin(), LMax = getSignedMax(); 880 APInt RMin = Other.getSignedMin(), RMax = Other.getSignedMax(); 966 this_max = getSignedMax().sext(getBitWidth() * 2); 968 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); 986 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; 986 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; 1008 APInt NewU = APIntOps::smin(getSignedMax(), Other.getSignedMax()) + 1; 1008 APInt NewU = APIntOps::smin(getSignedMax(), Other.getSignedMax()) + 1; 1157 APInt MinLHS = getSignedMin(), MaxLHS = getSignedMax(); 1252 APInt PosMax = getSignedMax().ashr(Other.getUnsignedMin()) + 1; 1266 APInt NegMax = getSignedMax().ashr(Other.getUnsignedMax()) + 1; 1280 } else if (getSignedMax().isNegative()) { 1306 APInt NewU = getSignedMax().sadd_sat(Other.getSignedMax()) + 1; 1306 APInt NewU = getSignedMax().sadd_sat(Other.getSignedMax()) + 1; 1323 APInt NewL = getSignedMin().ssub_sat(Other.getSignedMax()); 1324 APInt NewU = getSignedMax().ssub_sat(Other.getSignedMin()) + 1; 1352 APInt SMin = getSignedMin(), SMax = getSignedMax(); 1388 APInt Min = getSignedMin(), Max = getSignedMax(); 1389 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); 1434 APInt Min = getSignedMin(), Max = getSignedMax(); 1435 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax();lib/Target/X86/X86ISelDAGToDAG.cpp
2634 CR->getSignedMax().slt(1ull << Width);
lib/Transforms/Utils/LowerSwitch.cpp 507 APInt Max = APIntOps::smax(ValRange.getSignedMax(), High);
tools/polly/lib/Analysis/ScopInfo.cpp176 V = valFromAPInt(Ctx.get(), Range.getSignedMax(), true); 758 const auto UB = isWrapping ? (Range.getUpper() - One) : Range.getSignedMax();unittests/IR/ConstantRangeTest.cpp
244 EXPECT_EQ(Full.getSignedMax(), APInt(16, INT16_MAX)); 245 EXPECT_EQ(One.getSignedMax(), APInt(16, 0xa)); 246 EXPECT_EQ(Some.getSignedMax(), APInt(16, 0xaa9)); 247 EXPECT_EQ(Wrap.getSignedMax(), APInt(16, INT16_MAX)); 255 EXPECT_EQ(ConstantRange(APInt(4, 7), APInt(4, 0)).getSignedMax(),