| /src/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() 44 if (empty() || Ranges.back().getUpper().slt(NewRange.getLower())) { in insert() 48 if (NewRange.getUpper().slt(Ranges.front().getLower())) { in insert() 64 if (!Ranges.empty() && NewRange.getLower().sle(Ranges.back().getUpper())) { in insert() 67 APIntOps::smax(NewRange.getUpper(), Ranges.back().getUpper()); in insert() 73 if (Ranges.back().getUpper().slt(Iter->getLower())) { in insert() 78 APIntOps::smax(Iter->getUpper(), Ranges.back().getUpper()); in insert() [all …]
|
| H A D | ConstantRange.cpp | 110 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion() 220 RHS = getUpper(); in getEquivalentICmp() 221 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp() 223 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp() 227 RHS = getUpper() - getLower(); in getEquivalentICmp() 485 return getUpper() - 1; in getUnsignedMax() 497 return getUpper() - 1; in getSignedMax() 523 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains() 527 return Other.getUpper().ule(Upper) || in contains() 530 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains() [all …]
|
| H A D | AttributeImpl.h | 134 CR.getUpper().Profile(ID); in Profile() 143 CR.getUpper().Profile(ID); in Profile()
|
| H A D | Metadata.cpp | 1242 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous() 1262 cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper())); in tryMergeRange()
|
| H A D | Attributes.cpp | 178 CR.getUpper().Profile(ID); in get() 205 CR.getUpper().Profile(ID); in get() 662 OS << CR.getLower() << ", " << CR.getUpper(); in getAsString()
|
| H A D | Verifier.cpp | 4125 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
|
| H A D | AsmWriter.cpp | 1428 Out << " inrange(" << InRange->getLower() << ", " << InRange->getUpper() in WriteOptimizationInfo()
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 69 << Val.getConstantRange(true).getUpper() << ">"; in operator <<() 73 << 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 | 7001 APInt StartUpper = StartRange.getUpper() - 1; in getRangeForAffineARHelper() 10380 APInt Upper = Range.getUpper().sext(A.getBitWidth()); in SolveQuadraticAddRecRange() 13397 APInt End = A.sge(1) ? (Range.getUpper() - 1) : Range.getLower(); in getNumIterationsInRange()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 85 if (!SrcInRange.contains(Offset) && SrcInRange.getUpper() != Offset) in splitGlobal() 101 SrcInRange.getUpper() != MemberEnd) in splitGlobal()
|
| H A D | AttributorAttributes.cpp | 9111 Ty, AssumedConstantRange.getUpper()))}; in getMDNodeForConstantRange()
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 733 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()
|
| /src/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVRange.h | 72 LVAddress getUpper() const { return Upper; } in getUpper() function
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 155 if (int Res = cmpAPInts(LCR.getUpper(), RCR.getUpper())) in cmpAttrs() 447 if (int Res = cmpAPInts(InRangeL->getUpper(), InRangeR->getUpper())) in cmpConstants()
|
| H A D | SimplifyCFG.cpp | 695 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction() 6815 const uint64_t UpperBound = CR.getUpper().getLimitedValue(); in SwitchToLookupTable()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 206 const APInt &getUpper() const { return Upper; } in getUpper() function
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewReader.cpp | 1137 ScopesWithRanges->getUpper()); in processModule()
|
| /src/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 925 (uint64_t(CR.getUpper().getActiveWords()) << 32)); in emitConstantRange() 927 emitWideAPInt(Record, CR.getUpper()); in emitConstantRange() 930 emitSignedInt64(Record, CR.getUpper().getSExtValue()); in emitConstantRange() 4046 assert(Range.getUpper().getNumWords() == 1); in writeFunctionTypeMetadataRecords() 4048 emitSignedInt64(Record, *Range.getUpper().getRawData()); in writeFunctionTypeMetadataRecords()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1314 APInt UpperDiff = (CR1.getUpper() - 1) ^ (CR2.getUpper() - 1); in foldAndOrOfICmpsUsingRanges() 1315 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in foldAndOrOfICmpsUsingRanges() 1317 CR1Size != CR2.getUpper() - CR2.getLower()) in foldAndOrOfICmpsUsingRanges()
|
| H A D | InstCombineCompares.cpp | 3080 const APInt &Upper = CR.getUpper(); in foldICmpAddConstant()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 7084 APInt UpperDiff = (CR1.getUpper() - 1) ^ (CR2.getUpper() - 1); in tryFoldAndOrOrICmpsUsingRanges() 7085 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in tryFoldAndOrOrICmpsUsingRanges() 7087 CR1Size != CR2.getUpper() - CR2.getLower()) in tryFoldAndOrOrICmpsUsingRanges()
|