| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 25 << Val.getConstantRange(true).getLower() << ", " in operator <<() 29 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
|
| H A D | StackSafetyAnalysis.cpp | 382 const SCEV *Min = ToDiffTy(SE.getConstant(Size.getLower())); in isSafeAccess()
|
| H A D | ScalarEvolution.cpp | 6715 APInt StartLower = StartRange.getLower(); in getRangeForAffineARHelper() 10068 APInt Lower = Range.getLower().sext(A.getBitWidth()) - 1; in SolveQuadraticAddRecRange() 12951 APInt End = A.sge(1) ? (Range.getUpper() - 1) : Range.getLower(); in getNumIterationsInRange()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueLatticeTest.cpp | 53 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 5U); in TEST_F() 56 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 5U); in TEST_F() 74 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F() 80 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F() 87 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F() 90 EXPECT_EQ(LV2.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F()
|
| H A D | ValueTrackingTest.cpp | 2084 EXPECT_EQ(5, CR2.getLower()); in TEST_F() 2152 EXPECT_EQ(5, CR.getLower()); in TEST_F() 2157 EXPECT_EQ(50, CR2.getLower()); in TEST_F() 2215 EXPECT_EQ(5, CR1.getLower()); in TEST_F() 2218 EXPECT_EQ(0, CR2.getLower()); in TEST_F()
|
| H A D | ScalarEvolutionTest.cpp | 1259 EXPECT_EQ(SE.getUnsignedRange(ScevIV).getLower(), 0); in TEST_F() 1267 EXPECT_EQ(SE.getUnsignedRange(AddWithUMin).getLower(), 0); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 216 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp() 223 RHS = getLower(); in getEquivalentICmp() 226 RHS = getUpper() - getLower(); in getEquivalentICmp() 227 Offset = -getLower(); in getEquivalentICmp() 434 return getLower(); in getUnsignedMin() 446 return getLower(); in getSignedMin() 471 Lower.ule(Other.getLower()); in contains() 995 APInt NewLower = getLower() + Other.getLower(); in add() 1042 APInt NewLower = getLower() - Other.getUpper() + 1; in sub() 1043 APInt NewUpper = getUpper() - Other.getLower(); in sub() [all …]
|
| H A D | Metadata.cpp | 1076 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous() 1094 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
|
| H A D | Verifier.cpp | 3768 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous() 3799 Check(LowV.sgt(LastRange.getLower()), "Intervals are not in order", in visitRangeMetadata()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 676 if (getAssumed().getLower() == Min && getAssumed().getUpper() - 1 == Max) in manifest() 681 OS << getAssumed().getLower() << ',' << getAssumed().getUpper() - 1; in manifest() 693 OS << getAssumed().getLower() << ',' << getAssumed().getUpper() - 1; in getAsStr()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantRangeTest.cpp | 66 APInt N = CR.getLower(); in ForeachNumInConstantRange() 415 EXPECT_EQ(TOne, ConstantRange(One.getLower().trunc(10), in TEST_F() 445 EXPECT_EQ(ZOne, ConstantRange(One.getLower().zext(20), in TEST_F() 447 EXPECT_EQ(ZSome, ConstantRange(Some.getLower().zext(20), in TEST_F() 465 EXPECT_EQ(SOne, ConstantRange(One.getLower().sext(20), in TEST_F() 467 EXPECT_EQ(SSome, ConstantRange(Some.getLower().sext(20), in TEST_F() 1519 for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E; in TEST() 1526 for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E; in TEST() 1547 for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E; in TEST() 1554 for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E; in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 198 const APInt &getLower() const { return Lower; } in getLower() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 394 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform()
|
| H A D | SCCP.cpp | 662 ConstantAsMetadata::get(ConstantInt::get(Context, CR.getLower())), in runIPSCCP()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1185 APInt LowerDiff = CR1.getLower() ^ CR2.getLower(); in foldAndOrOfICmpsUsingRanges() 1187 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in foldAndOrOfICmpsUsingRanges() 1189 CR1Size != CR2.getUpper() - CR2.getLower()) in foldAndOrOfICmpsUsingRanges() 1192 CR = CR1.getLower().ult(CR2.getLower()) ? CR1 : CR2; in foldAndOrOfICmpsUsingRanges()
|
| H A D | InstCombineCompares.cpp | 2799 const APInt &Lower = CR.getLower(); in foldICmpAddConstant()
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopInfo.cpp | 193 V = valFromAPInt(Ctx.get(), Range.getLower(), true); in addRangeBoundsToSet() 729 const auto LB = isWrapping ? Range.getLower() : Range.getSignedMin(); in computeBoundsOnAccessRelation()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3766 assert(Range.getLower().getNumWords() == 1); in writeFunctionTypeMetadataRecords() 3768 emitSignedInt64(Record, *Range.getLower().getRawData()); in writeFunctionTypeMetadataRecords()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 685 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 8185 Ty, AssumedConstantRange.getLower())), in getMDNodeForConstantRange()
|