Searched refs:getSignedMax (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 118 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion() 437 APInt ConstantRange::getSignedMax() const { in getSignedMax() function in ConstantRange 1144 APInt Max = getSignedMax(); in smul_fast() 1146 APInt OtherMax = Other.getSignedMax(); in smul_fast() 1165 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax() 1193 APInt NewU = APIntOps::smin(getSignedMax(), Other.getSignedMax()) + 1; in smin() 1525 } else if (getSignedMax().isNegative()) { in ashr() 1551 APInt NewU = getSignedMax().sadd_sat(Other.getSignedMax()) + 1; in sadd_sat() 1593 APInt Max = getSignedMax(); in smul_sat() 1595 APInt OtherMax = Other.getSignedMax(); in smul_sat() [all …]
|
| H A D | AsmWriter.cpp | 3182 Out << "[" << Range.getSignedMin() << ", " << Range.getSignedMax() << "]"; in printFunctionSummary()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 282 APInt getSignedMax() const;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 421 APInt Max = APIntOps::smax(ValRange.getSignedMax(), High); in ProcessSwitchInst()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantRangeTest.cpp | 353 EXPECT_EQ(Full.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F() 354 EXPECT_EQ(One.getSignedMax(), APInt(16, 0xa)); in TEST_F() 355 EXPECT_EQ(Some.getSignedMax(), APInt(16, 0xaa9)); in TEST_F() 356 EXPECT_EQ(Wrap.getSignedMax(), APInt(16, INT16_MAX)); in TEST_F() 364 EXPECT_EQ(ConstantRange(APInt(4, 7), APInt(4, 0)).getSignedMax(), in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolution.h | 975 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMax();
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopInfo.cpp | 181 V = valFromAPInt(Ctx.get(), Range.getSignedMax(), true); in addRangeBoundsToSet() 730 const auto UB = isWrapping ? (Range.getUpper() - One) : Range.getSignedMax(); in computeBoundsOnAccessRelation()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 2935 CR->getSignedMax().slt(1ull << Width); in isSExtAbsoluteSymbolRef()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 364 ROffset = Range.getSignedMax(); in stripAndAccumulateOffsets()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 6756 SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(), in getRangeForAffineAR()
|