/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 256 return getUnsignedMax().ult(Other.getUnsignedMin()); in icmp() 444 return (Upper - Lower).ult(Other.Upper - Other.Lower); in isSizeStrictlySmallerThan() 511 return Lower.ule(V) && V.ult(Upper); in contains() 512 return Lower.ule(V) || V.ult(Upper); in contains() 593 if (Lower.ult(CR.Lower)) { in intersectWith() 601 if (Upper.ult(CR.Upper)) in intersectWith() 610 if (Upper.ult(CR.Upper)) in intersectWith() 615 if (Lower.ult(CR.Upper)) in intersectWith() 624 if (CR.Lower.ult(Upper)) { in intersectWith() 627 if (CR.Upper.ult(Upper)) in intersectWith() [all …]
|
H A D | ConstantFold.cpp | 401 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction() 843 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction() 847 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction() 851 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DivisionByConstantInfo.cpp | 57 } while (Q1.ult(Delta) || (Q1 == Delta && R1.isZero())); in get() 133 (Q1.ult(Delta) || (Q1 == Delta && R1.isZero()))); in get()
|
H A D | APFixedPoint.cpp | 97 else if (ThisVal.ult(OtherVal)) in compare() 104 else if (ThisVal.ult(OtherVal)) in compare() 112 else if (ThisVal.ult(OtherVal)) in compare()
|
H A D | APInt.cpp | 1233 if (this->ult(square)) in sqrt() 1238 if (offset.ult(midpoint)) in sqrt() 1565 if (lhsWords < rhsWords || this->ult(RHS)) in udiv() 1598 if (this->ult(RHS)) in udiv() 1658 if (lhsWords < rhsWords || this->ult(RHS)) in urem() 1690 if (this->ult(RHS)) in urem() 1761 if (lhsWords < rhsWords || LHS.ult(RHS)) { in udivrem() 1828 if (LHS.ult(RHS)) { in udivrem() 1907 Overflow = Res.ult(RHS); in uadd_ov() 1952 if (Res.ult(RHS)) in umul_ov()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | IntegralAP.h | 87 return V.ult(RHS.V); 88 return V.ult(RHS.V); 180 if (V.ult(RHS.V)) in compare()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Lint.cpp | 494 Check(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitLShr() 501 Check(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitAShr() 508 Check(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitShl() 595 CI->getValue().ult( in visitExtractElementInst() 603 Check(CI->getValue().ult( in visitInsertElementInst()
|
H A D | ValueTracking.cpp | 892 (Known.getMaxValue().ult(Known.getBitWidth()) && in computeKnownBitsFromShiftOperator() 1912 if (CIdx && CIdx->getValue().ult(NumElts)) { in computeKnownBitsFromOperator() 1945 if (CIdx && CIdx->getValue().ult(NumElts)) in computeKnownBitsFromOperator() 2984 if (CIdx && CIdx->getValue().ult(NumElts)) { in isKnownNonZeroFromOperator() 3003 if (CIdx && CIdx->getValue().ult(NumElts)) in isKnownNonZeroFromOperator() 5763 if (CIdx && CIdx->getValue().ult(NumElts)) in computeKnownFPClass() 5782 if (CIdx && CIdx->getValue().ult(NumElts)) { in computeKnownFPClass() 7228 return CI && CI->getValue().ult(C->getType()->getIntegerBitWidth()); in shiftAmountKnownInRange() 8156 C1->ult(*C2) && Pred == CmpInst::ICMP_ULT) in matchClamp() 9370 if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) { in setLimitsForBinOp() [all …]
|
H A D | Loads.cpp | 576 if ((Len->getValue() * 8).ult(LoadSize)) in getAvailableLoadStore()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 464 AddC->isNegative() && (-*AddC).ult(BitWidth)) { in commonShiftTransforms() 549 if (InnerShiftConst->ugt(OuterShAmt) && InnerShiftConst->ult(TypeWidth)) { in canEvaluateShiftedShift() 1061 C1->ult(BitWidth)) { in visitShl() 1086 C1->ult(BitWidth)) { in visitShl() 1360 if (match(Op0, m_Shl(m_Value(X), m_APInt(C1))) && C1->ult(BitWidth)) { in visitLShr() 1361 if (C1->ult(ShAmtC)) { in visitLShr() 1682 if (match(Op1, m_APInt(ShAmtAPInt)) && ShAmtAPInt->ult(BitWidth)) { in visitAShr() 1697 ShOp1->ult(BitWidth)) { in visitAShr() 1716 ShOp1->ult(BitWidth)) { in visitAShr()
|
H A D | InstCombineSimplifyDemanded.cpp | 427 if (C->ult(VTy->getScalarSizeInBits()) && in SimplifyDemandedUseBits() 622 if (I->getOperand(0) == I->getOperand(1) && DemandedMask.ult(4)) { in SimplifyDemandedUseBits() 869 if (DemandedMask.ult(RA)) // srem won't affect demanded bits in SimplifyDemandedUseBits() 1278 ShiftLC == ShiftRC && ShiftLC->ult(BitWidth) && in SimplifyMultipleUseDemandedBits()
|
H A D | InstCombineAndOrXor.cpp | 55 assert((isSigned ? Lo.slt(Hi) : Lo.ult(Hi)) && in insertRangeTest() 1320 CR = CR1.getLower().ult(CR2.getLower()) ? CR1 : CR2; in foldAndOrOfICmpsUsingRanges() 2402 ShiftC->ult(Width)) { in visitAnd() 2414 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShiftC))) && ShiftC->ult(Width) && in visitAnd() 2539 if (KnownLShrc.getMaxValue().ult(Width)) { in visitAnd() 2891 if (LI->ult(Width) && RI->ult(Width) && (*LI + *RI) == Width) in convertOrOfShiftsToFunnelShift() 2910 return KnownL.getMaxValue().ult(Width) ? L : nullptr; in convertOrOfShiftsToFunnelShift() 2989 if (ZextHighShlAmt->ult(LowSize) || ZextHighShlAmt->ugt(Width - HighSize)) in convertOrOfShiftsToFunnelShift()
|
H A D | InstCombineVectorOps.cpp | 69 return CEI->getValue().ult(EC.getKnownMinValue()); in cheapToScalarize() 334 if (EEIIndexC && EEIIndexC->getValue().ult(VWidth)) { in findDemandedEltsBySingleUser() 430 HasKnownValidIndex = IndexC->getValue().ult(NumElts); in visitExtractElementInst() 437 IndexC->getValue().ult(NumElts)) { in visitExtractElementInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APInt.h | 1091 bool ult(const APInt &RHS) const { return compare(RHS) < 0; } in ult() function 1099 bool ult(uint64_t RHS) const { in ult() function 1201 bool uge(const APInt &RHS) const { return !ult(RHS); } in uge() 1209 bool uge(uint64_t RHS) const { return !ult(RHS); } in uge() 2208 return A.ult(B) ? A : B;
|
H A D | APSInt.h | 168 return IsUnsigned ? ult(RHS) : slt(RHS);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 211 for (APInt j(Range.getBitWidth(), 0, false); j.ult(Range); ++j) { in NewLeafBlock() 502 for (APInt I(UnsignedZero); I.ult(MaxPop - 1); ++I) in ProcessSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86Subtarget.cpp | 137 if (CR->getUnsignedMax().ult(128)) in classifyGlobalReference()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 427 static std::optional<bool> ult(const KnownBits &LHS, const KnownBits &RHS);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MicroMipsInstrFPU.td | 333 def C_ULT_#NAME#_MM : MMRel, C_COND_FT<"ult", TypeStr, RC, itin>, 335 let BaseOpcode = "c.ult."#NAME;
|
H A D | MipsInstrFPU.td | 310 def C_ULT_#NAME : MMRel, C_COND_FT<"ult", TypeStr, RC, itin>, 312 let BaseOpcode = "c.ult."#NAME; 877 def : MipsInstAlias<!strconcat("c.ult.", TypeStr, " $fs, $ft"),
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPContext.cpp | 357 if (Score.ult(BestScore)) in getBestVariantMatchForContext()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1045 return APInt(/*numBits=*/1, LHSCst->ult(*RHSCst)); in ConstantFoldICmp() 1754 return Val->Value.ult(Ty.getScalarSizeInBits()); in shiftAmountKnownInRange() 1767 if (!Val->Value.ult(Ty.getScalarSizeInBits())) in shiftAmountKnownInRange()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRISelDAGToDAG.cpp | 257 bool CanHandleRegImmOpt = ImmNode && ImmNode->getAPIntValue().ult(64); in SelectInlineAsmMemoryOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 277 if (*LeftShift && Leading == 0 && C2.ult(Trailing) && Trailing == ShAmt) { in selectSHXADDOp() 325 Cond = !*LeftShift && Leading == 32 && C2.ult(Trailing) && in selectSHXADDOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstantHoisting.cpp | 680 return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue()); in findBaseConstants()
|