Home
last modified time | relevance | path

Searched refs:ule (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp456 return Lower.ule(V) || V.ult(Upper); in contains()
467 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
472 Lower.ule(Other.getLower()); in contains()
474 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
540 if (Upper.ule(CR.Lower)) in intersectWith()
576 if (CR.Upper.ule(Lower)) in intersectWith()
586 if (CR.Upper.ule(Lower)) in intersectWith()
614 if (CR.Upper.ule(Lower)) { in intersectWith()
668 if (CR.Lower.ule(Upper) && Lower.ule(CR.Upper)) in unionWith()
694 if (CR.Lower.ule(Upper) || Lower.ule(CR.Upper)) in unionWith()
[all …]
H A DConstantFold.cpp173 if (ShAmt.ule(ByteStart)) in ExtractConstantBytes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp71 ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias()
86 BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
H A DBasicAliasAnalysis.cpp1154 if (VRightSize.hasValue() && Off.ule(INT32_MAX) && in aliasGEP()
1155 (Off + VRightSize.getValue()).ule(LSize)) { in aliasGEP()
1252 return Var.Scale.ule( in aliasGEP()
H A DInstructionSimplify.cpp2378 C->ule(X->getType()->getScalarSizeInBits())) { in simplifyOrInst()
3206 C1->ule(*C2)) || in simplifyICmpWithBinOpOnLHS()
3208 C1->ule(APInt(C2->getBitWidth(), 1) << *C2)) || in simplifyICmpWithBinOpOnLHS()
3210 (APInt(C1->getBitWidth(), 1) << *C1).ule(*C2))) { in simplifyICmpWithBinOpOnLHS()
H A DScalarEvolution.cpp2675 ConstAdd.ule(C1)) { in getAddExpr()
2684 ConstAdd.abs().ule(C1.abs())) { in getAddExpr()
6152 if (isa<SCEVConstant>(C) && cast<SCEVConstant>(C)->getAPInt().ule(1)) in createNodeForSelectOrPHIInstWithICmpInstCond()
11263 if (MatchBinaryAddToConst(RHS, LHS, C2, C1, SCEV::FlagNUW) && C1.ule(C2)) in isKnownPredicateViaNoOverflow()
12761 return getUnsignedRangeMax(applyLoopGuards(RHS, L)).ule(Limit); in howManyLessThans()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1122 bool ule(const APInt &RHS) const { return compare(RHS) <= 0; } in ule() function
1130 bool ule(uint64_t RHS) const { return !ugt(RHS); } in ule() function
1154 bool ugt(const APInt &RHS) const { return !ule(RHS); } in ugt()
H A DAPSInt.h176 return IsUnsigned ? ule(RHS) : sle(RHS);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h420 static std::optional<bool> ule(const KnownBits &LHS, const KnownBits &RHS);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsInstrFPU.td341 def C_ULE_#NAME#_MM : MMRel, C_COND_FT<"ule", TypeStr, RC, itin>,
343 let BaseOpcode = "c.ule."#NAME;
H A DMipsInstrFPU.td318 def C_ULE_#NAME : MMRel, C_COND_FT<"ule", TypeStr, RC, itin>,
320 let BaseOpcode = "c.ule."#NAME;
883 def : MipsInstAlias<!strconcat("c.ule.", TypeStr, " $fs, $ft"),
H A DMips32r6InstrInfo.td263 CMP_CONDN_DESC_BASE<"ule", Typestr, FGROpnd, Itin,
265 MipsR6Arch<!strconcat("cmp.ule.", Typestr)>,
H A DMicroMips32r6InstrInfo.td976 !strconcat("cmp.ule.", Typestr), format, FIELD_CMP_COND_ULE>,
977 CMP_CONDN_DESC_BASE<"ule", Typestr, FGROpnd, Itin, setule>, HARDFLOAT,
H A DMipsSEISelLowering.cpp760 if ((Val - Floor).ule(Ceil - Val)) { in shouldTransformMulToShiftsAddsSubs()
808 if ((C - Floor).ule(Ceil - C)) { in genConstMult()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp381 if (LHS.getMaxValue().ule(RHS.getMinValue())) in ugt()
399 std::optional<bool> KnownBits::ule(const KnownBits &LHS, const KnownBits &RHS) { in ule() function in KnownBits
H A DAPInt.cpp1212 if (i >= nbits || this->ule(testy)) { in sqrt()
1220 if (x_old.ule(x_new)) in sqrt()
1235 assert(this->ule(nextSquare) && "Error in APInt::sqrt computation"); in sqrt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp692 KEYWORD(sge); KEYWORD(ult); KEYWORD(ugt); KEYWORD(ule); KEYWORD(uge); in LexIdentifier()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3875 if (Pred == ICmpInst::ICMP_ULT && C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
3897 if (Pred == ICmpInst::ICMP_ULT && C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
4329 if (NewShAmtSplat && NewShAmtSplat->getUniqueInteger().ule(MinLeadZero)) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4343 if (AdjNewShAmt.ule(MinLeadZero)) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4785 A, C3, "", Op0HasNUW && Diff.ule(*AP1), Op0HasNSW); in foldICmpBinOp()
4791 C, C3, "", Op1HasNUW && Diff.ule(*AP2), Op1HasNSW); in foldICmpBinOp()
6297 if (Op0Max.ule(Op1Min)) // A >u B -> false if max(A) <= max(B) in foldICmpUsingKnownBits()
6344 if (Op0Max.ule(Op1Min)) // A <=u B -> true if max(A) <= min(B) in foldICmpUsingKnownBits()
H A DInstCombineSimplifyDemanded.cpp431 C->ule(DemandedMask.countl_zero())) { in SimplifyDemandedUseBits()
H A DInstCombineMulDivRem.cpp1238 if (match(A, m_APInt(C1)) && match(B, m_APInt(C2)) && C2->ule(*C1)) in commonIDivTransforms()
H A DInstCombineAndOrXor.cpp1086 Shift->ule(NumOriginalBits - NumExtractedBits)) in matchIntPart()
2893 ZextLowShlAmt->ule(Width - LowSize) && "Invalid concat"); in matchFunnelShift()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp1128 if (!LRange.getUnsignedMax().ule(RHS->getValue())) in processAnd()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp280 IMPLEMENT_INTEGER_ICMP(ule,Ty); in executeICMP_ULE()
281 IMPLEMENT_VECTOR_INTEGER_ICMP(ule,Ty); in executeICMP_ULE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrAliases.td375 defm : fp_cond_alias<"ule", 0b1110>;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h835 if (CV->getValue().ule(UINT64_MAX)) { in match()

12