Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp399 return Lower.ule(V) && V.ult(Upper); in contains()
400 return Lower.ule(V) || V.ult(Upper); in contains()
411 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
416 Lower.ule(Other.getLower()); in contains()
418 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
484 if (Upper.ule(CR.Lower)) in intersectWith()
520 if (CR.Upper.ule(Lower)) in intersectWith()
530 if (CR.Upper.ule(Lower)) in intersectWith()
558 if (CR.Upper.ule(Lower)) { in intersectWith()
612 if (CR.Lower.ule(Upper) && Lower.ule(CR.Upper)) in unionWith()
[all …]
H A DConstantFold.cpp285 if (ShAmt.ule(CSize - (ByteStart + ByteSize))) in ExtractConstantBytes()
308 if (ShAmt.ule(ByteStart)) in ExtractConstantBytes()
1802 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction()
H A DVerifier.cpp4699 return isPowerOf2_64(Alignment) && ElementSizeVal.ule(Alignment); in visitIntrinsicCall()
5928 !PrevOffset || PrevOffset->ule(OffsetEntryCI->getValue()); in verifyTBAABaseNodeImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp61 ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias()
76 BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
H A DBasicAliasAnalysis.cpp1131 if (VRightSize.hasValue() && Off.ule(INT32_MAX) && in aliasGEP()
1132 (Off + VRightSize.getValue()).ule(LSize)) { in aliasGEP()
H A DInstructionSimplify.cpp2922 C1->ule(*C2)) || in simplifyICmpWithBinOpOnLHS()
2924 C1->ule(APInt(C2->getBitWidth(), 1) << *C2)) || in simplifyICmpWithBinOpOnLHS()
2926 (APInt(C1->getBitWidth(), 1) << *C1).ule(*C2))) { in simplifyICmpWithBinOpOnLHS()
5597 (IID == Intrinsic::umin && InnerC->ule(*C)))) in simplifyBinaryIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp349 if (LHS.getMaxValue().ule(RHS.getMinValue())) in ugt()
367 Optional<bool> KnownBits::ule(const KnownBits &LHS, const KnownBits &RHS) { in ule() function in KnownBits
H A DAPInt.cpp1145 if (i >= nbits || this->ule(testy)) { in sqrt()
1153 if (x_old.ule(x_new)) in sqrt()
1168 assert(this->ule(nextSquare) && "Error in APInt::sqrt computation"); in sqrt()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1243 bool ule(const APInt &RHS) const { return compare(RHS) <= 0; }
1251 bool ule(uint64_t RHS) const { return !ugt(RHS); }
1275 bool ugt(const APInt &RHS) const { return !ule(RHS); }
H A DAPSInt.h157 return IsUnsigned ? ule(RHS) : sle(RHS);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h364 static Optional<bool> ule(const KnownBits &LHS, const KnownBits &RHS);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsInstrFPU.td327 def C_ULE_#NAME#_MM : MMRel, C_COND_FT<"ule", TypeStr, RC, itin>,
329 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.td261 CMP_CONDN_DESC_BASE<"ule", Typestr, FGROpnd, Itin,
263 MipsR6Arch<!strconcat("cmp.ule.", Typestr)>,
H A DMicroMips32r6InstrInfo.td973 !strconcat("cmp.ule.", Typestr), format, FIELD_CMP_COND_ULE>,
974 CMP_CONDN_DESC_BASE<"ule", Typestr, FGROpnd, Itin, setule>, HARDFLOAT,
H A DMipsSEISelLowering.cpp768 if ((Val - Floor).ule(Ceil - Val)) { in shouldTransformMulToShiftsAddsSubs()
816 if ((C - Floor).ule(Ceil - C)) { in genConstMult()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3260 if (Pred == ICmpInst::ICMP_ULT && C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
3282 if (Pred == ICmpInst::ICMP_ULT && C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
3711 if (NewShAmtSplat && NewShAmtSplat->getUniqueInteger().ule(MinLeadZero)) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3725 if (AdjNewShAmt.ule(MinLeadZero)) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4004 bool HasNUW = BO0->hasNoUnsignedWrap() && C3->getValue().ule(AP1); in foldICmpBinOp()
4010 bool HasNUW = BO1->hasNoUnsignedWrap() && C3->getValue().ule(AP2); in foldICmpBinOp()
5304 if (Op0Max.ule(Op1Min)) // A >u B -> false if max(A) <= max(B) in foldICmpUsingKnownBits()
5351 if (Op0Max.ule(Op1Min)) // A <=u B -> true if max(A) <= min(B) in foldICmpUsingKnownBits()
H A DInstCombineSelect.cpp1622 if ((SPF1 == SPF_UMIN && CB->ule(*CC)) || in foldSPFofSPF()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp724 KEYWORD(sge); KEYWORD(ult); KEYWORD(ugt); KEYWORD(ule); KEYWORD(uge); in LexIdentifier()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp983 if (!LRange.getUnsignedMax().ule(RHS->getValue())) in processAnd()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrAliases.td307 defm : fp_cond_alias<"ule", 0b1110>;
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h609 return C.ule(*Thr); in isValue()
857 if (CV->getValue().ule(UINT64_MAX)) { in match()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp832 else if (Value.uge(1) && Value.ule(10)) in mangleBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp667 if ((Known.Zero.isNonNegative() && Known.Zero.ule(NullTermIdx)) || in optimizeStringLength()

12