Home
last modified time | relevance | path

Searched refs:getUpper (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp69 << Val.getConstantRange(true).getUpper() << ">"; in operator <<()
73 << Val.getConstantRange().getUpper() << ">"; in operator <<()
H A DStackSafetyAnalysis.cpp213 << getStaticAllocaSizeRange(*AI).getUpper() << "]: " << AS << "\n"; in print()
334 if (!Sizes.getUpper().isStrictlyPositive() || isUnsafe(Sizes)) in getMemIntrinsicAccessRange()
337 ConstantRange SizeRange(APInt::getZero(PointerSize), Sizes.getUpper() - 1); in getMemIntrinsicAccessRange()
383 const SCEV *Max = SE.getMinusSCEV(ToDiffTy(SE.getConstant(Size.getUpper())), in isSafeAccess()
H A DScalarEvolution.cpp6985 APInt StartUpper = StartRange.getUpper() - 1; in getRangeForAffineARHelper()
10319 APInt Upper = Range.getUpper().sext(A.getBitWidth()); in SolveQuadraticAddRecRange()
13271 APInt End = A.sge(1) ? (Range.getUpper() - 1) : Range.getLower(); in getNumIterationsInRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp220 RHS = getUpper(); in getEquivalentICmp()
221 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
227 RHS = getUpper() - getLower(); in getEquivalentICmp()
429 return getUpper() - 1; in getUnsignedMax()
441 return getUpper() - 1; in getSignedMax()
471 return Other.getUpper().ule(Upper) || in contains()
1013 APInt NewUpper = getUpper() + Other.getUpper() - 1; in add()
1147 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
1256 if (RHS.getUpper() == 1) in udiv()
1724 if ((getUpper() - 1).isZero()) { in ctlz()
[all …]
H A DMetadata.cpp1234 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
1254 cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper())); in tryMergeRange()
H A DVerifier.cpp3991 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp733 if (getAssumed().getLower() == Min && getAssumed().getUpper() - 1 == Max) in emitAttributeIfNotDefault()
740 OS << getAssumed().getLower() << ',' << getAssumed().getUpper() - 1; in emitAttributeIfNotDefault()
750 OS << getAssumed().getLower() << ',' << getAssumed().getUpper() - 1; in getAsStr()
837 AssumedGroupSize->getAssumed().getUpper().getZExtValue() - 1}); in initialize()
868 CallerInfo->getAssumed().getUpper().getZExtValue() - 1}, in updateImpl()
870 AssumedGroupSize->getAssumed().getUpper().getZExtValue() - 1}); in updateImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVRange.h72 LVAddress getUpper() const { return Upper; } in getUpper() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h201 const APInt &getUpper() const { return Upper; } in getUpper() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSCCP.cpp308 ConstantAsMetadata::get(ConstantInt::get(Context, CR.getUpper()))}; in runIPSCCP()
H A DAttributorAttributes.cpp9096 Ty, AssumedConstantRange.getUpper()))}; in getMDNodeForConstantRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp363 R.getUpper().getSignificantBits()) + in validateAndTransform()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp1137 ScopesWithRanges->getUpper()); in processModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1271 APInt UpperDiff = (CR1.getUpper() - 1) ^ (CR2.getUpper() - 1); in foldAndOrOfICmpsUsingRanges()
1272 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in foldAndOrOfICmpsUsingRanges()
1274 CR1Size != CR2.getUpper() - CR2.getLower()) in foldAndOrOfICmpsUsingRanges()
H A DInstCombineCompares.cpp2989 const APInt &Upper = CR.getUpper(); in foldICmpAddConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp694 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
6708 const uint64_t UpperBound = CR.getUpper().getLimitedValue(); in SwitchToLookupTable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3876 assert(Range.getUpper().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
3878 emitSignedInt64(Record, *Range.getUpper().getRawData()); in writeFunctionTypeMetadataRecords()