Home
last modified time | relevance | path

Searched refs:ult (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp267 return getUnsignedMax().ult(Other.getUnsignedMin()); in icmp()
455 return (Upper - Lower).ult(Other.Upper - Other.Lower); in isSizeStrictlySmallerThan()
522 return Lower.ule(V) && V.ult(Upper); in contains()
523 return Lower.ule(V) || V.ult(Upper); in contains()
604 if (Lower.ult(CR.Lower)) { in intersectWith()
612 if (Upper.ult(CR.Upper)) in intersectWith()
621 if (Upper.ult(CR.Upper)) in intersectWith()
626 if (Lower.ult(CR.Upper)) in intersectWith()
635 if (CR.Lower.ult(Upper)) { in intersectWith()
638 if (CR.Upper.ult(Upper)) in intersectWith()
[all …]
H A DConstantFold.cpp396 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction()
832 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction()
836 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction()
840 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDivisionByConstantInfo.cpp57 } while (Q1.ult(Delta) || (Q1 == Delta && R1.isZero())); in get()
133 (Q1.ult(Delta) || (Q1 == Delta && R1.isZero()))); in get()
H A DAPFixedPoint.cpp107 else if (ThisVal.ult(OtherVal)) in compare()
114 else if (ThisVal.ult(OtherVal)) in compare()
122 else if (ThisVal.ult(OtherVal)) in compare()
H A DAPInt.cpp1263 if (this->ult(square)) in sqrt()
1268 if (offset.ult(midpoint)) in sqrt()
1595 if (lhsWords < rhsWords || this->ult(RHS)) in udiv()
1628 if (this->ult(RHS)) in udiv()
1688 if (lhsWords < rhsWords || this->ult(RHS)) in urem()
1720 if (this->ult(RHS)) in urem()
1791 if (lhsWords < rhsWords || LHS.ult(RHS)) { in udivrem()
1858 if (LHS.ult(RHS)) { in udivrem()
1937 Overflow = Res.ult(RHS); in uadd_ov()
1982 if (Res.ult(RHS)) in umul_ov()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp528 Check(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitLShr()
535 Check(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitAShr()
542 Check(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitShl()
628 Check(EC.isScalable() || CI->getValue().ult(EC.getFixedValue()), in visitExtractElementInst()
637 Check(EC.isScalable() || CI->getValue().ult(EC.getFixedValue()), in visitInsertElementInst()
H A DBasicAliasAnalysis.cpp1189 if (Off.ult(LSize)) { in aliasGEP()
1881 if (DestGEP.Offset.ult(SrcGEP.Offset)) in subtractDecomposedGEPs()
1908 if (Dest.Scale.ult(Src.Scale)) in subtractDecomposedGEPs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp465 AddC->isNegative() && (-*AddC).ult(BitWidth)) { in commonShiftTransforms()
565 if (InnerShiftConst->ugt(OuterShAmt) && InnerShiftConst->ult(TypeWidth)) { in canEvaluateShiftedShift()
1083 C1->ult(BitWidth)) { in visitShl()
1108 C1->ult(BitWidth)) { in visitShl()
1382 if (match(Op0, m_Shl(m_Value(X), m_APInt(C1))) && C1->ult(BitWidth)) { in visitLShr()
1383 if (C1->ult(ShAmtC)) { in visitLShr()
1725 if (match(Op1, m_APInt(ShAmtAPInt)) && ShAmtAPInt->ult(BitWidth)) { in visitAShr()
1740 ShOp1->ult(BitWidth)) { in visitAShr()
1759 ShOp1->ult(BitWidth)) { in visitAShr()
H A DInstCombineSimplifyDemanded.cpp433 if (C->ult(VTy->getScalarSizeInBits()) && in SimplifyDemandedUseBits()
637 if (I->getOperand(0) == I->getOperand(1) && DemandedMask.ult(4)) { in SimplifyDemandedUseBits()
887 if (DemandedMask.ult(*Rem)) // srem won't affect demanded bits in SimplifyDemandedUseBits()
1282 ShiftLC == ShiftRC && ShiftLC->ult(BitWidth) && in SimplifyMultipleUseDemandedBits()
H A DInstCombineAndOrXor.cpp56 assert((isSigned ? Lo.slt(Hi) : Lo.ult(Hi)) && in insertRangeTest()
1368 CR = CR1.getLower().ult(CR2.getLower()) ? CR1 : CR2; in foldAndOrOfICmpsUsingRanges()
2479 ShiftC->ult(Width)) { in visitAnd()
2491 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShiftC))) && ShiftC->ult(Width) && in visitAnd()
2616 if (KnownLShrc.getMaxValue().ult(Width)) { in visitAnd()
2938 if (LI->ult(Width) && RI->ult(Width) && (*LI + *RI) == Width) in convertOrOfShiftsToFunnelShift()
2957 return KnownL.getMaxValue().ult(Width) ? L : nullptr; in convertOrOfShiftsToFunnelShift()
3036 if (ZextHighShlAmt->ult(LowSize) || ZextHighShlAmt->ugt(Width - HighSize)) in convertOrOfShiftsToFunnelShift()
H A DInstCombineVectorOps.cpp69 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()
436 if (IID == Intrinsic::stepvector && IndexC->getValue().ult(NumElts)) { in visitExtractElementInst()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DIntegralAP.h122 return getValue().ult(RHS.getValue());
227 if (V1.ult(V2)) in compare()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1111 bool ult(const APInt &RHS) const { return compare(RHS) < 0; } in ult() function
1119 bool ult(uint64_t RHS) const { in ult() function
1221 bool uge(const APInt &RHS) const { return !ult(RHS); } in uge()
1229 bool uge(uint64_t RHS) const { return !ult(RHS); } in uge()
2259 return A.ult(B) ? A : B;
H A DAPSInt.h169 return IsUnsigned ? ult(RHS) : slt(RHS);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp209 for (APInt j(Range.getBitWidth(), 0, false); j.ult(Range); ++j) { in NewLeafBlock()
500 for (APInt I(UnsignedZero); I.ult(MaxPop - 1); ++I) in ProcessSwitchInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.cpp137 if (CR->getUnsignedMax().ult(128)) in classifyGlobalReference()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsInstrFPU.td333 def C_ULT_#NAME#_MM : MMRel, C_COND_FT<"ult", TypeStr, RC, itin>,
335 let BaseOpcode = "c.ult."#NAME;
H A DMipsInstrFPU.td310 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/include/llvm/Support/
H A DKnownBits.h458 LLVM_ABI static std::optional<bool> ult(const KnownBits &LHS,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGISel.td43 // Define pattern expansions for pointer ult/slt conditional codes
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp431 if (Score.ult(BestScore)) in getBestVariantMatchForContext()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp257 bool CanHandleRegImmOpt = ImmNode && ImmNode->getAPIntValue().ult(64); in SelectInlineAsmMemoryOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1063 return GetICmpResultCst(LHSCst->ult(*RHSCst)); in ConstantFoldICmp()
1779 return Val->Value.ult(Ty.getScalarSizeInBits()); in shiftAmountKnownInRange()
1792 if (!Val->Value.ult(Ty.getScalarSizeInBits())) in shiftAmountKnownInRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp427 if (*LeftShift && Leading == 0 && C2.ult(Trailing) && Trailing == ShAmt) { in selectSHXADDOp()
475 Cond = !*LeftShift && Leading == 32 && C2.ult(Trailing) && in selectSHXADDOp()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/
H A DFlattenCFG.cpp376 .ult(llvm::APInt(32, kSmallRangeThreshold))) { in matchAndRewrite()

1234