Home
last modified time | relevance | path

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

/src/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()
44 if (empty() || Ranges.back().getUpper().slt(NewRange.getLower())) { in insert()
48 if (NewRange.getUpper().slt(Ranges.front().getLower())) { in insert()
55 return a.getLower().slt(b.getLower()); in insert()
64 if (!Ranges.empty() && NewRange.getLower().sle(Ranges.back().getUpper())) { in insert()
65 APInt NewLower = Ranges.back().getLower(); in insert()
73 if (Ranges.back().getUpper().slt(Iter->getLower())) { in insert()
[all …]
H A DConstantRange.cpp110 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
217 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
219 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
224 RHS = getLower(); in getEquivalentICmp()
227 RHS = getUpper() - getLower(); in getEquivalentICmp()
228 Offset = -getLower(); in getEquivalentICmp()
491 return getLower(); in getUnsignedMin()
503 return getLower(); in getSignedMin()
523 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
528 Lower.ule(Other.getLower()); in contains()
[all …]
H A DAttributeImpl.h133 CR.getLower().Profile(ID); in Profile()
142 CR.getLower().Profile(ID); in Profile()
H A DMetadata.cpp1242 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
1260 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
H A DAttributes.cpp177 CR.getLower().Profile(ID); in get()
204 CR.getLower().Profile(ID); in get()
662 OS << CR.getLower() << ", " << CR.getUpper(); in getAsString()
H A DVerifier.cpp4125 return A.getUpper() == B.getLower() || A.getLower() == B.getUpper(); in isContiguous()
4163 Check(LowV.sgt(LastRange.getLower()), "Intervals are not in order", in verifyRangeMetadata()
H A DAsmWriter.cpp1428 Out << " inrange(" << InRange->getLower() << ", " << InRange->getUpper() in WriteOptimizationInfo()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp68 << Val.getConstantRange(true).getLower() << ", " in operator <<()
72 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.cpp7000 APInt StartLower = StartRange.getLower(); in getRangeForAffineARHelper()
10379 APInt Lower = Range.getLower().sext(A.getBitWidth()) - 1; 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 DGlobalSplit.cpp89 if (SrcInRange.getLower().uge(SL->getSizeInBytes())) in splitGlobal()
93 SL->getElementContainingOffset(SrcInRange.getLower().getZExtValue()); in splitGlobal()
100 if (SrcInRange.getLower() != MemberStart || in splitGlobal()
H A DAttributorAttributes.cpp9109 Ty, AssumedConstantRange.getLower())), in getMDNodeForConstantRange()
/src/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()
836 *F, {AssumedGroupSize->getAssumed().getLower().getZExtValue(), in initialize()
867 {CallerInfo->getAssumed().getLower().getZExtValue(), in updateImpl()
869 {AssumedGroupSize->getAssumed().getLower().getZExtValue(), in updateImpl()
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVRange.h71 LVAddress getLower() const { return Lower; } in getLower() function
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp153 if (int Res = cmpAPInts(LCR.getLower(), RCR.getLower())) in cmpAttrs()
445 if (int Res = cmpAPInts(InRangeL->getLower(), InRangeR->getLower())) in cmpConstants()
H A DSimplifyCFG.cpp695 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) in matchInstruction()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h203 const APInt &getLower() const { return Lower; } in getLower() function
/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1313 APInt LowerDiff = CR1.getLower() ^ CR2.getLower(); in foldAndOrOfICmpsUsingRanges()
1315 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in foldAndOrOfICmpsUsingRanges()
1317 CR1Size != CR2.getUpper() - CR2.getLower()) in foldAndOrOfICmpsUsingRanges()
1320 CR = CR1.getLower().ult(CR2.getLower()) ? CR1 : CR2; in foldAndOrOfICmpsUsingRanges()
H A DInstCombineCompares.cpp3081 const APInt &Lower = CR.getLower(); in foldICmpAddConstant()
/src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp1136 CompileUnit->addObject(ScopesWithRanges->getLower(), in processModule()
/src/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp924 Record.push_back(CR.getLower().getActiveWords() | in emitConstantRange()
926 emitWideAPInt(Record, CR.getLower()); in emitConstantRange()
929 emitSignedInt64(Record, CR.getLower().getSExtValue()); in emitConstantRange()
4045 assert(Range.getLower().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
4047 emitSignedInt64(Record, *Range.getLower().getRawData()); in writeFunctionTypeMetadataRecords()
/src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp7083 LowerDiff = CR1.getLower() ^ CR2.getLower(); in tryFoldAndOrOrICmpsUsingRanges()
7085 APInt CR1Size = CR1.getUpper() - CR1.getLower(); in tryFoldAndOrOrICmpsUsingRanges()
7087 CR1Size != CR2.getUpper() - CR2.getLower()) in tryFoldAndOrOrICmpsUsingRanges()
7090 CR = CR1.getLower().ult(CR2.getLower()) ? CR1 : CR2; in tryFoldAndOrOrICmpsUsingRanges()