Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDConstantRange.cpp393 return Lower.ule(V) && V.ult(Upper); in contains()
394 return Lower.ule(V) || V.ult(Upper); in contains()
405 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
409 return Other.getUpper().ule(Upper) || in contains()
410 Lower.ule(Other.getLower()); in contains()
412 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
463 if (Upper.ule(CR.Lower)) in intersectWith()
499 if (CR.Upper.ule(Lower)) in intersectWith()
509 if (CR.Upper.ule(Lower)) in intersectWith()
537 if (CR.Upper.ule(Lower)) { in intersectWith()
[all …]
HDConstantFold.cpp282 if (ShAmt.ule(CSize - (ByteStart + ByteSize))) in ExtractConstantBytes()
305 if (ShAmt.ule(ByteStart)) in ExtractConstantBytes()
1899 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction()
HDVerifier.cpp4390 return isPowerOf2_64(Alignment) && ElementSizeVal.ule(Alignment); in visitIntrinsicCall()
5296 !PrevOffset || PrevOffset->ule(OffsetEntryCI->getValue()); in verifyTBAABaseNodeImpl()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDScalarEvolutionAliasAnalysis.cpp59 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) && in alias()
73 if (BSizeInt.ule(SE.getUnsignedRange(AB).getUnsignedMin()) && in alias()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
HDAPInt.h1243 bool ule(const APInt &RHS) const { return compare(RHS) <= 0; } in ule() function
1251 bool ule(uint64_t RHS) const { return !ugt(RHS); } in ule() function
1275 bool ugt(const APInt &RHS) const { return !ule(RHS); } in ugt()
HDAPSInt.h162 return IsUnsigned ? ule(RHS) : sle(RHS);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
HDMicroMipsInstrFPU.td327 def C_ULE_#NAME#_MM : MMRel, C_COND_FT<"ule", TypeStr, RC, itin>,
329 let BaseOpcode = "c.ule."#NAME;
HDMipsInstrFPU.td315 def C_ULE_#NAME : MMRel, C_COND_FT<"ule", TypeStr, RC, itin>,
317 let BaseOpcode = "c.ule."#NAME;
850 def : MipsInstAlias<!strconcat("c.ule.", TypeStr, " $fs, $ft"),
HDMips32r6InstrInfo.td261 CMP_CONDN_DESC_BASE<"ule", Typestr, FGROpnd, Itin,
263 MipsR6Arch<!strconcat("cmp.ule.", Typestr)>,
HDMicroMips32r6InstrInfo.td973 !strconcat("cmp.ule.", Typestr), format, FIELD_CMP_COND_ULE>,
974 CMP_CONDN_DESC_BASE<"ule", Typestr, FGROpnd, Itin, setule>, HARDFLOAT,
HDMipsSEISelLowering.cpp768 if ((Val - Floor).ule(Ceil - Val)) { in shouldTransformMulToShiftsAddsSubs()
816 if ((C - Floor).ule(Ceil - C)) { in genConstMult()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDAPInt.cpp1142 if (i >= nbits || this->ule(testy)) { in sqrt()
1150 if (x_old.ule(x_new)) in sqrt()
1165 assert(this->ule(nextSquare) && "Error in APInt::sqrt computation"); in sqrt()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDCorrelatedValuePropagation.cpp797 if (!LRange.getUnsignedMax().ule(RHS->getValue())) in processAnd()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp3129 C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
3152 C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
3595 if (NewShAmtSplat && NewShAmtSplat->getUniqueInteger().ule(MinLeadZero)) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3609 if (AdjNewShAmt.ule(MinLeadZero)) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
5089 if (Op0Max.ule(Op1Min)) // A >u B -> false if max(A) <= max(B) in foldICmpUsingKnownBits()
5167 if (Op0Max.ule(Op1Min)) // A <=u B -> true if max(A) <= min(B) in foldICmpUsingKnownBits()
HDInstCombineVectorOps.cpp333 if (!IndexC->getValue().ule(NumElts)) in visitExtractElementInst()
HDInstCombineSelect.cpp1581 if ((SPF1 == SPF_UMIN && CB->ule(*CC)) || in foldSPFofSPF()
HDInstructionCombining.cpp2295 if (BasePtrOffset.ule(AllocSize)) { in visitGetElementPtrInst()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
HDLLLexer.cpp710 KEYWORD(sge); KEYWORD(ult); KEYWORD(ugt); KEYWORD(ule); KEYWORD(uge); in LexIdentifier()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDPatternMatch.h500 return C.ule(*Thr); in isValue()
662 if (CV->getValue().ule(UINT64_MAX)) { in match()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAG.cpp2063 case ISD::SETULE: return getBoolConstant(C1.ule(C2), dl, VT, OpVT); in FoldSetCC()
2332 if (SubIdx && SubIdx->getAPIntValue().ule(NumSrcElts - NumElts)) { in isSplatValue()
2453 if (MinShAmt && MinShAmt->ule(ShAmt)) in getValidMinimumShiftAmountConstant()
2631 if (SubIdx && SubIdx->getAPIntValue().ule(NumElts - NumSubElts)) { in computeKnownBits()
2665 if (SubIdx && SubIdx->getAPIntValue().ule(NumSrcElts - NumElts)) { in computeKnownBits()
3923 if (SubIdx && SubIdx->getAPIntValue().ule(NumSrcElts - NumElts)) { in ComputeNumSignBits()
3955 if (SubIdx && SubIdx->getAPIntValue().ule(NumElts - NumSubElts)) { in ComputeNumSignBits()
4801 case ISD::UMIN: return C1.ule(C2) ? C1 : C2; in FoldValue()
HDTargetLowering.cpp933 if (Idx.ule(NumElts - NumSubElts)) { in SimplifyDemandedBits()
966 if (SubIdx && SubIdx->getAPIntValue().ule(NumSrcElts - NumElts)) { in SimplifyDemandedBits()
2363 if (SubIdx && SubIdx->getAPIntValue().ule(NumSrcElts - NumElts)) { in SimplifyDemandedVectorElts()
5042 bool TautologicalInvertedLane = D.ule(Cmp); in prepareUREMEqFold()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
HDSparcInstrAliases.td307 defm : fp_cond_alias<"ule", 0b1110>;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
HDExecution.cpp279 IMPLEMENT_INTEGER_ICMP(ule,Ty); in executeICMP_ULE()
280 IMPLEMENT_VECTOR_INTEGER_ICMP(ule,Ty); in executeICMP_ULE()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
HDAttributor.cpp4587 if (Size->getValue().ule(MaxHeapToStackSize)) in updateImpl()
4597 .ule(MaxHeapToStackSize)) in updateImpl()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDSimplifyLibCalls.cpp703 if ((Known.Zero.isNonNegative() && Known.Zero.ule(NullTermIdx)) || in optimizeStringLength()

12