| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRangeList.cpp | 18 if (Range.getLower().sge(Range.getUpper())) in isOrderedRanges() 23 if (CurRange.getLower().sge(CurRange.getUpper()) || in isOrderedRanges() 24 CurRange.getLower().sle(PreRange.getUpper())) in isOrderedRanges() 41 assert(NewRange.getLower().slt(NewRange.getUpper())); in insert() 43 if (empty() || Ranges.back().getUpper().slt(NewRange.getLower())) { in insert() 50 if (NewRange.getUpper().slt(Ranges.front().getLower())) { in insert() 66 if (!Ranges.empty() && NewRange.getLower().sle(Ranges.back().getUpper())) { in insert() 69 APIntOps::smax(NewRange.getUpper(), Ranges.back().getUpper()); in insert() 75 if (Ranges.back().getUpper().slt(Iter->getLower())) { in insert() 80 APIntOps::smax(Iter->getUpper(), Ranges.back().getUpper()); in insert() [all …]
|
| H A D | ConstantRange.cpp | 122 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion() 231 RHS = getUpper(); in getEquivalentICmp() 232 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp() 234 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp() 238 RHS = getUpper() - getLower(); in getEquivalentICmp() 496 return getUpper() - 1; in getUnsignedMax() 508 return getUpper() - 1; in getSignedMax() 534 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains() 538 return Other.getUpper().ule(Upper) || in contains() 541 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains() [all …]
|
| H A D | ConstantFPRange.cpp | 147 APFloat Upper = CR.getUpper(); in extendZeroIfEqual() 159 return ConstantFPRange(CR.getLower(), CR.getUpper(), in setNaNField() 209 extendZeroIfEqual(makeLessThan(Other.getUpper(), Pred), Pred), Pred); in makeAllowedFCmpRegion() 262 extendZeroIfEqual(makeGreaterThan(Other.getUpper(), Pred), Pred), Pred); in makeSatisfyingFCmpRegion()
|
| H A D | AttributeImpl.h | 137 CR.getUpper().Profile(ID); in Profile() 146 CR.getUpper().Profile(ID); in Profile()
|
| H A D | Metadata.cpp | 1270 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous() 1290 cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper())); in tryMergeRange() 1410 ConstantInt::get(A->getContext(), CR.getUpper()))); in getMostGenericNoaliasAddrspace()
|
| H A D | Attributes.cpp | 180 CR.getUpper().Profile(ID); in get() 207 CR.getUpper().Profile(ID); in get() 687 OS << CR.getLower() << ", " << CR.getUpper(); in getAsString()
|
| H A D | Verifier.cpp | 3740 ", " + Twine(CR.getUpper().getSExtValue()) + ")", in visitCallBase() 4267 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
|
| H A D | AsmWriter.cpp | 1489 Out << " inrange(" << InRange->getLower() << ", " << InRange->getUpper() in WriteOptimizationInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 126 << Val.getConstantRange(true).getUpper() << ">"; in operator <<() 130 << Val.getConstantRange().getUpper() << ">"; in operator <<()
|
| H A D | StackSafetyAnalysis.cpp | 213 << getStaticAllocaSizeRange(*AI).getUpper() << "]: " << AS << "\n"; in print() 358 if (!Sizes.getUpper().isStrictlyPositive() || isUnsafe(Sizes)) in getMemIntrinsicAccessRange() 361 ConstantRange SizeRange(APInt::getZero(PointerSize), Sizes.getUpper() - 1); in getMemIntrinsicAccessRange() 405 const SCEV *Max = SE.getMinusSCEV(ToDiffTy(SE.getConstant(Size.getUpper())), in isSafeAccess()
|
| H A D | ScalarEvolution.cpp | 7011 APInt StartUpper = StartRange.getUpper() - 1; in getRangeForAffineARHelper() 10452 APInt Upper = Range.getUpper().sext(A.getBitWidth()); in SolveQuadraticAddRecRange() 13538 APInt End = A.sge(1) ? (Range.getUpper() - 1) : Range.getLower(); in getNumIterationsInRange()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 84 if (!SrcInRange.contains(Offset) && SrcInRange.getUpper() != Offset) in splitGlobal() 100 SrcInRange.getUpper() != MemberEnd) in splitGlobal()
|
| H A D | FunctionAttrs.cpp | 755 CR.getUpper() + *ArgUse.Offset)); in getArgumentAccessInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVRange.h | 73 LVAddress getUpper() const { return Upper; } in getUpper() function
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantFPRange.h | 142 const APFloat &getUpper() const { return Upper; } in getUpper() function
|
| H A D | ConstantRange.h | 212 const APInt &getUpper() const { return Upper; } in getUpper() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 855 unsigned Upper = getAssumed().getUpper().getZExtValue(); in emitAttributeIfNotDefaultAfterClamp() 881 OS << getAssumed().getLower() << ',' << getAssumed().getUpper() - 1; in getAsStr() 1150 unsigned Max = std::max(Assumed.getUpper().getZExtValue(), in updateImpl() 1151 CallerAA->getAssumed().getUpper().getZExtValue()); in updateImpl()
|
| H A D | AMDGPULowerKernelArguments.cpp | 185 MDB.createRange(Range.getLower(), Range.getUpper())); in lowerKernelArguments()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 90 return cmpAPInts(L.getUpper(), R.getUpper()); in cmpConstantRanges()
|
| H A D | SimplifyCFG.cpp | 720 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction() 6993 const uint64_t UpperBound = CR.getUpper().getLimitedValue(); in switchToLookupTable()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewReader.cpp | 1131 ScopesWithRanges->getUpper()); in processModule()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 986 (uint64_t(CR.getUpper().getActiveWords()) << 32)); in emitConstantRange() 988 emitWideAPInt(Record, CR.getUpper()); in emitConstantRange() 991 emitSignedInt64(Record, CR.getUpper().getSExtValue()); in emitConstantRange() 4279 assert(Range.getUpper().getNumWords() == 1); in writeFunctionTypeMetadataRecords() 4281 emitSignedInt64(Record, *Range.getUpper().getRawData()); in writeFunctionTypeMetadataRecords()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1362 APInt UpperDiff = (CR1.getUpper() - 1) ^ (CR2.getUpper() - 1); in foldAndOrOfICmpsUsingRanges() 1363 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in foldAndOrOfICmpsUsingRanges() 1365 CR1Size != CR2.getUpper() - CR2.getLower()) in foldAndOrOfICmpsUsingRanges()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 7421 APInt UpperDiff = (CR1.getUpper() - 1) ^ (CR2.getUpper() - 1); in tryFoldAndOrOrICmpsUsingRanges() 7422 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in tryFoldAndOrOrICmpsUsingRanges() 7424 CR1Size != CR2.getUpper() - CR2.getLower()) in tryFoldAndOrOrICmpsUsingRanges()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 2422 int64_t End = Range.getUpper().getSExtValue(); in getInitializesArgMemLoc()
|