Home
last modified time | relevance | path

Searched refs:getLower (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRangeList.cpp18 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()
57 return a.getLower().slt(b.getLower()); in insert()
66 if (!Ranges.empty() && NewRange.getLower().sle(Ranges.back().getUpper())) { in insert()
67 APInt NewLower = Ranges.back().getLower(); in insert()
75 if (Ranges.back().getUpper().slt(Iter->getLower())) { in insert()
[all …]
H A DConstantRange.cpp122 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
228 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
230 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
235 RHS = getLower(); in getEquivalentICmp()
238 RHS = getUpper() - getLower(); in getEquivalentICmp()
239 Offset = -getLower(); in getEquivalentICmp()
502 return getLower(); in getUnsignedMin()
514 return getLower(); in getSignedMin()
534 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
539 Lower.ule(Other.getLower()); in contains()
[all …]
H A DConstantFPRange.cpp146 APFloat Lower = CR.getLower(); in extendZeroIfEqual()
159 return ConstantFPRange(CR.getLower(), CR.getUpper(), in setNaNField()
215 extendZeroIfEqual(makeGreaterThan(Other.getLower(), Pred), Pred), Pred); in makeAllowedFCmpRegion()
256 extendZeroIfEqual(makeLessThan(Other.getLower(), Pred), Pred), Pred); in makeSatisfyingFCmpRegion()
H A DAttributeImpl.h136 CR.getLower().Profile(ID); in Profile()
145 CR.getLower().Profile(ID); in Profile()
H A DMetadata.cpp1270 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
1288 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
1408 ConstantInt::get(A->getContext(), CR.getLower()))); in getMostGenericNoaliasAddrspace()
H A DAttributes.cpp179 CR.getLower().Profile(ID); in get()
206 CR.getLower().Profile(ID); in get()
687 OS << CR.getLower() << ", " << CR.getUpper(); in getAsString()
H A DVerifier.cpp3739 " out of range [" + Twine(CR.getLower().getSExtValue()) + in visitCallBase()
4267 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
4315 Check(LowV.sgt(LastRange.getLower()), "Intervals are not in order", in verifyRangeLikeMetadata()
H A DAsmWriter.cpp1489 Out << " inrange(" << InRange->getLower() << ", " << InRange->getUpper() in WriteOptimizationInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp88 if (SrcInRange.getLower().uge(SL->getSizeInBytes())) in splitGlobal()
92 SL->getElementContainingOffset(SrcInRange.getLower().getZExtValue()); in splitGlobal()
99 if (SrcInRange.getLower() != MemberStart || in splitGlobal()
H A DFunctionAttrs.cpp754 AccessRanges.insert(ConstantRange(CR.getLower() + *ArgUse.Offset, in getArgumentAccessInfo()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp125 << Val.getConstantRange(true).getLower() << ", " in operator <<()
129 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
H A DStackSafetyAnalysis.cpp404 const SCEV *Min = ToDiffTy(SE.getConstant(Size.getLower())); in isSafeAccess()
H A DScalarEvolution.cpp7010 APInt StartLower = StartRange.getLower(); in getRangeForAffineARHelper()
10451 APInt Lower = Range.getLower().sext(A.getBitWidth()) - 1; in SolveQuadraticAddRecRange()
13538 APInt End = A.sge(1) ? (Range.getUpper() - 1) : Range.getLower(); in getNumIterationsInRange()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVRange.h72 LVAddress getLower() const { return Lower; } in getLower() function
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFPRange.h139 const APFloat &getLower() const { return Lower; } in getLower() function
H A DConstantRange.h209 const APInt &getLower() const { return Lower; } in getLower() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp854 unsigned Lower = getAssumed().getLower().getZExtValue(); in emitAttributeIfNotDefaultAfterClamp()
881 OS << getAssumed().getLower() << ',' << getAssumed().getUpper() - 1; in getAsStr()
1148 unsigned Min = std::max(Assumed.getLower().getZExtValue(), in updateImpl()
1149 CallerAA->getAssumed().getLower().getZExtValue()); in updateImpl()
H A DAMDGPULowerKernelArguments.cpp185 MDB.createRange(Range.getLower(), Range.getUpper())); in lowerKernelArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp88 if (int Res = cmpAPInts(L.getLower(), R.getLower())) in cmpConstantRanges()
H A DSimplifyCFG.cpp720 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1361 APInt LowerDiff = CR1.getLower() ^ CR2.getLower(); in foldAndOrOfICmpsUsingRanges()
1363 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in foldAndOrOfICmpsUsingRanges()
1365 CR1Size != CR2.getUpper() - CR2.getLower()) in foldAndOrOfICmpsUsingRanges()
1368 CR = CR1.getLower().ult(CR2.getLower()) ? CR1 : CR2; in foldAndOrOfICmpsUsingRanges()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp1130 CompileUnit->addObject(ScopesWithRanges->getLower(), in processModule()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp985 Record.push_back(CR.getLower().getActiveWords() | in emitConstantRange()
987 emitWideAPInt(Record, CR.getLower()); in emitConstantRange()
990 emitSignedInt64(Record, CR.getLower().getSExtValue()); in emitConstantRange()
4278 assert(Range.getLower().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
4280 emitSignedInt64(Record, *Range.getLower().getRawData()); in writeFunctionTypeMetadataRecords()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp7420 LowerDiff = CR1.getLower() ^ CR2.getLower(); in tryFoldAndOrOrICmpsUsingRanges()
7422 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in tryFoldAndOrOrICmpsUsingRanges()
7424 CR1Size != CR2.getUpper() - CR2.getLower()) in tryFoldAndOrOrICmpsUsingRanges()
7427 CR = CR1.getLower().ult(CR2.getLower()) ? CR1 : CR2; in tryFoldAndOrOrICmpsUsingRanges()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp2421 int64_t Start = Range.getLower().getSExtValue(); in getInitializesArgMemLoc()

12