Home
last modified time | relevance | path

Searched refs:ugt (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp95 if (ThisVal.ugt(OtherVal)) in compare()
102 else if (ThisVal.ugt(OtherVal)) in compare()
110 else if (ThisVal.ugt(OtherVal)) in compare()
469 *Overflow = Result.isNegative() || Result.ugt(DstMax); in convertToInt()
471 *Overflow = Result.ugt(DstMax); in convertToInt()
H A DKnownBits.cpp502 std::optional<bool> KnownBits::ugt(const KnownBits &LHS, const KnownBits &RHS) { in ugt() function in KnownBits
507 if (LHS.getMinValue().ugt(RHS.getMaxValue())) in ugt()
513 if (std::optional<bool> IsUGT = ugt(RHS, LHS)) in uge()
519 return ugt(RHS, LHS); in ult()
H A DAPInt.cpp798 if (A.ugt(B)) { in GreatestCommonDivisor()
1920 Overflow = Res.ugt(*this); in usub_ov()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp260 return getUnsignedMin().ugt(Other.getUnsignedMax()); in icmp()
422 return Lower.ugt(Upper) && !Upper.isZero(); in isWrappedSet()
426 return Lower.ugt(Upper); in isUpperWrapped()
452 return MaxSize == 0 || APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1); in isSizeLargerThan()
454 return (Upper - Lower).ugt(MaxSize); in isSizeLargerThan()
708 APInt U = (CR.Upper - 1).ugt(Upper - 1) ? CR.Upper : Upper; in unionWith()
754 APInt U = CR.Upper.ugt(Upper) ? CR.Upper : Upper; in unionWith()
1492 if (MinLHS.ugt(-MinAbsRHS)) in srem()
1596 if (OtherMax.ugt(Max.countl_zero())) in shl()
1965 if (Min.ugt(~OtherMin)) in unsignedAddMayOverflow()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h72 return V.ugt(RHS.V);
182 if (V.ugt(RHS.V)) in compare()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h456 return ugt(Limit) ? Limit : getZExtValue();
1138 bool ule(uint64_t RHS) const { return !ugt(RHS); } in ule()
1162 bool ugt(const APInt &RHS) const { return !ule(RHS); } in ugt() function
1170 bool ugt(uint64_t RHS) const { in ugt() function
2213 return A.ugt(B) ? A : B;
H A DAPSInt.h172 return IsUnsigned ? ugt(RHS) : sgt(RHS);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp140 for (; LocalNumMergedCases.ugt(0) && Idx < E; ++Idx) in FixPhis()
466 if ((Pop += N).ugt(MaxPop)) { in ProcessSwitchInst()
H A DFunctionComparator.cpp80 if (L.ugt(R)) in cmpAPInts()
82 if (R.ugt(L)) in cmpAPInts()
H A DEvaluator.cpp422 if (Len.ugt(64 * 1024)) { in EvaluateBlock()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineOrder.cpp169 return LHS.ugt(RHS); in isMoreDesirable()
H A DMemoryBuiltins.cpp406 if (Size.ugt(MaxSize)) in getAllocSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h421 static std::optional<bool> ugt(const KnownBits &LHS, const KnownBits &RHS);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankCombiner.cpp212 if (OpcodeTriple.Med == AMDGPU::G_AMDGPU_UMED3 && K0->Value.ugt(K1->Value)) in matchIntMinMaxToMed3()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1656 IntOverflowOccurred |= Val.ugt(MaxVal.zext(Val.getBitWidth())); in GetFixedPointValue()
1659 IntOverflowOccurred |= Val.zext(MaxVal.getBitWidth()).ugt(MaxVal); in GetFixedPointValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp1400 if (Imm.ugt(0xffff) && ((Imm - 2).isPowerOf2() || (Imm - 4).isPowerOf2()) && in decomposeMulByConstant()
1403 if (Imm.ugt(0xffff) && (Imm - 8).isPowerOf2() && Subtarget.has2E3()) in decomposeMulByConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp370 if (OverflowConst == 0 || OverflowConst.ugt(ICmpConst)) { in isSafeWrap()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp549 if (InnerShiftConst->ugt(OuterShAmt) && InnerShiftConst->ult(TypeWidth)) { in canEvaluateShiftedShift()
1376 } else if (C1->ugt(ShAmtC)) { in visitLShr()
H A DInstCombineCompares.cpp2364 assert(C.ugt(0) && "ult 0 should have been eliminated"); in foldICmpShlConstant()
4465 assert(BitWidth.ugt(MaskedBits) && "shifts should leave some bits untouched"); in foldICmpWithTruncSignExtendedVal()
4469 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()
6573 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in foldICmpUsingKnownBits()
6624 if (Op0Min.ugt(Op1Max)) // A >u B -> true if min(A) > max(B) in foldICmpUsingKnownBits()
6675 if (Op0Min.ugt(Op1Max)) // A <=u B -> false if min(A) > max(B) in foldICmpUsingKnownBits()
7267 auto CheckUGT1 = [](const APInt &Divisor) { return Divisor.ugt(1); }; in foldICmpCommutative()
H A DInstCombineLoadStoreAlloca.cpp854 .ugt(MaxSize)) in isObjectSizeLessThanOrEq()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp699 KEYWORD(sge); KEYWORD(ult); KEYWORD(ugt); KEYWORD(ule); KEYWORD(uge); in LexIdentifier()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp908 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
H A DSeparateConstOffsetFromGEP.cpp1382 Offset.ugt(ObjectSize)) { in swapGEPOperand()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp252 IMPLEMENT_INTEGER_ICMP(ugt,Ty); in executeICMP_UGT()
253 IMPLEMENT_VECTOR_INTEGER_ICMP(ugt,Ty); in executeICMP_UGT()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp5209 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
5211 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()
5227 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
5229 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()
5247 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
5250 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()

123