Home
last modified time | relevance | path

Searched refs:uge (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDivisionByConstantInfo.cpp44 if (R1.uge(ANC)) { // must be unsigned comparison in get()
50 if (R2.uge(AD)) { // must be unsigned comparison in get()
98 if (R1.uge(NC - R1)) { in get()
109 if ((R2 + 1).uge(D - R2)) { in get()
110 if (Q2.uge(SignedMax)) in get()
120 if (Q2.uge(SignedMin)) in get()
H A DKnownBits.cpp192 if (LHS.getMinValue().uge(RHS.getMaxValue())) in umax()
194 if (RHS.getMinValue().uge(LHS.getMaxValue())) in umax()
231 if (LHS.getMinValue().uge(RHS.getMaxValue())) in abdu()
234 if (RHS.getMinValue().uge(LHS.getMaxValue())) in abdu()
512 std::optional<bool> KnownBits::uge(const KnownBits &LHS, const KnownBits &RHS) { in uge() function in KnownBits
523 return uge(RHS, LHS); in ule()
981 if (Exact || (-LHS.getSignedMaxValue()).uge(RHS.getSignedMaxValue())) { in sdiv()
988 if (Exact || LHS.getSignedMinValue().uge(-RHS.getSignedMinValue())) { in sdiv()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp85 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax())) in alias()
100 (-ASizeInt).uge(SE.getUnsignedRange(AB).getUnsignedMax())) in alias()
H A DBasicAliasAnalysis.cpp1210 if (!Overflow && Off.uge(UpperRange)) in aliasGEP()
1241 Scale.abs().uge(VLeftSize.getValue().getKnownMinValue())) in aliasGEP()
1257 !V2Size.isScalable() && DecompGEP1.Offset.uge(V2Size.getValue())) in aliasGEP()
1316 if (ModOffset.uge(V2Size.getValue()) && in aliasGEP()
1317 (GCD - ModOffset).uge(V1Size.getValue())) in aliasGEP()
1383 if (OffsetLo.isNegative() && (-OffsetLo).uge(V1Size.getValue()) && in aliasGEP()
1384 OffsetHi.isNonNegative() && OffsetHi.uge(V2Size.getValue())) in aliasGEP()
1980 return MinDiffBytes.uge(V1Size + GEP.Offset.abs()) && in constantOffsetHeuristic()
1981 MinDiffBytes.uge(V2Size + GEP.Offset.abs()); in constantOffsetHeuristic()
H A DLoads.cpp183 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp93 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
98 .uge(NeededSizeRange.getUnsignedMax()) in getBoundsCheckCond()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelperVectorOps.cpp81 IndexC->uge(VectorTy.getNumElements()) && in matchExtractVectorElement()
356 if (MaybeIndex && MaybeIndex->Value.uge(DstTy.getNumElements()) && in matchInsertVectorElementOOB()
H A DUtils.cpp1061 return GetICmpResultCst(LHSCst->uge(*RHSCst)); in ConstantFoldICmp()
1876 return Index->Value.uge(VecTy.getElementCount().getKnownMinValue()); in canCreateUndefOrPoison()
1888 return Index->Value.uge(VecTy.getElementCount().getKnownMinValue()); in canCreateUndefOrPoison()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp88 if (SrcInRange.getLower().uge(SL->getSizeInBytes())) in splitGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp137 if (!Index || Index->uge(Agg->Elements.size()) || in read()
181 if (!Index || Index->uge(Agg->Elements.size()) || in write()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1221 bool uge(const APInt &RHS) const { return !ult(RHS); } in uge() function
1229 bool uge(uint64_t RHS) const { return !ult(RHS); } in uge() function
2274 return A.uge(B) ? (A - B) : (B - A);
H A DAPSInt.h181 return IsUnsigned ? uge(RHS) : sge(RHS);
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DIntegralAP.h117 return getValue().uge(RHS);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h454 LLVM_ABI static std::optional<bool> uge(const KnownBits &LHS,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h257 bool uge(uint64_t Num) const { return Val.uge(Num); } in uge() function
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp225 if (!CI->uge(getAggregateNumElements(Cur[0]->getType()))) in validExtractValueIndex()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp340 assert(UserScore.uge(0) && "Expect non-negative user scores!"); in getVariantMatchScore()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp359 if (CIdx->uge(ValFVTy->getNumElements())) in ConstantFoldExtractElementInstruction()
426 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
H A DConstantRange.cpp273 return getUnsignedMin().uge(Other.getUnsignedMax()); in icmp()
730 if (CR.Upper.ule(Upper) || CR.Lower.uge(Lower)) in unionWith()
1657 if (RHS->uge(BW)) in shl()
H A DInstructions.cpp1832 return !CI->uge(V1Size * 2); in isValidOperands()
1837 if (CI->uge(V1Size*2)) in isValidOperands()
3819 return LHS.uge(RHS); in compare()
3887 return KnownBits::uge(LHS, RHS); in compare()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DConstant.h227 bool uge(uint64_t Num) const { in uge() function
228 return cast<llvm::ConstantInt>(Val)->uge(Num); in uge()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp44 return MaximalRepresentableShiftAmount.uge(MaximalPossibleTotalShiftAmount); in canTryToConstantAddTwoShiftAmounts()
825 assert(!Op1C->uge(TypeBits) && in FoldShiftByConstant()
1507 (TruncSrc->hasOneUse() || C1->uge(SrcWidth - BitWidth))) { in visitLShr()
H A DInstCombineSimplifyDemanded.cpp1331 if (ShlOp1.uge(BitWidth) || ShrOp1.uge(BitWidth)) in simplifyShrShlDemandedBits()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp459 if (StrictFlexArraysLevel == FAMKind::ZeroOrIncomplete && Size.uge(1)) in isFlexibleArrayMemberLike()
462 if (StrictFlexArraysLevel == FAMKind::OneZeroOrIncomplete && Size.uge(2)) in isFlexibleArrayMemberLike()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp218 if (KnownAmtBits.getMinValue().uge(BitWidth)) { in simplifyX86immShift()
272 if (Count.uge(BitWidth)) { in simplifyX86immShift()
385 if (ShiftVal.uge(BitWidth)) { in simplifyX86varShift()
673 if (!ArgImm || ArgImm->getValue().uge(256)) in simplifyTernarylogic()

123